-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pmat-metrics.toml
More file actions
55 lines (44 loc) · 1.16 KB
/
.pmat-metrics.toml
File metadata and controls
55 lines (44 loc) · 1.16 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
# PMAT Quality Metrics Configuration
# Generated for pforge project compliance
[thresholds]
# Test coverage minimum (percentage)
coverage = 80.0
# Mutation testing kill rate (percentage)
mutation_score = 80.0
# Maximum cyclomatic complexity per function
max_complexity = 20
# Technical Debt Grade minimum (0.0-1.0)
min_tdg = 0.75
# Maximum SATD (Self-Admitted Technical Debt) comments allowed
max_satd = 0
[lint]
# Treat warnings as errors
deny_warnings = true
# Required clippy lint groups
required_lints = [
"clippy::all",
"clippy::pedantic",
"clippy::nursery",
]
# Allowed clippy lints (exceptions)
allowed_lints = [
"clippy::module_name_repetitions",
"clippy::must_use_candidate",
"clippy::missing_errors_doc",
"clippy::missing_panics_doc",
]
[benchmarks]
# Benchmark configuration
framework = "criterion"
# Performance regression threshold (percentage)
regression_threshold = 10.0
[documentation]
# Minimum documentation coverage (percentage)
min_doc_coverage = 80.0
# Require examples in public API docs
require_examples = true
[dependencies]
# Maximum allowed security vulnerabilities
max_vulnerabilities = 0
# Require audit
require_audit = true