Skip to content
New issue

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

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

Already on GitHub? # to your account

Support for incremental analysis #56

Open
mithuns opened this issue May 19, 2018 · 2 comments
Open

Support for incremental analysis #56

mithuns opened this issue May 19, 2018 · 2 comments

Comments

@mithuns
Copy link

mithuns commented May 19, 2018

This is more of a question than reporting a issue, does this support doing incremental analysis by adding
cache property to plugin configuration ?
Or something on the similar lines, the general idea is , if only 5 lines of code were changed since last commit, spotbugs does not need to analyze the entire repository code.

@mithuns
Copy link
Author

mithuns commented Aug 14, 2018

Is it possible ? Missing ? A potential enhancement ? may be

@iloveeclipse
Copy link
Member

In Eclipse plugin we do a trick to reduce the analysis to only changed classes (we run on "save" editor). This is faster, but this does not find all possible issues and also reports few false positives like "method xyz not used" (because it only analyses a subset of application classes).

Nevertheless you could try this approach in your case.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants