Index

C D E F G H I L M N O P R S T V W 
All Classes and Interfaces|All Packages

C

changeProperties(String, int) - Static method in class org.variantsync.boosting.eval.util.FilesFunc
Changes the debug folder path in the properties file after each experiment.
clearDebugFolders(String) - Static method in class org.variantsync.boosting.eval.util.FilesFunc
Clears all debug folders at the start of the experiment.
cloneRepositories(Path) - Method in class org.variantsync.boosting.eval.util.VEVOSUtilities
Clones all datasets listed in the default dataset file to the cloneBaseDir.
cloneRepositories(Path, Path) - Method in class org.variantsync.boosting.eval.util.VEVOSUtilities
Clones all datasets listed in the given dataset file to the cloneBaseDir.
compare(MainTree, Map<String, GroundTruth>, Set<String>, int) - Method in class org.variantsync.boosting.eval.experiments.Evaluator
Compares the given MainTree with the ground truth and evaluates the boosted traces.
compareMappings(String, String) - Method in class org.variantsync.boosting.eval.experiments.Evaluator
Compares two mappings and calculates the true positive, true negative, false positive, and false negative rates.
conductExperiment(VariantGenerationResult, int, double) - Method in class org.variantsync.boosting.eval.experiments.ExperimentRunner
Conducts an experiment using the given variant generation result, percentage, and standard deviation.
config - Variable in class org.variantsync.boosting.eval.experiments.ExperimentRunner
 
Config - Class in org.variantsync.boosting.eval.experiments
This class represents the configuration settings for the experiment.
Config(Path) - Constructor for class org.variantsync.boosting.eval.experiments.Config
Constructs a new Config object by loading properties from a specified file.
Config(Path, String) - Constructor for class org.variantsync.boosting.eval.experiments.Config
Constructs a new Config object by loading properties from a specified file.
configPath - Variable in class org.variantsync.boosting.eval.experiments.ExperimentRunner
 
configurationsToFile(Path, Sample) - Method in class org.variantsync.boosting.eval.util.VEVOSUtilities
Writes the configurations of all variants in the sample to individual files that are created in the given directory.
createJSONProperties() - Method in class org.variantsync.boosting.eval.experiments.ExperimentRunner
Creates a JsonObject with properties for the current experiment.
createJSONSingleRun(double[]) - Method in class org.variantsync.boosting.eval.experiments.ExperimentRunner
Creates a JSON object representing a single run with the given scores.

D

deleteFolder(File) - Static method in class org.variantsync.boosting.eval.util.FilesFunc
Recursively deletes a folder and all its subdirectories and files.
deleteInputfiles(String) - Static method in class org.variantsync.boosting.eval.util.FilesFunc
Deletes all product files in the specified input folder to prepare for the next test.
distributeMappings(List<Variant>, Map<String, GroundTruth>, int, int) - Static method in class org.variantsync.boosting.eval.util.RandomMapping
Distributes mappings to products based on a given percentage.
distributeMappings(Variant[], Path, Map<String, Artefact>, double, double) - Static method in class org.variantsync.boosting.eval.util.NormalDistributionMapping
Distributes mappings for products based on a given percentage and standard deviation.

E

equals(Object) - Method in record class org.variantsync.boosting.eval.util.VariantGenerationResult
Indicates whether some other object is "equal to" this one.
evalExpression(String) - Static method in class org.variantsync.boosting.eval.experiments.Evaluator
Evaluates a logical expression containing only the 'AND' operator.
evalTruthLine(String, int) - Method in class org.variantsync.boosting.eval.experiments.Evaluator
Checks for the mapping in a line of the truth table whehter it evaluates to true Truth table looks like this, for instance, line and binary represenation 0 00000 1 00001 2 00010 3 00011 4 ...
evalTruthTable(String) - Method in class org.variantsync.boosting.eval.experiments.Evaluator
Evaluates the truth table for a given mapping and returns the corresponding boolean array.
Evaluator - Class in org.variantsync.boosting.eval.experiments
Class for evaluating the result of a feature trace run.
Evaluator(TraceBoosting) - Constructor for class org.variantsync.boosting.eval.experiments.Evaluator
Constructor for the Evaluator class.
ex_repeat - Variable in class org.variantsync.boosting.eval.experiments.ExperimentRunner
 
