-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathgcovr.cfg
More file actions
19 lines (16 loc) · 772 Bytes
/
gcovr.cfg
File metadata and controls
19 lines (16 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Newer versions of gcovr have strict function merging by default, which
# can cause issues with header-only functions or macros (like in jsontest.h).
# 'separate' mode keeps them distinct, fixing the GcovrMergeAssertionError.
merge-mode-functions = separate
# --- Filtering ---
# Only include the library sources in the coverage report.
# This ensures coverage stats reflect the library quality and ignores test code.
filter = src/lib_json/
filter = include/json/
# --- Noise Reduction ---
# Ignore branches that are generated by the compiler (e.g., exception handling)
# This drastically reduces "false positives" for missing branch coverage.
exclude-throw-branches = yes
# --- CI Visibility ---
# Print a small summary table to the console logs.
print-summary = yes