Class AnalysisResult

java.lang.Object
org.variantsync.diffdetective.analysis.AnalysisResult
All Implemented Interfaces:
Metadata<AnalysisResult>

public final class AnalysisResult extends Object implements Metadata<AnalysisResult>
The result of a Analysis. This result stores various metadata and statistics that we use for the validation of our ESEC/FSE paper. An AnalysisResult also allows to store any custom metadata or information.
Author:
Paul Bittner
  • Field Details

    • NO_REPO

      public static final String NO_REPO
      Placeholder name for data that is not associated to a repository or where the repository is unknown.
      See Also:
    • ERROR_BEGIN

      private static final String ERROR_BEGIN
      See Also:
    • ERROR_END

      private static final String ERROR_END
      See Also:
    • repoName

      public String repoName
      The repo from which the results where collected.
    • taskName

      public String taskName
    • diffErrors

      public final org.variantsync.functjonal.map.MergeMap<DiffError,Integer> diffErrors
    • results

      private final Map<String,Metadata<?>> results
    • ISEMIGROUP

      public static final org.variantsync.functjonal.category.InplaceSemigroup<AnalysisResult> ISEMIGROUP
      Inplace semigroup for AnalysisResult. Merges the second results values into the first result.
    • IMONOID

      public static final org.variantsync.functjonal.category.InplaceMonoid<AnalysisResult> IMONOID
  • Constructor Details

    • AnalysisResult

      public AnalysisResult()
    • AnalysisResult

      public AnalysisResult(String repoName)
      Creates an empty analysis result for the given repo.
      Parameters:
      repoName - The repo for which to collect results.
  • Method Details