There are limitations to the "quick fix" abilities provided by this 
approach, /but/ I greatly value this approach as it forces the focus 
onto the resulting code, not the grammar and syntax.

PMD has some good stuff too -- and I'd advise using both.  On the flip 
side in an organization it and other source based analyzers can fall 
prey to political machinations towards the one true style and other 
silliness that has nothing to do with bugs and all to do with politics, 
wasting time, and ticking off developers.  This would not be the case if 
PMD provided no stylistic warnings, etc, but it and most other 
source-based analyzers can't seem to resist the temptation.

--
Jess Holle

Reinier Zwitserloot wrote:
> One major, humongous, huge, enormous, incredible STUPID aspect of
> FindBugs is that it works on class files.
>
> D'oh.
>
> Source-level static analysis means your error/warning is better
> focused on the problematic AST Node, and its much easier to program
> 'quick fixes' right in there. I'm still waiting for a rewrite of
> findbugs that works on source and not class files. Until then, I
> understand looking at findbugs, going: Neat, we should have something
> like that! - and then not using it all and rewriting its features
> instead. It's unfortunate that the various efforts happening to get
> there aren't communicating.
>
> On Sep 5, 12:15 am, Casper Bang <[EMAIL PROTECTED]> wrote:
>   
>> We used to say "If it compiles, the crap works". Now a day, with all
>> the annotation cr... stuff, this doesn't seem to hold true any longer.
>>
>> /Casper
>>
>> On Sep 4, 10:38 pm, Christian Catchpole <[EMAIL PROTECTED]>
>> wrote:
>>
>>     
>>> I'm thinking of writing something called HideBugs, which rather than
>>> pointing them out, simply obfuscates them..  What you don't know won't
>>> hurt you I reckon.   Michael, you use something similar don't you? :)
>>>       
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to