--posting it here as I earlier posted it on performance forum and am not sure if that forum is correct or not-----------
I am working on a project where the architect team has asked us to use some tools for efficient coding like PMD, Findbugs etc. I went through the details of these tools and found that FindBugs should be more useful than PMD.
would like to know if you can educate me more on this.
While there's some overlap in functionality, they're definitely different tools. FindBugs is *specifically* targeted at finding *bugs* (hence the name). PMD is a more general-purpose tool and will find *some* of the same things FindBugs will, but doesn't do the same kind of analyses FindBugs does.
What specifically do you want to know?
posted 9 years ago
I want to ensure that no unintnetional bugs are there in the code that we write.
nitinram agarwal wrote:I want to ensure that no unintnetional bugs are there in the code that we write.
Hm... could you define "bug"? You cannot expect any miracles from such kind of tools due to the fact they are only making are static analysis of your code. (Which btw. can also lead to false positives).
Maybe asking for the obvious: are you already writing unittests?
No one can expect miracles but these tools are so useful and can spot possible bugs.
According to my observation, a really big number of developers don't live in crimson world of test driven development.
Test driven development should be shared culture among team members in order to exploit it is true benefit.