Published August 7, 2024 | Version v1

Replication Package for MORCoRA: Multi-Objective Refactoring Recommendation Considering Review Availability

  • 1. ROR icon Tokyo Institute of Technology

Description

This is the replication package for MORCoRA: Multi-Objective Refactoring Recommendation Considering Review Availability


Refactoring sequences searched by MORCoRA

The 6 directories contain the refactoring sequences searched by MORCoRA.
The name of each directory is the name of the repository introduced in Table 2. Dataset.

Each directory includes 6 CSV files.
The name of the CSV file represents the search algorithm used to search refactoring sequences.

Note that NsgaiiN represents using the NSGA-II algorithm without considering the review availability objective, which is the RA-  in Section 4.5.

In each CSV file, a single row is the refactoring sequences searched and the recommended reviewers for it. The sequence with no appropriate reviewers will be noted as No appropriate expertise reviewer.


In each CSV file, a row consists of multiple columns, the last column represents the recommended reviewer, and the rest columns represent elements in the refactoring sequences.
Each element consists of:
  • ROType: refactoring operation type
  • class1info: class1 in the Table 1. Refactoring Operations in the paper. It is the information of the source class where the number before # represents the access modifiers according to modifiers and their corresponding int values, the name after # represents the name for the class
  • class1path: the path to the file containing the class
  • class2info: class2 in the Table 1. Refactoring Operations the formation of the target class
  • class2path: the path to the file containing the class
  • target: it can be "class" or "method" or "field" according to the refactoring type. The number before # represents the access modifier. The name after # is the name of the "class" or "method" or "field", and its type is revealed after the @ symbol.


Manually review results
The manual review results of the 60 solutions introduced in Section 4.3 is recorded in the manually_review_60_solutions.csv

It includes 6 columns:
  • Repository: The name of the repository.
  • Recommended Refactoring Operations: the searched refactoring sequence.
  • Recommended Reviewer: the reviewer recommended to review the refactoring sequence.
  • Reviewable: If no appropriate expertise reviewer is found for the sequence, the value is "0", otherwise "1".
  • Code smell Eliminated: The code smell type detected by JDeodorant that the recommended refactoring can eliminate. If the refactoring sequence cannot eliminate any code smell, then it is "No".
  • Valid: If the refactoring sequence is recommended with appropriate reviewer (value in the column "Reviewable" is "1") and meaningful, and eliminates at least one code smell, the value is "1", otherwise "0".

Files

IBEA.csv

Files (436.0 kB)

Name Size Download all
md5:8636fa5fef1d9593114ef015383be6c4
16.8 kB Preview Download
md5:3bdd8b9245de246b12910ee133895e4f
49.6 kB Preview Download
md5:b0628a0529fd98cce07e4cb7bd039478
63.7 kB Preview Download
md5:d65b081e3b6a4e36b4aad5101fb4eb92
103.6 kB Preview Download
md5:c196c22e2c238b74fa9972cf53201795
53.5 kB Preview Download
md5:1fc63ede16a8dd5e01313afb49626b69
57.9 kB Preview Download
md5:7fa215ab9d97d5830693a862585e997a
2.9 kB Preview Download
md5:5cfef4abe46d2247deaf4ed3ec793568
88.0 kB Preview Download