• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

PMD tool

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I m using pmd in yasca static code analyzer tool. I need to define a new ruleset, which excludes the CyclomaticComplexity rule from rulesets/codesize.xml. I defined a new ruleset: ruleset.xml in the pmd-4.2.x\rulesets folder. i added this rulset in the rulesets.properties file. I build the jar file and used this jar file in yasca tool. but it did not exclude the rule. I got all warnings related to CyclomaticComplexity . Please help as this is urgent.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why not create a new XML file with the rules you actually want to point to? That way the new file has a different name and doesn't need to be inside your jar.
 
reply
    Bookmark Topic Watch Topic
  • New Topic