2 # Copyright 2015-2016 Nest Labs Inc. All Rights Reserved.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
19 # This file is an lcov configuration file based on the default
20 # from /etc/lcovrc. The key difference is the inclusion of
21 # 'genhtml_branch_coverage = 1' and lcov_branch_coverage = 1' to
22 # ensure that branch coverage is reported.
25 # External style sheet file
26 #genhtml_css_file = gcov.css
28 # Coverage rate limits
30 genhtml_med_limit = 75
32 # Width of line coverage field in source code view
33 genhtml_line_field_width = 12
35 # Width of branch coverage field in source code view
36 genhtml_branch_field_width = 16
38 # Width of overview image
39 genhtml_overview_width = 80
41 # Resolution of overview navigation
42 genhtml_nav_resolution = 4
44 # Offset for source code navigation
45 genhtml_nav_offset = 10
47 # Do not remove unused test descriptions if non-zero
48 genhtml_keep_descriptions = 0
50 # Do not remove prefix from directory names if non-zero
53 # Do not create source code view if non-zero
56 # Specify size of tabs
57 genhtml_num_spaces = 8
59 # Highlight lines with converted-only data if non-zero
62 # Include color legend in HTML output if non-zero
65 # Include HTML file at start of HTML output
66 #genhtml_html_prolog = prolog.php
68 # Include HTML file at end of HTML output
69 #genhtml_html_epilog = epilog.php
71 # Use custom HTML file extension
72 #genhtml_html_extension = html
74 # Compress all generated html files with gzip.
75 #genhtml_html_gzip = 1
77 # Include sorted overview pages
80 # Include function coverage data display
81 #genhtml_function_coverage = 1
83 # Include branch coverage data display
84 genhtml_branch_coverage = 1
86 # Specify the character set of all generated HTML pages
89 # Allow HTML markup in test case description text if non-zero
92 # Location of the gcov tool
93 #geninfo_gcov_tool = gcov
95 # Adjust test names if non-zero
96 #geninfo_adjust_testname = 0
98 # Calculate a checksum for each line if non-zero
101 # Enable libtool compatibility mode if non-zero
102 geninfo_compat_libtool = 0
104 # Specify whether to capture coverage data for external source
106 #geninfo_external = 1
108 # Use gcov’s --all-blocks option if non-zero
109 #geninfo_gcov_all_blocks = 1
111 # Specify compatiblity modes (same as --compat option
113 #geninfo_compat = libtool=on, hammer=auto, split_crc=auto
115 # Adjust path to source files by removing or changing path
116 # components that match the specified pattern (Perl regular
118 #geninfo_adjust_src_path = /tmp/build => /usr/src
120 # Specify if geninfo should try to automatically determine
121 # the base-directory when collecting coverage data.
122 geninfo_auto_base = 1
124 # Directory containing gcov kernel files
125 lcov_gcov_dir = /proc/gcov
127 # Location for temporary directories
130 # Show full paths during list operation if non-zero
131 lcov_list_full_path = 0
133 # Specify the maximum width for list output. This value is
134 # ignored when lcov_list_full_path is non-zero.
137 # Specify the maximum percentage of file names which may be
138 # truncated when choosing a directory prefix in list output.
139 # This value is ignored when lcov_list_full_path is non-zero.
140 lcov_list_truncate_max = 20
142 # Specify if function coverage data should be collected and
144 lcov_function_coverage = 1
146 # Specify if branch coverage data should be collected and
148 lcov_branch_coverage = 1