A few compiler errors!!!
I corrected those errors and executed the program. I was happy!
A few years later....
I met
Years passed again! I started to write bigger programs. I started to use a few static analysis tools to make sure my code is of good quality. I use both PMD and Findbugs. But I feel as if I have gone a few years before. I feel as if I am using the notepad again.
To see the code analysis results, I need to complete the coding, then execute the static analysis tools. PMD and Findbugs together might show more than 100 errors.
It was good if the code analysis tools were integrated with JDT. If I type a piece of code, the code should be analysed by the tools on the fly and bring the results. The static analysis tool should not make the end user to wait till he/she manually triggers the analysis.
I could've raised an
Any thoughts / comments / action over this issue are welcome.
madhu
> To see the code analysis results,
ReplyDelete> I need to complete the coding,
> then execute the static analysis tools.
FindBugs can do incremental analysis on save. Just enable Project->Properties->FindBugs->Run Automatically.
Thanks Andrei for pointing that out. Infact, even PMD has a similar feature, which runs the analysis on click of 'save'.
ReplyDeleteThis blog seems to be invalid now. Anyway, this blog helped me to learn about these features.
Hi, if your working on any C/C++ projects you might like to try our tool "Goanna", that's integrated with CDT.
ReplyDeletehttp://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-1523.html