lcovrc 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. # Specify an external style sheet file (same as --css-file option of genhtml)
  8. #genhtml_css_file = gcov.css
  9. # Specify coverage rate limits (in %) for classifying file entries
  10. # HI: hi_limit <= rate <= 100 graph color: green
  11. # MED: med_limit <= rate < hi_limit graph color: orange
  12. # LO: 0 <= rate < med_limit graph color: red
  13. genhtml_hi_limit = 90
  14. genhtml_med_limit = 75
  15. # Width of line coverage field in source code view
  16. genhtml_line_field_width = 12
  17. # Width of branch coverage field in source code view
  18. genhtml_branch_field_width = 16
  19. # Width of overview image (used by --frames option of genhtml)
  20. genhtml_overview_width = 80
  21. # Resolution of overview navigation: this number specifies the maximum
  22. # difference in lines between the position a user selected from the overview
  23. # and the position the source code window is scrolled to (used by --frames
  24. # option of genhtml)
  25. genhtml_nav_resolution = 4
  26. # Clicking a line in the overview image should show the source code view at
  27. # a position a bit further up so that the requested line is not the first
  28. # line in the window. This number specifies that offset in lines (used by
  29. # --frames option of genhtml)
  30. genhtml_nav_offset = 10
  31. # Do not remove unused test descriptions if non-zero (same as
  32. # --keep-descriptions option of genhtml)
  33. genhtml_keep_descriptions = 0
  34. # Do not remove prefix from directory names if non-zero (same as --no-prefix
  35. # option of genhtml)
  36. genhtml_no_prefix = 0
  37. # Do not create source code view if non-zero (same as --no-source option of
  38. # genhtml)
  39. genhtml_no_source = 0
  40. # Replace tabs with number of spaces in source view (same as --num-spaces
  41. # option of genhtml)
  42. genhtml_num_spaces = 8
  43. # Highlight lines with converted-only data if non-zero (same as --highlight
  44. # option of genhtml)
  45. genhtml_highlight = 0
  46. # Include color legend in HTML output if non-zero (same as --legend option of
  47. # genhtml)
  48. genhtml_legend = 0
  49. # Use FILE as HTML prolog for generated pages (same as --html-prolog option of
  50. # genhtml)
  51. #genhtml_html_prolog = FILE
  52. # Use FILE as HTML epilog for generated pages (same as --html-epilog option of
  53. # genhtml)
  54. #genhtml_html_epilog = FILE
  55. # Use custom filename extension for pages (same as --html-extension option of
  56. # genhtml)
  57. #genhtml_html_extension = html
  58. # Compress all generated html files with gzip.
  59. #genhtml_html_gzip = 1
  60. # Include sorted overview pages (can be disabled by the --no-sort option of
  61. # genhtml)
  62. genhtml_sort = 1
  63. # Include function coverage data display (can be disabled by the
  64. # --no-func-coverage option of genhtml)
  65. #genhtml_function_coverage = 1
  66. # Include branch coverage data display (can be disabled by the
  67. # --no-branch-coverage option of genhtml)
  68. #genhtml_branch_coverage = 1
  69. # Specify the character set of all generated HTML pages
  70. genhtml_charset=UTF-8
  71. # Location of the gcov tool (same as --gcov-info option of geninfo)
  72. #geninfo_gcov_tool = gcov
  73. # Adjust test names to include operating system information if non-zero
  74. #geninfo_adjust_testname = 0
  75. # Calculate checksum for each source code line if non-zero (same as --checksum
  76. # option of geninfo if non-zero, same as --no-checksum if zero)
  77. #geninfo_checksum = 1
  78. # Specify whether to capture coverage data for external source files (can
  79. # be overridden by the --external and --no-external options of geninfo/lcov)
  80. #geninfo_external = 1
  81. # Enable libtool compatibility mode if non-zero (same as --compat-libtool option
  82. # of geninfo if non-zero, same as --no-compat-libtool if zero)
  83. #geninfo_compat_libtool = 0
  84. # Use gcov's --all-blocks option if non-zero
  85. #geninfo_gcov_all_blocks = 1
  86. # Specify compatiblity modes (same as --compat option of geninfo).
  87. #geninfo_compat = libtool=on, hammer=auto, split_crc=auto
  88. # Adjust path to source files by removing or changing path components that
  89. # match the specified pattern (Perl regular expression format)
  90. #geninfo_adjust_src_path = /tmp/build => /usr/src
  91. # Specify if geninfo should try to automatically determine the base-directory
  92. # when collecting coverage data.
  93. geninfo_auto_base = 1
  94. # Directory containing gcov kernel files
  95. # lcov_gcov_dir = /proc/gcov
  96. # Location of the insmod tool
  97. lcov_insmod_tool = /sbin/insmod
  98. # Location of the modprobe tool
  99. lcov_modprobe_tool = /sbin/modprobe
  100. # Location of the rmmod tool
  101. lcov_rmmod_tool = /sbin/rmmod
  102. # Location for temporary directories
  103. lcov_tmp_dir = /tmp
  104. # Show full paths during list operation if non-zero (same as --list-full-path
  105. # option of lcov)
  106. lcov_list_full_path = 0
  107. # Specify the maximum width for list output. This value is ignored when
  108. # lcov_list_full_path is non-zero.
  109. lcov_list_width = 80
  110. # Specify the maximum percentage of file names which may be truncated when
  111. # choosing a directory prefix in list output. This value is ignored when
  112. # lcov_list_full_path is non-zero.
  113. lcov_list_truncate_max = 20
  114. # Specify if function coverage data should be collected and processed.
  115. lcov_function_coverage = 1
  116. # Specify if branch coverage data should be collected and processed.
  117. lcov_branch_coverage = 0