1 .TH lcovrc 5 "LCOV 1.7" 2008\-11\-17 "User Manuals"
4 lcovrc \- lcov configuration file
9 file contains configuration information for the
11 code coverage tool (see
15 The system\-wide configuration file is located at
17 To change settings for a single user, place a customized copy of this file at
20 Where available, command\-line options override configuration file settings.
22 Lines in a configuration file can either be:
24 empty lines or lines consisting only of white space characters. These lines are
27 comment lines which start with a hash sign ('#'). These are treated like empty
28 lines and will be ignored.
30 statements in the form
31 .RI ' key " = " value '.
32 A list of valid statements and their description can be found in
33 section 'OPTIONS' below.
36 .B Example configuration:
40 # Example LCOV configuration file
45 # External style sheet file
47 #genhtml_css_file = gcov.css
50 # Coverage rate limits for line coverage
54 genhtml_med_limit = 15
57 # Coverage rate limits for function coverage
59 genhtml_function_hi_limit = 90
61 genhtml_function_med_limit = 75
64 # Width of overview image
66 genhtml_overview_width = 80
69 # Resolution of overview navigation
71 genhtml_nav_resolution = 4
74 # Offset for source code navigation
76 genhtml_nav_offset = 10
79 # Do not remove unused test descriptions if non\-zero
81 genhtml_keep_descriptions = 0
84 # Do not remove prefix from directory names if non\-zero
89 # Do not create source code view if non\-zero
94 # Specify size of tabs
96 genhtml_num_spaces = 8
99 # Highlight lines with converted\-only data if non\-zero
101 genhtml_highlight = 0
104 # Include color legend in HTML output if non\-zero
109 # Include HTML file at start of HTML output
111 #genhtml_html_prolog = prolog.html
114 # Include HTML file at end of HTML output
116 #genhtml_html_epilog = epilog.html
119 # Use custom HTML file extension
121 #genhtml_html_extension = html
124 # Compress all generated html files with gzip.
126 #genhtml_html_gzip = 1
129 # Include sorted overview pages
134 # Include function coverage data display
136 genhtml_function_coverage = 1
139 # Location of the gcov tool
141 #geninfo_gcov_tool = gcov
144 # Adjust test names if non\-zero
146 #geninfo_adjust_testname = 0
149 # Calculate a checksum for each line if non\-zero
154 # Enable libtool compatibility mode if non\-zero
156 geninfo_compat_libtool = 0
159 # Directory containing gcov kernel files
161 lcov_gcov_dir = /proc/gcov
164 # Location of the insmod tool
166 lcov_insmod_tool = /sbin/insmod
169 # Location of the modprobe tool
171 lcov_modprobe_tool = /sbin/modprobe
174 # Location of the rmmod tool
176 lcov_rmmod_tool = /sbin/rmmod
179 # Location for temporary directories
187 .BR genhtml_css_file " ="
190 Specify an external style sheet file. Use this option to modify the appearance of the HTML output as generated by
192 During output generation, a copy of this file will be placed in the output
196 This option corresponds to the \-\-css\-file command line option of
200 By default, a standard CSS file is generated.
203 .BR genhtml_hi_limit " ="
206 .BR genhtml_med_limit " ="
209 .BR genhtml_function_med_limit " ="
212 .BR genhtml_function_med_limit " ="
215 Specify coverage rate limits for classifying file entries. Use this option to
216 modify the coverage rates (in percent) for line or function coverage at which
217 a result is classified as high, medium or low coverage. This classification
218 affects the color of the corresponding entries on the overview pages of the
222 High: hi_limit <= rate <= 100 default color: green
224 Medium: med_limit <= rate < hi_limit default color: orange
226 Low: 0 <= rate < med_limit default color: red
229 Defaults are 50 and 15 percent for line coverage and 90 and 75 percent for
233 .BR genhtml_overview_width " ="
236 Specify the width (in pixel) of the overview image created when generating HTML
237 output using the \-\-frames option of
244 .BR genhtml_nav_resolution " ="
247 Specify the resolution of overview navigation when generating HTML output using
248 the \-\-frames option of
250 This number specifies the maximum difference in lines between the position a
251 user selected from the overview and the position the source code window is
259 .BR genhtml_nav_offset " ="
262 Specify the overview navigation line offset as applied when generating HTML
263 output using the \-\-frames option of
267 Clicking a line in the overview image should show the source code view at
268 a position a bit further up, so that the requested line is not the first
269 line in the window. This number specifies that offset.
276 .BR genhtml_keep_descriptions " ="
279 If non\-zero, keep unused test descriptions when generating HTML output using
283 This option corresponds to the \-\-keep\-descriptions option of
290 .BR genhtml_no_prefix " ="
293 If non\-zero, do not try to find and remove a common prefix from directory names.
296 This option corresponds to the \-\-no\-prefix option of
303 .BR genhtml_no_source " ="
306 If non\-zero, do not create a source code view when generating HTML output using
310 This option corresponds to the \-\-no\-source option of
317 .BR genhtml_num_spaces " ="
320 Specify the number of spaces to use as replacement for tab characters in the
321 HTML source code view as generated by
325 This option corresponds to the \-\-num\-spaces option of
333 .BR genhtml_highlight " ="
336 If non\-zero, highlight lines with converted\-only data in
337 HTML output as generated by
341 This option corresponds to the \-\-highlight option of
348 .BR genhtml_legend " ="
351 If non\-zero, include a legend explaining the meaning of color coding in the HTML
352 output as generated by
356 This option corresponds to the \-\-legend option of
363 .BR genhtml_html_prolog " ="
366 If set, include the contents of the specified file at the beginning of HTML
369 This option corresponds to the \-\-html\-prolog option of
373 Default is to use no extra prolog.
376 .BR genhtml_html_epilog " ="
379 If set, include the contents of the specified file at the end of HTML output.
381 This option corresponds to the \-\-html\-epilog option of
385 Default is to use no extra epilog.
388 .BR genhtml_html_extension " ="
391 If set, use the specified string as filename extension for generated HTML files.
393 This option corresponds to the \-\-html\-extension option of
397 Default extension is "html".
400 .BR genhtml_html_gzip " ="
403 If set, compress all html files using gzip.
405 This option corresponds to the \-\-html\-gzip option of
409 Default extension is 0.
412 .BR genhtml_sort " ="
415 If non\-zero, create overview pages sorted by coverage rates when generating
420 This option can be set to 0 by using the \-\-no\-sort option of
427 .BR genhtml_function_coverage " ="
430 If non\-zero, include function coverage data when generating HTML output using
434 This option can be set to 0 by using the \-\-no\-function\-coverage option of
441 .BR geninfo_gcov_tool " ="
444 Specify the location of the gcov tool (see
446 which is used to generate coverage information from data files.
452 .BR geninfo_adjust_testname " ="
455 If non\-zero, adjust test names to include operating system information
456 when capturing coverage data.
462 .BR geninfo_checksum " ="
465 If non\-zero, generate source code checksums when capturing coverage data.
466 Checksums are useful to prevent merging coverage data from incompatible
467 source code versions but checksum generation increases the size of coverage
468 files and the time used to generate those files.
471 This option corresponds to the \-\-checksum and \-\-no\-checksum command line
479 .BR geninfo_compat_libtool " ="
482 If non\-zero, enable libtool compatibility mode. When libtool compatibility
483 mode is enabled, lcov will assume that the source code relating to a .da file
484 located in a directory named ".libs" can be found in its parent directory.
487 This option corresponds to the \-\-compat\-libtool and \-\-no\-compat\-libtool
488 command line option of
495 .BR lcov_gcov_dir " ="
496 .I path_to_kernel_coverage_data
498 Specify the path to the directory where kernel coverage data can be found.
501 Default is '/proc/gcov'.
504 .BR lcov_insmod_tool " ="
507 Specify the location of the insmod tool used to load kernel modules.
510 Default is '/sbin/insmod'.
513 .BR lcov_modprobe_tool " ="
516 Specify the location of the modprobe tool used to load kernel modules.
519 Default is '/sbin/modprobe'.
522 .BR lcov_rmmod_tool " ="
525 Specify the location of the rmmod tool used to unload kernel modules.
528 Default is '/sbin/rmmod'.
531 .BR lcov_tmp_dir " ="
534 Specify the location of a directory used for temporary files.
550 The individual per\-user configuration file.