ClassTrim
Description
The experiment dataset is organized into two main folders: ClassTrim and baseline. The ClassTrim folder contains all raw experimental data produced by our proposed model. It includes detailed execution records, refactoring recommendations, and intermediate results generated during the experiments. The baseline folder contains the complete records of how the baseline tools were executed, along with the refactoring results produced by each baseline approach. Each folder is accompanied by a dedicated README.md file that precisely explains the directory structure, file formats, and the semantics of each data file. At the top level of the dataset, experiment-result.xlsx and baseline.xlsx provide summarized results derived from the raw data. These two files aggregate all experimental outcomes and serve as the direct data source for the tables reported in the paper.
Files
Steps to reproduce
1. visit https://anonymous.4open.science/r/ClassTrim-6D15 , clone source code and check the prerequisites. 2. Configure where the output data would be store in src/main/resources/config.properties. 3. Run org.classtrim.Main to execute proposed model on each project to replicate ClassTrim. 4. Run org.classtrim.baseline.BaselineRefactor to reproduce the baseline comparison experiment.
Institutions
- East China Normal UniversityShanghai, Shanghai