JExtract is a Extract Method Refactoring recommendation tool
Follow the first step here to setup your eclipse environment.
-
Set the following environment variable
PROJECT_NAMEPROJECT_PATHDATA_FILE- file containing the list of refactorings in the oracle. Use the same schema as this file.OUT_DIRECTORY- results from running jextract go here.
-
Launch Jextract
-
Right click on project:
Jextract -> Find Extract Method Opportuniies -> <Choose Settings> -> OK -
Results of running JExtract will be saved in this format:
OUT_DIRECTORY/<PROJECT-NAME>-<COUNT>.txt