OLD | NEW |
1 # | 1 # |
2 # /etc/lcovrc - system-wide defaults for LCOV | 2 # /etc/lcovrc - system-wide defaults for LCOV |
3 # | 3 # |
4 # To change settings for a single user, place a customized copy of this file | 4 # To change settings for a single user, place a customized copy of this file |
5 # at location ~/.lcovrc | 5 # at location ~/.lcovrc |
6 # | 6 # |
7 | 7 |
8 # Specify an external style sheet file (same as --css-file option of genhtml) | 8 # Specify an external style sheet file (same as --css-file option of genhtml) |
9 #genhtml_css_file = gcov.css | 9 #genhtml_css_file = gcov.css |
10 | 10 |
11 # Specify coverage rate limits (in %) for classifying file entries | 11 # Specify coverage rate limits (in %) for classifying file entries |
12 # HI: hi_limit <= rate <= 100 graph color: green | 12 # HI: hi_limit <= rate <= 100 graph color: green |
13 # MED: med_limit <= rate < hi_limit graph color: orange | 13 # MED: med_limit <= rate < hi_limit graph color: orange |
14 # LO: 0 <= rate < med_limit graph color: red | 14 # LO: 0 <= rate < med_limit graph color: red |
| 15 genhtml_hi_limit = 90 |
| 16 genhtml_med_limit = 75 |
15 | 17 |
16 # For line coverage | 18 # Width of line coverage field in source code view |
17 genhtml_hi_limit = 50 | 19 genhtml_line_field_width = 12 |
18 genhtml_med_limit = 15 | |
19 | 20 |
20 # For function coverage | 21 # Width of branch coverage field in source code view |
21 genhtml_function_hi_limit = 90 | 22 genhtml_branch_field_width = 16 |
22 genhtml_function_med_limit = 75 | |
23 | 23 |
24 # Width of overview image (used by --frames option of genhtml) | 24 # Width of overview image (used by --frames option of genhtml) |
25 genhtml_overview_width = 80 | 25 genhtml_overview_width = 80 |
26 | 26 |
27 # Resolution of overview navigation: this number specifies the maximum | 27 # Resolution of overview navigation: this number specifies the maximum |
28 # difference in lines between the position a user selected from the overview | 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 | 29 # and the position the source code window is scrolled to (used by --frames |
30 # option of genhtml) | 30 # option of genhtml) |
31 genhtml_nav_resolution = 4 | 31 genhtml_nav_resolution = 4 |
32 | 32 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 # Compress all generated html files with gzip. | 75 # Compress all generated html files with gzip. |
76 #genhtml_html_gzip = 1 | 76 #genhtml_html_gzip = 1 |
77 | 77 |
78 # Include sorted overview pages (can be disabled by the --no-sort option of | 78 # Include sorted overview pages (can be disabled by the --no-sort option of |
79 # genhtml) | 79 # genhtml) |
80 genhtml_sort = 1 | 80 genhtml_sort = 1 |
81 | 81 |
82 # Include function coverage data display (can be disabled by the | 82 # Include function coverage data display (can be disabled by the |
83 # --no-func-coverage option of genhtml) | 83 # --no-func-coverage option of genhtml) |
84 genhtml_function_coverage = 1 | 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 |
| 91 genhtml_charset=UTF-8 |
85 | 92 |
86 # Location of the gcov tool (same as --gcov-info option of geninfo) | 93 # Location of the gcov tool (same as --gcov-info option of geninfo) |
87 #geninfo_gcov_tool = gcov | 94 #geninfo_gcov_tool = gcov |
88 | 95 |
89 # Adjust test names to include operating system information if non-zero | 96 # Adjust test names to include operating system information if non-zero |
90 #geninfo_adjust_testname = 0 | 97 #geninfo_adjust_testname = 0 |
91 | 98 |
92 # Calculate checksum for each source code line if non-zero (same as --checksum | 99 # Calculate checksum for each source code line if non-zero (same as --checksum |
93 # option of geninfo if non-zero, same as --no-checksum if zero) | 100 # option of geninfo if non-zero, same as --no-checksum if zero) |
94 #geninfo_checksum = 1 | 101 #geninfo_checksum = 1 |
95 | 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 |
96 # Enable libtool compatibility mode if non-zero (same as --compat-libtool option | 107 # Enable libtool compatibility mode if non-zero (same as --compat-libtool option |
97 # of geninfo if non-zero, same as --no-compat-libtool if zero) | 108 # of geninfo if non-zero, same as --no-compat-libtool if zero) |
98 #geninfo_compat_libtool = 0 | 109 #geninfo_compat_libtool = 0 |
99 | 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. |
| 123 geninfo_auto_base = 1 |
| 124 |
100 # Directory containing gcov kernel files | 125 # Directory containing gcov kernel files |
101 lcov_gcov_dir = /proc/gcov | 126 # lcov_gcov_dir = /proc/gcov |
102 | 127 |
103 # Location of the insmod tool | 128 # Location of the insmod tool |
104 lcov_insmod_tool = /sbin/insmod | 129 lcov_insmod_tool = /sbin/insmod |
105 | 130 |
106 # Location of the modprobe tool | 131 # Location of the modprobe tool |
107 lcov_modprobe_tool = /sbin/modprobe | 132 lcov_modprobe_tool = /sbin/modprobe |
108 | 133 |
109 # Location of the rmmod tool | 134 # Location of the rmmod tool |
110 lcov_rmmod_tool = /sbin/rmmod | 135 lcov_rmmod_tool = /sbin/rmmod |
111 | 136 |
112 # Location for temporary directories | 137 # Location for temporary directories |
113 lcov_tmp_dir = /tmp | 138 lcov_tmp_dir = /tmp |
| 139 |
| 140 # Show full paths during list operation if non-zero (same as --list-full-path |
| 141 # option of lcov) |
| 142 lcov_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. |
| 146 lcov_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. |
| 151 lcov_list_truncate_max = 20 |
| 152 |
| 153 # Specify if function coverage data should be collected and processed. |
| 154 lcov_function_coverage = 1 |
| 155 |
| 156 # Specify if branch coverage data should be collected and processed. |
| 157 lcov_branch_coverage = 0 |
OLD | NEW |