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.getFilterForRepoThe field for thegetFilterForReporecord component.private final Function<Repository, PatchDiffParseOptions> AnalysisRunner.Options.getParseOptionsForRepoThe field for thegetParseOptionsForReporecord component.Methods in org.variantsync.diffdetective that return types with arguments of type RepositoryModifier and TypeMethodDescriptionAnalysisRunner.Options.getFilterForRepo()Returns the value of thegetFilterForReporecord component.AnalysisRunner.Options.getParseOptionsForRepo()Returns the value of thegetParseOptionsForReporecord component.Method parameters in org.variantsync.diffdetective with type arguments of type RepositoryModifier and TypeMethodDescriptionstatic voidAnalysisRunner.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 aOptionsrecord 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 voidAnalysis.forEachRepository(List<Repository> repositoriesToAnalyze, Path outputDir, BiConsumer<Repository, Path> analyzeRepository) RunsanalyzeRepositoryon each repository, skipping repositories where an analysis was already run.static voidAnalysis.forEachRepository(List<Repository> repositoriesToAnalyze, Path outputDir, BiConsumer<Repository, Path> analyzeRepository) RunsanalyzeRepositoryon 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 TypeMethodDescriptionvoidAnalysisMonitor.start(Repository repo, Path outputPath) voidAnalysisStrategy.start(Repository repo, Path outputPath) Invoked when the analysis starts.voidAnalyzeAllAndExport.start(Repository repo, Path outputPath) voidAnalyzeAndExportIncrementally.start(Repository repo, Path outputPath) voidCompositeAnalysisStrategy.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 RepositoryRepository.fromDirectory(Path dirPath, String repoName) Creates a repository from an existing directory.static RepositoryRepository.fromRemote(Path localPath, URI repoUri, String repoName) Creates a repository from a remote repository.static RepositoryCreates 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.Methods in org.variantsync.diffdetective.datasets with parameters of type RepositoryModifier and TypeMethodDescriptionIterator<org.eclipse.jgit.revwalk.RevCommit> CommitLister.listCommits(Repository repository) -
Uses of Repository in org.variantsync.diffdetective.datasets.predefined
Methods in org.variantsync.diffdetective.datasets.predefined that return RepositoryModifier and TypeMethodDescriptionstatic RepositoryMarlin.cloneFromGithubTo(Path localDir) Clones Marlin from Github.static RepositoryStanciulescuMarlin.fromZipInDiffDetectiveAt(Path pathToDiffDetective) Instance for the default predefined Marlin repository. -
Uses of Repository in org.variantsync.diffdetective.diff.git
Methods in org.variantsync.diffdetective.diff.git with parameters of type RepositoryModifier and TypeMethodDescriptionstatic CommitDiffResultGitDiffer.createCommitDiff(Repository repository, org.eclipse.jgit.revwalk.RevCommit parentCommit, org.eclipse.jgit.revwalk.RevCommit childCommit) Creates a CommitDiff that describes all changes made by the given childCommit to the given parentCommit.static CommitDiffResultGitDiffer.createCommitDiffFromFirstParent(Repository repository, String commitHash) static CommitDiffResultGitDiffer.createCommitDiffFromFirstParent(Repository repository, org.eclipse.jgit.revwalk.RevCommit currentCommit) Creates a CommitDiff from a given commit.static CommitDiffResultGitDiffer.createWorkingTreeDiff(Repository repository, org.eclipse.jgit.revwalk.RevCommit commit) The same asGitDiffer.createCommitDiff(Repository, RevCommit, RevCommit)but diffs the given commit against the current working tree.static BufferedReaderGitDiffer.getBeforeFullFile(Repository repository, org.eclipse.jgit.revwalk.RevCommit commit, String filename) Gets the full content of a file before a commit.private static CommitDiffResultGitDiffer.getPatchDiffs(Repository repository, org.eclipse.jgit.treewalk.AbstractTreeIterator prevTreeParser, org.eclipse.jgit.treewalk.AbstractTreeIterator currentTreeParser, org.eclipse.jgit.revwalk.RevCommit parentCommit, org.eclipse.jgit.revwalk.RevCommit childCommit) Obtains the CommitDiff between two commit's trees. -
Uses of Repository in org.variantsync.diffdetective.examplesearch
Methods in org.variantsync.diffdetective.examplesearch with parameters of type RepositoryModifier and TypeMethodDescriptionstatic AnalysisMain.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.AnalysisFactoryMethods 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 AnalysisMain.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.AnalysisFactoryMethods 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 CommitDiffVariationDiffParser.parseCommit(Repository repo, String commitHash) Parses the given commit of the given repository.static PatchDiffVariationDiffParser.parsePatch(Repository repo, String file, String commitHash) Parses the given patch of the given repository.