-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.covdbg.yaml
More file actions
90 lines (78 loc) · 3.98 KB
/
.covdbg.yaml
File metadata and controls
90 lines (78 loc) · 3.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Coverage settings for covdbg
# Format version: 1
version: 1
source_root: "."
coverage:
default:
files:
# Select which source files are included in the coverage report.
#
# The patterns are glob-style:
# - '*' matches any characters within a single path segment (no directory separators)
# - '**' matches across directory boundaries (recursive)
#
# Files matched by 'include' are added to the coverage database even if they are
# not discovered via linked debug info (PDB). If they are never executed, they
# will appear as 0% coverage (LCOV-like behavior).
include:
- "include/**/*.h"
# Exclude specific files or directories from the report.
# Exclude rules always take precedence over include rules.
exclude:
# =====================================================================
# Windows SDK and Universal CRT (installed paths)
# "C:/Program Files*/Windows Kits/**"
# =====================================================================
- "**/Windows Kits/**"
# =====================================================================
# MSVC Toolchain (installed paths)
# "C:/Program Files*/Microsoft Visual Studio/**/VC/Tools/**"
# =====================================================================
- "**/VC/Tools/MSVC/**"
# =====================================================================
# MSVC CRT/STL Source (build server paths from PDBs)
# These patterns match paths embedded in Microsoft's pre-built binaries
# from their internal build systems (D:\a\_work\1\s\src\...)
# =====================================================================
- "**/vctools/crt/**" # CRT runtime, startup, vcruntime
- "**/vctools/langapi/**" # Language API (undname, etc.)
- "**/stl/inc/**" # STL headers
- "**/stl/src/**" # STL source
# =====================================================================
# Universal CRT (UCRT) - minkernel paths from Windows PDBs
# =====================================================================
- "**/minkernel/crts/ucrt/**" # UCRT implementation
- "**/minkernel/crts/crtw32/**" # Legacy CRT components
# =====================================================================
# Windows SDK internals (onecore paths from Windows PDBs)
# =====================================================================
- "**/onecore/**" # OneCore SDK internals
# =====================================================================
# External SDK includes embedded in PDBs
# =====================================================================
- "**/ExternalAPIs/**" # External API headers
- "**/binaries/amd64ret/inc/**" # Binary distribution includes
# =====================================================================
# Project-specific exclusions
# =====================================================================
# Build dependencies (CMake FetchContent, etc.)
- "build/**/_deps/**"
# Test files (exclude from coverage report)
- "src/**/*Tests.cpp"
functions:
# Control which functions are included in function-level coverage.
#
# Patterns can be fully qualified names (e.g. Namespace::Class::Method) or
# wildcard expressions using '*'.
include:
- "*" # Include all functions by default
# Exclude specific functions (or patterns) from function-level coverage.
# These are compiler-generated or runtime functions that add noise.
exclude:
# MSVC empty global delete (generated by compiler)
- "__empty_global_delete"
# CRT startup/initialization functions
- "__scrt_*"
- "_RTC_*"
- "__security_*"
- "__GSHandler*"