Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using PurityChecker from Command Line #819

Open
Abhiram98 opened this issue Dec 11, 2024 · 2 comments
Open

Using PurityChecker from Command Line #819

Abhiram98 opened this issue Dec 11, 2024 · 2 comments

Comments

@Abhiram98
Copy link

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.

@tsantalis
Copy link
Owner

tsantalis commented Dec 11, 2024

@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).

@Abhiram98
Copy link
Author

Yes, I am using the JSON output from the tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants