Skip to content

Instantly share code, notes, and snippets.

@megascus
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save megascus/8df9d6f7c39e46c453bb to your computer and use it in GitHub Desktop.
Save megascus/8df9d6f7c39e46c453bb to your computer and use it in GitHub Desktop.
PMD Java Complexcity settings.
<?xml version="1.0"?>
<ruleset name="Complexcity"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>
Java Complexcity
</description>
<rule ref="rulesets/java/codesize.xml/StdCyclomaticComplexity"/>
<rule ref="rulesets/java/codesize.xml/NPathComplexity"/>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment