| Author |
PMD tool
|
neha achrikar
Greenhorn
Joined: May 02, 2011
Posts: 3
|
|
|
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.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26168
|
|
|
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.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: PMD tool
|
|
|