Uses of Class
org.variantsync.diffdetective.datasets.Repository
Package
Description
-
Uses of Repository in org.variantsync.diffdetective
Modifier and TypeFieldDescriptionprivate final Function<Repository,
DiffFilter> AnalysisRunner.Options.getFilterForRepo
The field for thegetFilterForRepo
record component.private final Function<Repository,
PatchDiffParseOptions> AnalysisRunner.Options.getParseOptionsForRepo
The field for thegetParseOptionsForRepo
record component.Modifier and TypeMethodDescriptionAnalysisRunner.Options.getFilterForRepo()
Returns the value of thegetFilterForRepo
record component.AnalysisRunner.Options.getParseOptionsForRepo()
Returns the value of thegetParseOptionsForRepo
record component.Modifier and TypeMethodDescriptionstatic void
AnalysisRunner.run
(AnalysisRunner.Options options, BiConsumer<Repository, Path> validation) Main method to start the analysis on a set of git repositories.ModifierConstructorDescriptionOptions
(Path repositoriesDirectory, Path outputDirectory, Path datasetsFile, Function<Repository, PatchDiffParseOptions> getParseOptionsForRepo, Function<Repository, DiffFilter> getFilterForRepo, boolean preloadReposBeforeAnalysis, boolean pullRepositoriesBeforeAnalysis) Creates an instance of aOptions
record class. -
Uses of Repository in org.variantsync.diffdetective.analysis
Modifier and TypeMethodDescriptionAnalysis.getRepository()
The repository this analysis is run on.Modifier and TypeMethodDescriptionstatic void
Analysis.forEachRepository
(List<Repository> repositoriesToAnalyze, Path outputDir, BiConsumer<Repository, Path> analyzeRepository) RunsanalyzeRepository
on each repository, skipping repositories where an analysis was already run.static void
Analysis.forEachRepository
(List<Repository> repositoriesToAnalyze, Path outputDir, BiConsumer<Repository, Path> analyzeRepository) RunsanalyzeRepository
on each repository, skipping repositories where an analysis was already run.ModifierConstructorDescriptionAnalysis
(String taskName, List<Analysis.Hooks> hooks, Repository repository, Path outputDir) Constructs the state used during an analysis. -
Uses of Repository in org.variantsync.diffdetective.analysis.strategies
Modifier and TypeMethodDescriptionvoid
AnalysisMonitor.start
(Repository repo, Path outputPath) void
AnalysisStrategy.start
(Repository repo, Path outputPath) Invoked when the analysis starts.void
AnalyzeAllAndExport.start
(Repository repo, Path outputPath) void
AnalyzeAndExportIncrementally.start
(Repository repo, Path outputPath) void
CompositeAnalysisStrategy.start
(Repository repo, Path outputPath) -
Uses of Repository in org.variantsync.diffdetective.datasets
Modifier and TypeMethodDescriptionDatasetFactory.create
(DatasetDescription dataset) Loads the repository of the given dataset description.static Repository
Repository.fromDirectory
(Path dirPath, String repoName) Creates a repository from an existing directory.static Repository
Repository.fromRemote
(Path localPath, URI repoUri, String repoName) Creates a repository from a remote repository.static Repository
Creates a repository from a local zip file.Repository.setDiffFilter
(DiffFilter filter) Set the diff filter for reading this repository.Repository.setParseOptions
(PatchDiffParseOptions parseOptions) Set options for parsing parts of this repository's evolution history.Modifier and TypeMethodDescriptionDatasetFactory.createAll
(Collection<DatasetDescription> datasets, boolean preload, boolean pull) RunsDatasetFactory.create(org.variantsync.diffdetective.datasets.DatasetDescription)
for all given dataset description.static Optional<Repository>
Repository.tryFromRemote
(Path localDir, String repoUri, String repoName) Creates a repository from a remote repository. -
Uses of Repository in org.variantsync.diffdetective.datasets.predefined
Modifier and TypeMethodDescriptionstatic Repository
Marlin.cloneFromGithubTo
(Path localDir) Clones Marlin from Github.static Repository
StanciulescuMarlin.fromZipInDiffDetectiveAt
(Path pathToDiffDetective) Instance for the default predefined Marlin repository. -
Uses of Repository in org.variantsync.diffdetective.diff.git
ModifierConstructorDescriptionGitDiffer
(Repository repository) Create a differ operating on the given repository. -
Uses of Repository in org.variantsync.diffdetective.examplesearch
Modifier and TypeMethodDescriptionstatic Analysis
Main.findExamplesIn
(Repository repo, Path repoOutputDir) -
Uses of Repository in org.variantsync.diffdetective.experiments.esecfse22
Modifier and TypeFieldDescriptionstatic final BiFunction<Repository,
Path, Analysis> EditClassValidation.AnalysisFactory
Modifier and TypeMethodDescriptionstatic LineGraphExportOptions<DiffLinesLabel>
EditClassValidation.ValidationExportOptions
(Repository repository) Creates new export options for running the validation on the given repository. -
Uses of Repository 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. -
Uses of Repository in org.variantsync.diffdetective.mining
Modifier and TypeFieldDescriptionstatic BiFunction<Repository,
Path, Analysis> VariationDiffMiner.AnalysisFactory
Modifier and TypeMethodDescriptionstatic LineGraphExportOptions<DiffLinesLabel>
VariationDiffMiner.MiningExportOptions
(Repository repository) static List<VariationDiffTransformer<DiffLinesLabel>>
VariationDiffMiner.Postprocessing
(Repository repository) -
Uses of Repository in org.variantsync.diffdetective.variation.diff
Modifier and TypeMethodDescriptionstatic org.variantsync.functjonal.Result<VariationDiff<DiffLinesLabel>,
List<DiffError>> VariationDiff.fromPatch
(PatchReference patchReference, Repository repository) Parses a patch of a Git repository. -
Uses of Repository in org.variantsync.diffdetective.variation.diff.parse
Modifier and TypeMethodDescriptionstatic CommitDiff
VariationDiffParser.parseCommit
(Repository repo, String commitHash) Parses the given commit of the given repository.static PatchDiff
VariationDiffParser.parsePatch
(Repository repo, String file, String commitHash) Parses the given patch of the given repository.