ProjectMetrics class
Project-wide metrics summary.
Constructors
- ProjectMetrics({required int fileCount, required int functionCount, required int totalLinesOfCode, required MetricStats maintainabilityIndex, required MetricStats cyclomaticComplexity, required MetricStats cognitiveComplexity, required MetricStats linesOfCode, required double totalHalsteadVolume})
-
const
- ProjectMetrics.empty()
-
factory
Properties
- cognitiveComplexity → MetricStats
-
final
- cyclomaticComplexity → MetricStats
-
final
- fileCount → int
-
final
- functionCount → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linesOfCode → MetricStats
-
final
- maintainabilityIndex → MetricStats
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalHalsteadVolume → double
-
final
- totalLinesOfCode → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited