Index: third_party/lcov/lcovrc |
diff --git a/third_party/lcov/lcovrc b/third_party/lcov/lcovrc |
index b0e511a63ee9278c59cb1dde69c1d6469fb03627..9c65970485f951cee12905b4b308b5f2c3e5129a 100644 |
--- a/third_party/lcov/lcovrc |
+++ b/third_party/lcov/lcovrc |
@@ -12,14 +12,14 @@ |
# HI: hi_limit <= rate <= 100 graph color: green |
# MED: med_limit <= rate < hi_limit graph color: orange |
# LO: 0 <= rate < med_limit graph color: red |
+genhtml_hi_limit = 90 |
+genhtml_med_limit = 75 |
-# For line coverage |
-genhtml_hi_limit = 50 |
-genhtml_med_limit = 15 |
+# Width of line coverage field in source code view |
+genhtml_line_field_width = 12 |
-# For function coverage |
-genhtml_function_hi_limit = 90 |
-genhtml_function_med_limit = 75 |
+# Width of branch coverage field in source code view |
+genhtml_branch_field_width = 16 |
# Width of overview image (used by --frames option of genhtml) |
genhtml_overview_width = 80 |
@@ -81,7 +81,14 @@ genhtml_sort = 1 |
# Include function coverage data display (can be disabled by the |
# --no-func-coverage option of genhtml) |
-genhtml_function_coverage = 1 |
+#genhtml_function_coverage = 1 |
+ |
+# Include branch coverage data display (can be disabled by the |
+# --no-branch-coverage option of genhtml) |
+#genhtml_branch_coverage = 1 |
+ |
+# Specify the character set of all generated HTML pages |
+genhtml_charset=UTF-8 |
# Location of the gcov tool (same as --gcov-info option of geninfo) |
#geninfo_gcov_tool = gcov |
@@ -93,12 +100,30 @@ genhtml_function_coverage = 1 |
# option of geninfo if non-zero, same as --no-checksum if zero) |
#geninfo_checksum = 1 |
+# Specify whether to capture coverage data for external source files (can |
+# be overridden by the --external and --no-external options of geninfo/lcov) |
+#geninfo_external = 1 |
+ |
# Enable libtool compatibility mode if non-zero (same as --compat-libtool option |
# of geninfo if non-zero, same as --no-compat-libtool if zero) |
#geninfo_compat_libtool = 0 |
+# Use gcov's --all-blocks option if non-zero |
+#geninfo_gcov_all_blocks = 1 |
+ |
+# Specify compatiblity modes (same as --compat option of geninfo). |
+#geninfo_compat = libtool=on, hammer=auto, split_crc=auto |
+ |
+# Adjust path to source files by removing or changing path components that |
+# match the specified pattern (Perl regular expression format) |
+#geninfo_adjust_src_path = /tmp/build => /usr/src |
+ |
+# Specify if geninfo should try to automatically determine the base-directory |
+# when collecting coverage data. |
+geninfo_auto_base = 1 |
+ |
# Directory containing gcov kernel files |
-lcov_gcov_dir = /proc/gcov |
+# lcov_gcov_dir = /proc/gcov |
# Location of the insmod tool |
lcov_insmod_tool = /sbin/insmod |
@@ -111,3 +136,22 @@ lcov_rmmod_tool = /sbin/rmmod |
# Location for temporary directories |
lcov_tmp_dir = /tmp |
+ |
+# Show full paths during list operation if non-zero (same as --list-full-path |
+# option of lcov) |
+lcov_list_full_path = 0 |
+ |
+# Specify the maximum width for list output. This value is ignored when |
+# lcov_list_full_path is non-zero. |
+lcov_list_width = 80 |
+ |
+# Specify the maximum percentage of file names which may be truncated when |
+# choosing a directory prefix in list output. This value is ignored when |
+# lcov_list_full_path is non-zero. |
+lcov_list_truncate_max = 20 |
+ |
+# Specify if function coverage data should be collected and processed. |
+lcov_function_coverage = 1 |
+ |
+# Specify if branch coverage data should be collected and processed. |
+lcov_branch_coverage = 0 |