Uses of Class
org.variantsync.diffdetective.datasets.Repository
Packages that use Repository
Package
Description
-
Uses of Repository in org.variantsync.diffdetective
Fields in org.variantsync.diffdetective with type parameters of type RepositoryModifier 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.Methods in org.variantsync.diffdetective that return types with arguments of type RepositoryModifier and TypeMethodDescriptionAnalysisRunner.Options.getFilterForRepo()
Returns the value of thegetFilterForRepo
record component.AnalysisRunner.Options.getParseOptionsForRepo()
Returns the value of thegetParseOptionsForRepo
record component.Method parameters in org.variantsync.diffdetective with type arguments of type RepositoryModifier and TypeMethodDescriptionstatic void
AnalysisRunner.run
(AnalysisRunner.Options options, BiConsumer<Repository, Path> validation) Main method to start the analysis on a set of git repositories.Constructor parameters in org.variantsync.diffdetective with type arguments of type RepositoryModifierConstructorDescriptionOptions
(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
Fields in org.variantsync.diffdetective.analysis declared as RepositoryMethods in org.variantsync.diffdetective.analysis that return RepositoryModifier and TypeMethodDescriptionAnalysis.getRepository()
The repository this analysis is run on.Method parameters in org.variantsync.diffdetective.analysis with type arguments of type RepositoryModifier 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.Constructors in org.variantsync.diffdetective.analysis with parameters of type RepositoryModifierConstructorDescriptionAnalysis
(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
Fields in org.variantsync.diffdetective.analysis.strategies declared as RepositoryMethods in org.variantsync.diffdetective.analysis.strategies with parameters of type RepositoryModifier 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
Methods in org.variantsync.diffdetective.datasets that return RepositoryModifier 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.Methods in org.variantsync.diffdetective.datasets that return types with arguments of type RepositoryModifier 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
Methods in org.variantsync.diffdetective.datasets.predefined that return RepositoryModifier 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
Constructors in org.variantsync.diffdetective.diff.git with parameters of type RepositoryModifierConstructorDescriptionGitDiffer
(Repository repository) Create a differ operating on the given repository. -
Uses of Repository in org.variantsync.diffdetective.examplesearch
Methods in org.variantsync.diffdetective.examplesearch with parameters of type RepositoryModifier and TypeMethodDescriptionstatic Analysis
Main.findExamplesIn
(Repository repo, Path repoOutputDir) -
Uses of Repository in org.variantsync.diffdetective.experiments.esecfse22
Fields in org.variantsync.diffdetective.experiments.esecfse22 with type parameters of type RepositoryModifier and TypeFieldDescriptionstatic final BiFunction<Repository,
Path, Analysis> EditClassValidation.AnalysisFactory
Methods in org.variantsync.diffdetective.experiments.esecfse22 with parameters of type RepositoryModifier 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
Methods in org.variantsync.diffdetective.experiments.views with parameters of type RepositoryModifier 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
Fields in org.variantsync.diffdetective.mining with type parameters of type RepositoryModifier and TypeFieldDescriptionstatic BiFunction<Repository,
Path, Analysis> VariationDiffMiner.AnalysisFactory
Methods in org.variantsync.diffdetective.mining with parameters of type RepositoryModifier 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
Methods in org.variantsync.diffdetective.variation.diff with parameters of type RepositoryModifier 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
Methods in org.variantsync.diffdetective.variation.diff.parse with parameters of type RepositoryModifier 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.