When using --enforce
in pmat analyze lint-hotspot
the exit status doesn't do anything:
pmat analyze lint-hotspot --enforce
🔍 Running Clippy analysis...
# Lint Hotspot Analysis (EXTREME Quality Mode)
**Total Project Violations**: 32
**Files with Issues**: 2
## Top Files with Lint Issues
1. `lib.rs` - 1.78 violations/SLOC (16 violations, 9 SLOC)
2. `main.rs` - 0.25 violations/SLOC (16 violations, 63 SLOC)
## Hottest File Details
**File**: src/lib.rs
**Defect Density**: 1.78 violations/SLOC
**Total Violations**: 16
**Lines of Code**: 9
## Severity Distribution
- Errors: 0
- Warnings: 16
- Suggestions: 0
## Top Violations
- clippy::cargo_common_metadata: 12 occurrences
- clippy::multiple_crate_versions: 4 occurrences
## Enforcement Metadata
- Score: 10.0/10
- Priority: 10
- Estimated Fix Time: 80 minutes
- Automation Confidence: 70%
echo $?
0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4