RefactoringMiner icon indicating copy to clipboard operation
RefactoringMiner copied to clipboard

Using PurityChecker from Command Line

Open Abhiram98 opened this issue 1 year ago • 2 comments

Hi Professor, thanks for the amazing tool!

I saw that the PurityChecker was recently integrated into the main branch, and was wondering if there was a way to invoke it from the command line? I see that the documentation provides a way to call it from it's Java API.

Abhiram98 avatar Dec 11 '24 02:12 Abhiram98

@Abhiram98

I guess you are using the JSON output of the tool. We could add the purity information in the JSON file.

The current implementation is rather conservative. I mean if it flags a refactoring as pure, it is highly probable to be pure (high precision), but it also happens to flag some pure refactorings as impure (lower recall).

tsantalis avatar Dec 11 '24 15:12 tsantalis

Yes, I am using the JSON output from the tool

Abhiram98 avatar Dec 12 '24 00:12 Abhiram98