Uses of Class
org.variantsync.diffdetective.analysis.Analysis
Package
Description
-
Uses of Analysis in org.variantsync.diffdetective.analysis
Modifier and TypeMethodDescriptiondefault boolean
Analysis.Hooks.analyzeVariationDiff
(Analysis analysis) The main hook for analyzing non-empty diff trees.boolean
EditClassOccurenceAnalysis.analyzeVariationDiff
(Analysis analysis) boolean
FilterAnalysis.analyzeVariationDiff
(Analysis analysis) boolean
LineGraphExportAnalysis.analyzeVariationDiff
(Analysis analysis) boolean
PreprocessingAnalysis.analyzeVariationDiff
(Analysis analysis) boolean
StatisticsAnalysis.analyzeVariationDiff
(Analysis analysis) default void
Analysis.Hooks.beginBatch
(Analysis analysis) void
EditClassOccurenceAnalysis.beginBatch
(Analysis analysis) void
LineGraphExportAnalysis.beginBatch
(Analysis analysis) void
StatisticsAnalysis.beginBatch
(Analysis analysis) default boolean
Analysis.Hooks.beginCommit
(Analysis analysis) boolean
EditClassOccurenceAnalysis.beginCommit
(Analysis analysis) boolean
StatisticsAnalysis.beginCommit
(Analysis analysis) default boolean
Analysis.Hooks.beginPatch
(Analysis analysis) default void
void
void
void
default void
void
void
void
void
default void
static AnalysisResult
Analysis.forSingleCommit
(String commitHash, Analysis analysis) Runs the analysis for the repository given inAnalysis(java.lang.String, java.util.List<org.variantsync.diffdetective.analysis.Analysis.Hooks>, org.variantsync.diffdetective.datasets.Repository, java.nio.file.Path)
on the given commit only.static void
Analysis.forSinglePatch
(String commitHash, String fileName, Analysis analysis) Runs the analysis for the repository given inAnalysis(java.lang.String, java.util.List<org.variantsync.diffdetective.analysis.Analysis.Hooks>, org.variantsync.diffdetective.datasets.Repository, java.nio.file.Path)
on the given patch only.default void
Analysis.Hooks.initializeResults
(Analysis analysis) Initialization hook forgetResult()
.void
EditClassOccurenceAnalysis.initializeResults
(Analysis analysis) void
FilterAnalysis.initializeResults
(Analysis analysis) void
LineGraphExportAnalysis.initializeResults
(Analysis analysis) void
StatisticsAnalysis.initializeResults
(Analysis analysis) default void
Analysis.Hooks.onFailedCommit
(Analysis analysis) Signals a parsing failure of all patches in the current commit.void
StatisticsAnalysis.onFailedCommit
(Analysis analysis) default void
Analysis.Hooks.onFailedParse
(Analysis analysis) Signals a parsing failure of some patch in the current commit.default boolean
Analysis.Hooks.onParsedCommit
(Analysis analysis) Signals the completion of the commit diff extraction.boolean
LineGraphExportAnalysis.onParsedCommit
(Analysis analysis) boolean
StatisticsAnalysis.onParsedCommit
(Analysis analysis) Modifier and TypeMethodDescriptionstatic AnalysisResult
Analysis.forEachCommit
(Supplier<Analysis> analysis) Same asforEachCommit(Supplier, int, int)
.static AnalysisResult
Analysis.forEachCommit
(Supplier<Analysis> analysisFactory, int commitsToProcessPerThread, int nThreads) Runs the analysis for the repository given inAnalysis(java.lang.String, java.util.List<org.variantsync.diffdetective.analysis.Analysis.Hooks>, org.variantsync.diffdetective.datasets.Repository, java.nio.file.Path)
.protected <Hook> boolean
Analysis.runFilterHook
(ListIterator<Hook> hook, org.apache.commons.lang3.function.FailableBiFunction<Hook, Analysis, Boolean, Exception> callHook) protected <Hook> void
Analysis.runHook
(ListIterator<Hook> hook, org.apache.commons.lang3.function.FailableBiConsumer<Hook, Analysis, Exception> callHook) protected <Hook> void
Analysis.runReverseHook
(ListIterator<Hook> hook, org.apache.commons.lang3.function.FailableBiConsumer<Hook, Analysis, Exception> callHook) -
Uses of Analysis in org.variantsync.diffdetective.examplesearch
Modifier and TypeMethodDescriptionstatic Analysis
Main.findExamplesIn
(Repository repo, Path repoOutputDir) Modifier and TypeMethodDescriptionboolean
ExampleFinder.analyzeVariationDiff
(Analysis analysis) private boolean
ExampleFinder.checkIfExample
(Analysis analysis, String localDiff) private void
ExampleFinder.exportExample
(Analysis analysis, String tdiff, VariationDiff<DiffLinesLabel> vdiff, Path outputDir) void
ExampleFinder.initializeResults
(Analysis analysis) -
Uses of Analysis in org.variantsync.diffdetective.experiments.esecfse22
Modifier and TypeFieldDescriptionstatic final BiFunction<Repository,
Path, Analysis> EditClassValidation.AnalysisFactory
Modifier and TypeMethodDescriptionboolean
EditClassValidation.analyzeVariationDiff
(Analysis analysis) void
EditClassValidation.initializeResults
(Analysis analysis) -
Uses of Analysis in org.variantsync.diffdetective.experiments.thesis_bm
Modifier and TypeMethodDescriptionboolean
ConstructionValidation.analyzeVariationDiff
(Analysis analysis) void
ConstructionValidation.beginBatch
(Analysis analysis) void
void
ConstructionValidation.initializeResults
(Analysis analysis) private VariationDiff<DiffLinesLabel>
ConstructionValidation.parseVariationTree
(Analysis analysis, org.eclipse.jgit.revwalk.RevCommit commit) -
Uses of Analysis in org.variantsync.diffdetective.experiments.views
Modifier and TypeMethodDescriptionprivate static Analysis
Main.AnalysisFactory
(Repository repo, Path repoOutputDir) Creates the analysis to perform on the given repository to run our feasibility study.Modifier and TypeMethodDescriptionboolean
ViewAnalysis.analyzeVariationDiff
(Analysis analysis) Runs the feasibility study on the current variation diff.void
Writes the results of this analysis to disk as CSV file.void
ViewAnalysis.initializeResults
(Analysis analysis) private void
ViewAnalysis.runRelevanceExperiment
(Analysis analysis, VariationDiff<DiffLinesLabel> d, Relevance rho) Benchmark for view generation on the given variation diff with the given relevance. -
Uses of Analysis in org.variantsync.diffdetective.mining
Modifier and TypeFieldDescriptionstatic BiFunction<Repository,
Path, Analysis> VariationDiffMiner.AnalysisFactory