case class Issue(analysis: String, relevance: Relevance, summary: String, categories: Set[String], kinds: Set[String], locations: Seq[IssueLocation], details: Iterable[IssueDetails] = Nil) extends IssueRepresentations with Product with Serializable
Describes some issue found in source code.
- analysis
The unique id of the analysis.
- relevance
The relevance of the issue.
- summary
The issue in one short sentence (no line breaks)!
- categories
A string that uses small letters and which describes the category of the issue. The category basically describes the property of the software that is affected by this issue (see IssueCategory for further details).
- kinds
A string that uses small letters and which describes the kind of the issue. The kind describes how this issue manifests itself in the source code (see IssueKind for further details).
- locations
The source code locations related to this issue. This seq must not be empty!
- Source
- Issue.scala
- Alphabetic
- By Inheritance
- Issue
- Serializable
- Product
- Equals
- IssueRepresentations
- ReportableAnalysisResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Issue(analysis: String, relevance: Relevance, summary: String, categories: Set[String], kinds: Set[String], locations: Seq[IssueLocation], details: Iterable[IssueDetails] = Nil)
- analysis
The unique id of the analysis.
- relevance
The relevance of the issue.
- summary
The issue in one short sentence (no line breaks)!
- categories
A string that uses small letters and which describes the category of the issue. The category basically describes the property of the software that is affected by this issue (see IssueCategory for further details).
- kinds
A string that uses small letters and which describes the kind of the issue. The kind describes how this issue manifests itself in the source code (see IssueKind for further details).
- locations
The source code locations related to this issue. This seq must not be empty!
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val analysis: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val categories: Set[String]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val details: Iterable[IssueDetails]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kinds: Set[String]
- val locations: Seq[IssueLocation]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val relevance: Relevance
- val summary: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAnsiColoredString: String
Representation of this issue well suited for console output if the console supports ANSI color escapes.
Representation of this issue well suited for console output if the console supports ANSI color escapes.
If you are generating output related to (a line in) a class file, use a format as used by other compilers, e.g., CLANG and GCC:
FILENAME:[LINE:[COLUMN:]] TYPE: MESSAGE
where FILENAME denotes the name of the file, LINE is the line number if available, COLUMN is the column – which is usually not available when you analyze class files and TYPE identifies the type of the message (e.g., "note", "warning", "error", "fatal error").Line and column information is optional.
If the real filename is not available use the fully qualified name of the class in binary notation (i.e., using "/" to separate the package qualifiers) with the suffice ".class" appended.
Note that the space after the location information is required.
Example
demo/Buggy.class:100: warning: protected field in final class
- Definition Classes
- Issue → IssueRepresentations
- def toConsoleString: String
A basic representation of this issue well suited for console output.
A basic representation of this issue well suited for console output.
- Definition Classes
- IssueRepresentations → ReportableAnalysisResult
- def toEclipseConsoleString: String
A representation of this issue well suited for output to the Eclipse IDE console.
A representation of this issue well suited for output to the Eclipse IDE console.
- Definition Classes
- Issue → IssueRepresentations
- def toIDL: JsValue
A representation of this issue using the Issues Description Language (which is a JSON dialect.)
A representation of this issue using the Issues Description Language (which is a JSON dialect.)
- Definition Classes
- Issue → IssueRepresentations
- def toXHTML(basicInfoOnly: Boolean): Node
An (x)HTML5 representation of the issue, well suited for browser output.
An (x)HTML5 representation of the issue, well suited for browser output.
- Definition Classes
- Issue → IssueRepresentations
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated