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 Location location, required String severity, required String fingerprint, required List<
String> categories, String? content}) - 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
-
categories
↔ List<
String> -
getter/setter pair
- checkName ↔ String
-
A unique name representing the static analysis check
that emitted this issue.
getter/setter pair
- content ↔ String?
-
A markdown snippet describing the issue,
including deeper explanations and links to other resources.
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 ↔ Location
-
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