ProjectDiagnosis class
Aggregated diagnosis for an entire project's dependency graph.
Constructors
-
ProjectDiagnosis({required List<
DiagnosisResult> results, required DateTime scannedAt, required String pubspecPath, String? dartSdkVersion, String? latestToolVersion}) -
Creates a ProjectDiagnosis.
const
Properties
-
abandonedPackages
→ List<
DiagnosisResult> -
Packages where the SignalIds.maintenance signal scored ≥ 1.0
(no commits in over a year).
no setter
- criticalCount → int
-
Number of packages at RiskLevel.critical.
no setter
- dartSdkVersion → String?
-
Dart SDK version string detected on the host machine, if available.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- healthyCount → int
-
Number of packages at RiskLevel.healthy or RiskLevel.low.
no setter
- latestToolVersion → String?
-
Latest available version of pub_doctor on pub.dev.
final
- pubspecPath → String
-
Absolute or relative path to the
pubspec.yamlthat was scanned.final -
results
→ List<
DiagnosisResult> -
Per-package results, sorted by descending risk score.
final
- riskyCount → int
-
Number of packages at RiskLevel.risky.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scannedAt → DateTime
-
Timestamp of when this scan was performed.
final
- totalPackages → int
-
Total number of packages evaluated.
no setter
- warningCount → int
-
Number of packages at RiskLevel.warning.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited