Issue class

A Code Climate issue represents a single instance of a real or potential code problem, detected by a static analysis Engine. Specification: https://github.com/codeclimate/platform/blob/master/spec/analyzers/SPEC.md#issues

Constructors

Issue({required String checkName, required String description, required Map<String, dynamic> location, required String severity, required String fingerprint})
Issue.fromAnalyzer(String analyzerLine)
Dart Analysis Server Specification tells us that dartanalyzer produces machine output in format AnalysisErrorSeverity|AnalysisErrorType| code|path|line|column|length|description where:
factory

Properties

checkName String
A unique name representing the static analysis check that emitted this issue.
getter/setter pair
description String
A string explaining the issue that was detected.
getter/setter pair
fingerprint String
A unique, deterministic identifier for the specific issue being reported to allow a user to exclude it from future analyses.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
location Map<String, dynamic>
A Location object representing the place in the source code where the issue was discovered.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String
A Severity string (info, minor, major, critical, or blocker) describing the potential impact of the issue found.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Constants

type → const String
Must always be "issue".