-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapi-coverage.po
144 lines (129 loc) · 4.84 KB
/
api-coverage.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#. extracted from /home/bear/work/guile/doc/guile/en/api-coverage.texi
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-07 12:36+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Translate Toolkit 2.2.5\n"
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:5
msgid ""
"@c -*-texinfo-*-\n"
"@c This is part of the GNU Guile Reference Manual.\n"
"@c Copyright (C) 2010, 2013 Free Software Foundation, Inc.\n"
"@c See the file guile.texi for copying conditions."
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:9
msgid ""
"@node Code Coverage\n"
"@section Code Coverage Reports"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:16
msgid ""
"@cindex code coverage\n"
"@cindex coverage\n"
"When writing a test suite for a program or library, it is desirable to know "
"what\n"
"part of the code is @dfn{covered} by the test suite. The @code{(system vm\n"
"coverage)} module provides tools to gather code coverage data and to "
"present\n"
"them, as detailed below."
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:22
msgid ""
"@deffn {Scheme Procedure} with-code-coverage thunk\n"
"Run @var{thunk}, a zero-argument procedure, while instrumenting Guile's\n"
"virtual machine to collect code coverage data. Return code coverage\n"
"data and the values returned by @var{thunk}.\n"
"@end deffn"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:27
msgid ""
"@deffn {Scheme Procedure} coverage-data? obj\n"
"Return @code{#t} if @var{obj} is a @dfn{coverage data} object as returned "
"by\n"
"@code{with-code-coverage}.\n"
"@end deffn"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:34
msgid ""
"@deffn {Scheme Procedure} coverage-data->lcov data port #:key modules\n"
"Traverse code coverage information @var{data}, as obtained with\n"
"@code{with-code-coverage}, and write coverage information to port in the\n"
"@code{.info} format used by "
"@url{http://ltp.sourceforge.net/coverage/lcov.php,\n"
"LCOV}. The report will include all of @var{modules} (or, by default, all "
"the\n"
"currently loaded modules) even if their code was not executed."
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:38
msgid ""
"The generated data can be fed to LCOV's @command{genhtml} command to produce "
"an\n"
"HTML report, which aids coverage data visualization.\n"
"@end deffn"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:40
msgid "Here's an example use:"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:44
msgid ""
"@example\n"
"(use-modules (system vm coverage)\n"
" (system vm vm))"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:54
msgid ""
"(call-with-values (lambda ()\n"
" (with-code-coverage\n"
" (lambda ()\n"
" (do-something-tricky))))\n"
" (lambda (data result)\n"
" (let ((port (open-output-file \"lcov.info\")))\n"
" (coverage-data->lcov data port)\n"
" (close file))))\n"
"@end example"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:57
msgid ""
"In addition, the module provides low-level procedures that would make it\n"
"possible to write other user interfaces to the coverage data."
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:62
msgid ""
"@deffn {Scheme Procedures} instrumented-source-files data\n"
"Return the list of ``instrumented'' source files, i.e., source files whose\n"
"code was loaded at the time @var{data} was collected.\n"
"@end deffn"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:68
msgid ""
"@deffn {Scheme Procedures} line-execution-counts data file\n"
"Return a list of line number/execution count pairs for @var{file}, or\n"
"@code{#f} if @var{file} is not among the files covered by @var{data}. This\n"
"includes lines with zero count.\n"
"@end deffn"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:73
msgid ""
"@deffn {Scheme Procedures} instrumented/executed-lines data file\n"
"Return the number of instrumented and the number of executed source lines\n"
"in @var{file} according to @var{data}.\n"
"@end deffn"
msgstr ""
#: /home/bear/work/guile/doc/guile/en/api-coverage.texi:80
msgid ""
"@deffn {Scheme Procedures} procedure-execution-count data proc\n"
"Return the number of times @var{proc}'s code was executed, according to\n"
"@var{data}, or @code{#f} if @var{proc} was not executed. When @var{proc}\n"
"is a closure, the number of times its code was executed is returned, not\n"
"the number of times this code associated with this particular closure was\n"
"executed.\n"
"@end deffn"
msgstr ""