Package

org.opalj

issues

Permalink

package issues

Defines implicit conversions to wrap some types of analyses such that they generate results of type org.opalj.br.analyses.ReportableAnalysisResult.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. issues
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ClassComprehension extends AnyRef

    Permalink
  2. class ClassLocation extends PackageLocation with ClassComprehension

    Permalink
  3. trait CodeComprehension extends AnyRef

    Permalink
  4. class FieldLocation extends ClassLocation

    Permalink
  5. class FieldValues extends IssueDetails with MethodComprehension

    Permalink

    Describes an issue related to the value of a field.

  6. class InstructionLocation extends MethodLocation with PCLineComprehension

    Permalink
  7. case class Issue(analysis: String, relevance: Relevance, summary: String, categories: Set[String], kinds: Set[String], locations: Seq[IssueLocation], details: Traversable[IssueDetails] = Nil) extends IssueRepresentations with Product with Serializable

    Permalink

    Describes some issue found in source code.

    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!

  8. trait IssueDetails extends IssueRepresentations

    Permalink

    Information that facilitates the comprehension of a reported issue.

  9. sealed abstract class IssueLocation extends IssueRepresentations with Comparable[IssueLocation]

    Permalink

    The location of an issue.

  10. trait IssueRepresentations extends ReportableAnalysisResult

    Permalink

    Definition of the representations that can be generated from a given issue (or parts thereof).

  11. class LocalVariables extends IssueDetails

    Permalink

  12. trait MethodComprehension extends ClassComprehension

    Permalink
  13. class MethodLocation extends ClassLocation with MethodComprehension

    Permalink
  14. class MethodReturnValues extends IssueDetails with MethodComprehension

    Permalink
  15. class Operands extends IssueDetails with CodeComprehension

    Permalink
  16. trait PCLineComprehension extends MethodComprehension with CodeComprehension

    Permalink
  17. class PackageLocation extends ProjectLocation

    Permalink
  18. abstract class ProjectLocation extends IssueLocation

    Permalink
  19. final case class Relevance(value: Int) extends AnyVal with Product with Serializable

    Permalink

    Describes the overall relevance of a finding.

    Describes the overall relevance of a finding.

    When calculating the relevance of a finding you should take all properties of the associated issue into consideration:

    • kind of issue
    • category of issue
    • accuracy of the analysis
    value

    A value between 0 (undetermined), 1 (not relevant) and 100 (absolutely relevant).

Value Members

  1. object IssueCategory

    Permalink

    Collection of predefined issue categories where each category describes the quality property of the software that is affected by the issue.

  2. implicit object IssueDetailsWrites extends Writes[IssueDetails]

    Permalink
  3. object IssueKind

    Permalink

    An issue kind describes how an issue manifests itself in the source code.

  4. implicit object IssueLocationWrites extends Writes[IssueLocation]

    Permalink
  5. object IssueOrdering extends Ordering[Issue]

    Permalink

    Defines a partial order for issues.

    Defines a partial order for issues. The issues are sorted first by the relevance, then by their locations, then by the categories, then by the kinds, then by the analyses' ids and at last by the summary.

  6. object PCLineComprehension

    Permalink
  7. object Relevance extends Serializable

    Permalink

    Collection of pre-configured relevance levels.

  8. implicit object RelevanceWrites extends Writes[Relevance]

    Permalink
  9. def absoluteToRelative(path: String): String

    Permalink

    Shortens an absolute path to one relative to the current working directory.

  10. def fileToLocationIdentifier(file: File): String

    Permalink
  11. def localVariableToString(localVariable: LocalVariable, value: AnyRef): String

    Permalink

    Given a LocalVariable object and its current value a human readable String is created.

  12. def methodToIDL(accessFlags: Int, name: String, descriptor: MethodDescriptor): JsObject

    Permalink
  13. def prettifyJarUrl(jarurl: String): String

    Permalink

    Turns the jar URL format into a string better suited for the console reports.

  14. def typeToIDL(t: Type): JsValue

    Permalink
  15. def urlToLocationIdentifier(url: URL): String

    Permalink

    Converts a URL into a string, intended to be displayed as part of console reports.

    Converts a URL into a string, intended to be displayed as part of console reports.

    Absolute file names are shortened to be relative to the current directory, to avoid using up too much screen space in the console.

Inherited from AnyRef

Inherited from Any

Ungrouped