FileAnalysisResult class
Result of analyzing a single file.
Constructors
-
FileAnalysisResult({required String path, required FileMaintainabilityResult? fileResult, required List<
FunctionMetrics> functions, String? error}) -
const
Properties
- error → String?
-
Error message if analysis failed.
final
- fileResult → FileMaintainabilityResult?
-
File-level maintainability result.
final
-
functions
→ List<
FunctionMetrics> -
Function-level metrics.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
no setter
- path → String
-
File path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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