experimentMapping() - Method in class org.variantsync.boosting.eval.experiments.Config
Retrieves the list of mapping scenarios specified for Research Questions 1 and 2.
experimentRepeats() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the number of times an experiment should be repeated.
ExperimentRunner - Class in org.variantsync.boosting.eval.experiments
This abstract class serves as a base class for running our experiments.
ExperimentRunner(Config) - Constructor for class org.variantsync.boosting.eval.experiments.ExperimentRunner
Constructor for ExperimentRunner class.
experimentWorkDirBoosting() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the working directory in which all operations of the boosting algorithm should take place.
experimentWorkDirVevos() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the working directory in which all operations of VEVOS should take place.

F

f1score(double, double) - Static method in class org.variantsync.boosting.eval.experiments.Evaluator
Calculates the F1 score based on precision and recall values.
FilesFunc - Class in org.variantsync.boosting.eval.util
Utilities class for dealing with files.
FilesFunc() - Constructor for class org.variantsync.boosting.eval.util.FilesFunc
 
findPC(Variant, Path) - Static method in class org.variantsync.boosting.eval.util.Mapping
Extracts the Product Configuration (PC) for a given Product from the corresponding .csv file.

G

generateVariants(Path, Path, SPLCommit, Sample, ArtefactFilter<SourceCodeFile>) - Method in class org.variantsync.boosting.eval.util.VEVOSUtilities
Generate all variants in the given sample to variantGenerationDir.
getStrip() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the current path strip value.
getSubjects() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the subjects to consider the experiments.
groundTruthDir() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the path to the ground truth directory.

H

hashCode() - Method in record class org.variantsync.boosting.eval.util.VariantGenerationResult
Returns a hash code value for this object.

I

initBoosting(Path, Map<String, GroundTruth>, Map<String, Path>) - Method in class org.variantsync.boosting.eval.experiments.ExperimentRunner
Initializes the TraceBoosting with the given parameters.

L

loadGroundTruth(Path) - Method in class org.variantsync.boosting.eval.util.VEVOSUtilities
Loads the ground truth from the given directory and returns all SPLCommit objects that represent successfully loaded ground truths for specific commits.
loadSubjectSpecificConfig(String, Path) - Static method in class org.variantsync.boosting.eval.experiments.ExperimentRunner
Loads a subject-specific configuration based on the given SPL name and path to the configuration file.

M

main(String...) - Static method in class org.variantsync.boosting.eval.Main
This method is the main entry point for the program.
Main - Class in org.variantsync.boosting.eval
The Main class for running the evaluation.
Main() - Constructor for class org.variantsync.boosting.eval.Main
 
mapNode(Artefact, ASTNode, ProductPosition) - Static method in class org.variantsync.boosting.eval.util.Mapping
Sets mapping for a single Node depending on PCs of the variant taken from VEVOS and translates it to the internal PC-format.
Mapping - Class in org.variantsync.boosting.eval.util
Class for controlling mappings of features to artifacts.
Mapping() - Constructor for class org.variantsync.boosting.eval.util.Mapping
 
maxFeatures() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the maximum number of features to consider during sampling.

N

NormalDistributionMapping - Class in org.variantsync.boosting.eval.util
Utilities class for distributing mappings randomly
NormalDistributionMapping() - Constructor for class org.variantsync.boosting.eval.util.NormalDistributionMapping
 
numThreads() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the number of threads to be used for the experiment.

O

org.variantsync.boosting.eval - package org.variantsync.boosting.eval
 
org.variantsync.boosting.eval.experiments - package org.variantsync.boosting.eval.experiments
 
