MetricsAnalysisRunner class

Coordinates MetricsAnalyzer and MetricsRecordsStore to collect code quality info Use ConsoleReporter, HtmlReporter, JsonReporter or CodeClimateReporter to produce reports from collected info

Annotations
  • @immutable
  • @Deprecated('will be removed in 4.0')

Constructors

MetricsAnalysisRunner(MetricsAnalyzer _analyzer, MetricsRecordsStore _store, Iterable<String> _folders, String _rootFolder)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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
results() Iterable<FileReport>
Get results of analysis run. Will return empty iterable if run() wasn't executed yet
run() Future<void>
Perform analysis of file paths passed in constructor
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited