Klasse IssueDifference

java.lang.Object
edu.hm.hafner.analysis.IssueDifference

public class IssueDifference extends Object
Computes old, new, and fixed issues based on the reports of two consecutive static analysis runs for the same software artifact.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • IssueDifference

      public IssueDifference(Report currentIssues, String referenceId, Report referenceIssues)
      Creates a new instance of IssueDifference.
      Parameter:
      currentIssues - the issues of the current report
      referenceId - ID identifying the reference report
      referenceIssues - the issues of a previous report (reference)
  • Methodendetails

    • getOutstandingIssues

      public Report getOutstandingIssues()
      Returns the outstanding issues. I.e. all issues, that are part of the previous report and that are still part of the current report.
      Gibt zurück:
      the outstanding issues
    • getNewIssues

      public Report getNewIssues()
      Returns the new issues. I.e. all issues, that are part of the current report but that have not been shown up in the previous report.
      Gibt zurück:
      the new issues
    • getFixedIssues

      public Report getFixedIssues()
      Returns the fixed issues. I.e. all issues, that are part of the previous report but that are not present in the current report anymore.
      Gibt zurück:
      the fixed issues