2 # /etc/lcovrc - system-wide defaults for LCOV
4 # To change settings for a single user, place a customized copy of this file
5 # at location ~/.lcovrc
8 # Specify an external style sheet file (same as --css-file option of genhtml)
9 #genhtml_css_file = gcov.css
11 # Specify coverage rate limits (in %) for classifying file entries
12 # HI: hi_limit <= rate <= 100 graph color: green
13 # MED: med_limit <= rate < hi_limit graph color: orange
14 # LO: 0 <= rate < med_limit graph color: red
16 genhtml_med_limit = 75
18 # Width of line coverage field in source code view
19 genhtml_line_field_width = 12
21 # Width of branch coverage field in source code view
22 genhtml_branch_field_width = 16
24 # Width of overview image (used by --frames option of genhtml)
25 genhtml_overview_width = 80
27 # Resolution of overview navigation: this number specifies the maximum
28 # difference in lines between the position a user selected from the overview
29 # and the position the source code window is scrolled to (used by --frames
31 genhtml_nav_resolution = 4
33 # Clicking a line in the overview image should show the source code view at
34 # a position a bit further up so that the requested line is not the first
35 # line in the window. This number specifies that offset in lines (used by
36 # --frames option of genhtml)
37 genhtml_nav_offset = 10
39 # Do not remove unused test descriptions if non-zero (same as
40 # --keep-descriptions option of genhtml)
41 genhtml_keep_descriptions = 0
43 # Do not remove prefix from directory names if non-zero (same as --no-prefix
47 # Do not create source code view if non-zero (same as --no-source option of
51 # Replace tabs with number of spaces in source view (same as --num-spaces
53 genhtml_num_spaces = 8
55 # Highlight lines with converted-only data if non-zero (same as --highlight
59 # Include color legend in HTML output if non-zero (same as --legend option of
63 # Use FILE as HTML prolog for generated pages (same as --html-prolog option of
65 #genhtml_html_prolog = FILE
67 # Use FILE as HTML epilog for generated pages (same as --html-epilog option of
69 #genhtml_html_epilog = FILE
71 # Use custom filename extension for pages (same as --html-extension option of
73 #genhtml_html_extension = html
75 # Compress all generated html files with gzip.
76 #genhtml_html_gzip = 1
78 # Include sorted overview pages (can be disabled by the --no-sort option of
82 # Include function coverage data display (can be disabled by the
83 # --no-func-coverage option of genhtml)
84 #genhtml_function_coverage = 1
86 # Include branch coverage data display (can be disabled by the
87 # --no-branch-coverage option of genhtml)
88 #genhtml_branch_coverage = 1
90 # Specify the character set of all generated HTML pages
93 # Location of the gcov tool (same as --gcov-info option of geninfo)
94 #geninfo_gcov_tool = gcov
96 # Adjust test names to include operating system information if non-zero
97 #geninfo_adjust_testname = 0
99 # Calculate checksum for each source code line if non-zero (same as --checksum
100 # option of geninfo if non-zero, same as --no-checksum if zero)
101 #geninfo_checksum = 1
103 # Specify whether to capture coverage data for external source files (can
104 # be overridden by the --external and --no-external options of geninfo/lcov)
105 #geninfo_external = 1
107 # Enable libtool compatibility mode if non-zero (same as --compat-libtool option
108 # of geninfo if non-zero, same as --no-compat-libtool if zero)
109 #geninfo_compat_libtool = 0
111 # Use gcov's --all-blocks option if non-zero
112 #geninfo_gcov_all_blocks = 1
114 # Specify compatiblity modes (same as --compat option of geninfo).
115 #geninfo_compat = libtool=on, hammer=auto, split_crc=auto
117 # Adjust path to source files by removing or changing path components that
118 # match the specified pattern (Perl regular expression format)
119 #geninfo_adjust_src_path = /tmp/build => /usr/src
121 # Specify if geninfo should try to automatically determine the base-directory
122 # when collecting coverage data.
123 geninfo_auto_base = 1
125 # Directory containing gcov kernel files
126 # lcov_gcov_dir = /proc/gcov
128 # Location of the insmod tool
129 lcov_insmod_tool = /sbin/insmod
131 # Location of the modprobe tool
132 lcov_modprobe_tool = /sbin/modprobe
134 # Location of the rmmod tool
135 lcov_rmmod_tool = /sbin/rmmod
137 # Location for temporary directories
140 # Show full paths during list operation if non-zero (same as --list-full-path
142 lcov_list_full_path = 0
144 # Specify the maximum width for list output. This value is ignored when
145 # lcov_list_full_path is non-zero.
148 # Specify the maximum percentage of file names which may be truncated when
149 # choosing a directory prefix in list output. This value is ignored when
150 # lcov_list_full_path is non-zero.
151 lcov_list_truncate_max = 20
153 # Specify if function coverage data should be collected and processed.
154 lcov_function_coverage = 1
156 # Specify if branch coverage data should be collected and processed.
157 lcov_branch_coverage = 0