-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcoverage-config.toml
More file actions
100 lines (90 loc) · 1.71 KB
/
coverage-config.toml
File metadata and controls
100 lines (90 loc) · 1.71 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
91
92
93
94
95
96
97
98
99
100
# RpcNet Coverage Configuration
# Maps advertised features to source files for targeted coverage analysis
[features.core_rpc]
name = "Core RPC"
category = "Core"
priority = "Critical"
threshold = 90.0
source_paths = [
"src/lib.rs",
"src/client.rs",
"src/server.rs",
"src/error.rs",
"src/config.rs"
]
[features.quic_transport]
name = "QUIC Transport"
category = "Transport"
priority = "High"
threshold = 90.0
source_paths = [
"src/transport/",
"src/connection.rs"
]
[features.tls_security]
name = "TLS Security"
category = "Security"
priority = "Critical"
threshold = 95.0
source_paths = [
"src/tls.rs",
"src/cert.rs",
"src/auth.rs"
]
[features.code_generation]
name = "Code Generation"
category = "Codegen"
priority = "Medium"
threshold = 90.0
source_paths = [
"src/codegen/",
"src/bin/rpcnet-gen.rs"
]
[features.streaming]
name = "Streaming"
category = "Streaming"
priority = "High"
threshold = 90.0
source_paths = [
"src/streaming.rs",
"src/stream/"
]
[features.performance]
name = "Performance"
category = "Performance"
priority = "Medium"
threshold = 85.0
source_paths = [
"src/buffer.rs",
"src/pool.rs",
"src/metrics.rs"
]
[features.examples]
name = "Examples"
category = "Utility"
priority = "Low"
threshold = 75.0
source_paths = [
"examples/"
]
[exclusions]
# Exclude from coverage analysis
paths = [
"examples/*",
"benches/*",
"tests/*",
"target/*",
"specs/*"
]
[thresholds]
# Overall project thresholds
overall_minimum = 90.0
critical_minimum = 95.0
high_minimum = 90.0
medium_minimum = 85.0
low_minimum = 75.0
[reporting]
# Report configuration
formats = ["html", "json", "console"]
output_dir = "target/coverage"
fail_on_threshold = true