DebtReport class
Report containing technical debt analysis results.
Constructors
-
DebtReport({required DebtSummary summary, required List<
DebtItem> items, required Map<String, FileDebtSummary> byFile}) -
const
Properties
-
byFile
→ Map<
String, FileDebtSummary> -
Summary breakdown by file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
DebtItem> -
All detected debt items.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → DebtSummary
-
Overall summary of debt costs.
final
Methods
-
getHotspots(
int n) → List< FileDebtSummary> - Get hotspots (files with highest debt cost).
-
getItemsBySeverity(
DebtSeverity severity) → List< DebtItem> - Get items filtered by severity.
-
getItemsByType(
DebtType type) → List< DebtItem> - Get items filtered by type.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toConsole(
) → String - Generate console-friendly output.
-
toJson(
) → Map< String, dynamic> - Convert to JSON map.
-
toMarkdown(
) → String - Generate markdown report.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited