AnalysisResult class

Result of analyzing a project for i18n migration

Constructors

AnalysisResult({required int totalStrings, required int extractableStrings, required int technicalStrings, required int ambiguousStrings, required int interpolationCount, required int pluralCount, required double averageConfidence, required List<String> filesAnalyzed, required Map<String, FileAnalysis> fileBreakdown})
const
AnalysisResult.empty()
Create an empty analysis result
factory

Properties

ambiguousStrings int
Number of strings that are ambiguous and require manual review
final
averageConfidence double
Average confidence score across all extractable strings (0-100)
final
extractableStrings int
Number of strings classified as extractable UI text
final
fileBreakdown Map<String, FileAnalysis>
Detailed string breakdown by file
final
filesAnalyzed List<String>
List of files analyzed
final
hashCode int
The hash code for this object.
no setterinherited
interpolationCount int
Number of interpolation patterns detected ($var, ${expr})
final
pluralCount int
Number of plural patterns detected (ternary, if/else with count)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
technicalStrings int
Number of strings classified as technical/code strings
final
totalStrings int
Total number of string literals found
final

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