• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# /etc/lcovrc - system-wide defaults for LCOV
3#
4# To change settings for a single user, place a customized copy of this file
5# at location ~/.lcovrc
6#
7
8# Specify an external style sheet file (same as --css-file option of genhtml)
9#genhtml_css_file = gcov.css
10
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
15genhtml_hi_limit = 90
16genhtml_med_limit = 75
17
18# Width of line coverage field in source code view
19genhtml_line_field_width = 12
20
21# Width of branch coverage field in source code view
22genhtml_branch_field_width = 16
23
24# Width of overview image (used by --frames option of genhtml)
25genhtml_overview_width = 80
26
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
30# option of genhtml)
31genhtml_nav_resolution = 4
32
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)
37genhtml_nav_offset = 10
38
39# Do not remove unused test descriptions if non-zero (same as
40# --keep-descriptions option of genhtml)
41genhtml_keep_descriptions = 0
42
43# Do not remove prefix from directory names if non-zero (same as --no-prefix
44# option of genhtml)
45genhtml_no_prefix = 0
46
47# Do not create source code view if non-zero (same as --no-source option of
48# genhtml)
49genhtml_no_source = 0
50
51# Replace tabs with number of spaces in source view (same as --num-spaces
52# option of genhtml)
53genhtml_num_spaces = 8
54
55# Highlight lines with converted-only data if non-zero (same as --highlight
56# option of genhtml)
57genhtml_highlight = 0
58
59# Include color legend in HTML output if non-zero (same as --legend option of
60# genhtml)
61genhtml_legend = 0
62
63# Use FILE as HTML prolog for generated pages (same as --html-prolog option of
64# genhtml)
65#genhtml_html_prolog = FILE
66
67# Use FILE as HTML epilog for generated pages (same as --html-epilog option of
68# genhtml)
69#genhtml_html_epilog = FILE
70
71# Use custom filename extension for pages (same as --html-extension option of
72# genhtml)
73#genhtml_html_extension = html
74
75# Compress all generated html files with gzip.
76#genhtml_html_gzip = 1
77
78# Include sorted overview pages (can be disabled by the --no-sort option of
79# genhtml)
80genhtml_sort = 1
81
82# Include function coverage data display (can be disabled by the
83# --no-func-coverage option of genhtml)
84#genhtml_function_coverage = 1
85
86# Include branch coverage data display (can be disabled by the
87# --no-branch-coverage option of genhtml)
88#genhtml_branch_coverage = 1
89
90# Specify the character set of all generated HTML pages
91genhtml_charset=UTF-8
92
93# Location of the gcov tool (same as --gcov-info option of geninfo)
94#geninfo_gcov_tool = gcov
95
96# Adjust test names to include operating system information if non-zero
97#geninfo_adjust_testname = 0
98
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
102
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
106
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
110
111# Use gcov's --all-blocks option if non-zero
112#geninfo_gcov_all_blocks = 1
113
114# Specify compatiblity modes (same as --compat option of geninfo).
115#geninfo_compat = libtool=on, hammer=auto, split_crc=auto
116
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
120
121# Specify if geninfo should try to automatically determine the base-directory
122# when collecting coverage data.
123geninfo_auto_base = 1
124
125# Directory containing gcov kernel files
126# lcov_gcov_dir = /proc/gcov
127
128# Location of the insmod tool
129lcov_insmod_tool = /sbin/insmod
130
131# Location of the modprobe tool
132lcov_modprobe_tool = /sbin/modprobe
133
134# Location of the rmmod tool
135lcov_rmmod_tool = /sbin/rmmod
136
137# Location for temporary directories
138lcov_tmp_dir = /tmp
139
140# Show full paths during list operation if non-zero (same as --list-full-path
141# option of lcov)
142lcov_list_full_path = 0
143
144# Specify the maximum width for list output. This value is ignored when
145# lcov_list_full_path is non-zero.
146lcov_list_width = 80
147
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.
151lcov_list_truncate_max = 20
152
153# Specify if function coverage data should be collected and processed.
154lcov_function_coverage = 1
155
156# Specify if branch coverage data should be collected and processed.
157lcov_branch_coverage = 0
158