org.variantsync.boosting.eval.util - package org.variantsync.boosting.eval.util
 

P

percentages - Variable in class org.variantsync.boosting.eval.experiments.ExperimentRunner
 
precision(double, double) - Static method in class org.variantsync.boosting.eval.experiments.Evaluator
Calculates the precision of a model based on the true positives (tp) and false positives (fp).
prepareRepos(Config) - Static method in class org.variantsync.boosting.eval.Main
Prepares the subject repositories by cloning them into the specified directory.
prepareVariants(Path, List<SPLCommit>, int) - Method in class org.variantsync.boosting.eval.experiments.ExperimentRunner
Prepares a new set of variants for a given software product line (SPL) repository, based on a list of SPL commits and a specified number of variants.

R

RandomMapping - Class in org.variantsync.boosting.eval.util
Class for determining random mapping distributions.
RandomMapping() - Constructor for class org.variantsync.boosting.eval.util.RandomMapping
 
recall(double, double) - Static method in class org.variantsync.boosting.eval.experiments.Evaluator
Calculates the recall score for a binary classification model.
repoDir() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the directory path to the subject repositories.
RQRunner - Class in org.variantsync.boosting.eval.experiments
This class represents a runner for answering our research questions.
RQRunner(Config) - Constructor for class org.variantsync.boosting.eval.experiments.RQRunner
Constructor for the RQRunner class.
run(Path, List<SPLCommit>) - Method in class org.variantsync.boosting.eval.experiments.RQRunner
Conducts the experiment by running the boosted feature tracing with different sample sizes and mapping percentages as specified in the given experiment configuration.

S

sampleSize() - Method in class org.variantsync.boosting.eval.experiments.Config
Returns the list of number of variants that should be sampled for each experiment run specified for RQ2.
sampleVariants(SPLCommit, int, int) - Method in class org.variantsync.boosting.eval.util.VEVOSUtilities
Sample a desired number of variants for a given SPLCommit object
scoresFunc(double, double, double) - Static method in class org.variantsync.boosting.eval.experiments.Evaluator
Calculates precision, recall, and F1 score based on true positives, false positives, and false negatives.
setStrip(int) - Method in class org.variantsync.boosting.eval.experiments.Config
Sets the path strip value.

T

toString() - Method in record class org.variantsync.boosting.eval.util.VariantGenerationResult
Returns a string representation of this record class.

V

variantConfigFileMap() - Method in record class org.variantsync.boosting.eval.util.VariantGenerationResult
Returns the value of the variantConfigFileMap record component.
variantGenerationDir() - Method in record class org.variantsync.boosting.eval.util.VariantGenerationResult
Returns the value of the variantGenerationDir record component.
VariantGenerationResult - Record Class in org.variantsync.boosting.eval.util
Represents the result of variant generation, including the directory where the variants were generated, a map of variant names to their corresponding ground truth objects, and a map of variant names to their corresponding configuration file paths.
VariantGenerationResult(Path, Map<String, GroundTruth>, Map<String, Path>) - Constructor for record class org.variantsync.boosting.eval.util.VariantGenerationResult
Creates an instance of a VariantGenerationResult record class.
variantGroundTruthMap() - Method in record class org.variantsync.boosting.eval.util.VariantGenerationResult
Returns the value of the variantGroundTruthMap record component.
VEVOSUtilities - Class in org.variantsync.boosting.eval.util
Utility class for using the VEVOS benchmark generator.
VEVOSUtilities() - Constructor for class org.variantsync.boosting.eval.util.VEVOSUtilities
 

W

writeFiles(double[][], int, int[], String, int, String) - Static method in class org.variantsync.boosting.eval.util.FilesFunc
Saves the results to a file in the specified filepath.
writeFiles(String, String, String) - Static method in class org.variantsync.boosting.eval.util.FilesFunc
Writes the given JSON data to a specified file.
C D E F G H I L M N O P R S T V W 
All Classes and Interfaces|All Packages