Take the 2-minute tour ×

since I discovered advantages of using Findbugs, PMD and Checkstyle I use it almost every day. But if I would like to check recently created piece of code I need to proceed analyse manually.

I would like to ask if is there any tool that covers so much metrics as PMD and/or Findbugs but works in Chekstyle-Way? I mean, I would like to see new violation immedietly as I type. Is it possible? Or maybe is there different way to achieve it?


share|improve this question
You didn't mention an IDE. Both FindBugs and PMD have Eclipse plugins. –  Perception Jan 15 '13 at 22:52
Yes, I know about it. It has been written "IDE" isteadof "Eclipse" beceuse as far as i know, there is also NetBeans integration for this tools (I don't use NetBeans). But anyway, using Eclipse's plugins I can't achieve what I would like to. –  piotrdab Jan 15 '13 at 22:57
@piotr_dabrowski It seems to me that what you want is as-you-type analysis, similar to the way netbeans and eclipse make you aware of syntax errors. If that's the case, you should make that more clear in your question. –  us2012 Jan 15 '13 at 23:00
@us2012 Ok, thanks for the tip. That's exactly what I want to achieve. I'll make a clarification in a minute;) –  piotrdab Jan 15 '13 at 23:02

3 Answers 3

up vote 1 down vote accepted

That does not exist, at least not for PMD and FindBugs. Jenkins can integrate all that checks and display/inform triggered by e.g: each source controll push.

share|improve this answer
While Jenkins is great for post-commit checking, and his won't let you see problems as you type. –  David Harkness Jan 17 '13 at 3:19
yes, as i wrote, that there does not exist on-type checking of PMD and findbugs. –  AlexWien Jan 17 '13 at 13:10

To some extent this is more-less ide dependent and it's plugin(s) that handle it. Personally I favor IntelliJ in that department. Another tool you might want to look at is Sonar. IntelliJ even used to have a plugin for it (don't think it's supported anymore, but maybe it'll get resurrected at some point).

share|improve this answer
Thanks, I use Sonar as well. It is really powerful tool but it can't analyse source code dynamically, in "Checkstyle-Way". –  piotrdab Jan 15 '13 at 22:58

The Findbugs plugin for Eclipse scans each file when you save it. While there is a one second or so delay as the class gets compiled and scanned, it works quite well.

share|improve this answer

Your Answer


