Tuesday, July 10, 2007

PMD integration -For better quality

To run the PMD on the entire source code, I used the below task:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    
       
       
           rulesets/favorites.xml
           rulesets/logging-java.xml
           basic
           
           
               
           
       
   
 



--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
One need's to add the pmd jar's( pmd-4.0rc1 ) to the class path of ant as well to run the report on the complete source.

Source forge link : pmd.sourceforge.net

No comments: