Re: Features brainstorming

Petr Kuzel <[email protected]> Mon, 02 Feb 2004 17:56:03 +0100
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Message-ID <[email protected]>
Vincent Brabant wrote:

> Petr Kuzel a écrit :
> 
>> [...]
>> Background: some needs PMD presence (an extra parser) others
>> can be derived from exiting results of background processing
>> (java/srcmodel or mdr). I think that existing PMD suggestions
>> should be reimplemented over existing parser results to
>> get reasonable performance.
>> [...]
> You have to see PMD as standard tool for Suggestion, like Ant is standard
> tool for Build. Because each developper can easily build his own set of
> rules for PMD, like developper can build his own tasks,
> it's important that tasklist module continue to support PMD.

PMD is not only way for identifying possible problems.
Found problems are paired with solution (java code in tasklist/pmd)
to form a suggestion. Custom rules miss the solution part (subject of
planned PMD enhancements).

Also compare currently provided solutions from user's point of view:
  - delete unused variable (PMD)
  - delete unused import (PMD)
  - add import (javaparser)
  - create method (javaparser)
  - type cast (javaparser)
  - identifier case errors (javaparser)
you can see that most common suggestions come from non-PMD
provider in spite of fact it could be provided by PMD. Simply
actual implementation is irrelevant for most users. We need
to identify crucial suggestions and provide their fast
implementation.

I'd say that raw PMD support (covering custom queries) should be addressed
by PMD integration module rather than tasklist.

  What do you think?
  Cc.

PS: What custom PMD queries do you use?