Expand description
Health / complexity analysis report types. Health / complexity analysis report types.
Separated from the health command module so that report formatters
(which are compiled as part of both the lib and bin targets) can
reference these types without pulling in binary-only dependencies.
Structs§
- Contributing
Factor - A contributing factor that triggered or strengthened a recommendation.
- Evidence
Function - A function referenced in target evidence.
- File
Health Score - Per-file health score combining complexity, coupling, and dead code metrics.
- Health
Finding - A single function that exceeds a complexity threshold.
- Health
Report - Result of complexity analysis for reporting.
- Health
Summary - Summary statistics for the health report.
- Hotspot
Entry - A hotspot: a file that is both complex and frequently changing.
- Hotspot
Summary - Summary statistics for hotspot analysis.
- Refactoring
Target - Target
Evidence - Evidence linking a target back to specific analysis data.
- Target
Thresholds - Adaptive thresholds used for refactoring target scoring.
- Vital
Signs - Project-wide vital signs — a fixed set of metrics for trend tracking.
- Vital
Signs Counts - Raw counts backing the vital signs percentages.
- Vital
Signs Snapshot - A point-in-time snapshot of project vital signs, persisted to disk.
Enums§
- Confidence
- Confidence level for a refactoring recommendation.
- Effort
Estimate - A ranked refactoring recommendation for a file.
- Exceeded
Threshold - Which complexity threshold was exceeded.
- Recommendation
Category - Category of refactoring recommendation.
Constants§
- HOTSPOT_
SCORE_ THRESHOLD - Hotspot score threshold for counting a file as a hotspot in vital signs.
- SNAPSHOT_
SCHEMA_ VERSION - Current snapshot schema version. Independent of the report’s SCHEMA_VERSION.