You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
733 B

10 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?xml version="1.0"?>
  2. <ruleset name="Rule Set - Security"
  3. xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
  6. <description>These rules check the security guidelines from Sun, published at http://java.sun.com/security/seccodeguide.html#gcg</description>
  7. <!-- Priorities
  8. HIGH :1
  9. MEDIUM_HIGH:2
  10. MEDIUM:3
  11. MEDIUM_LOW:4
  12. LOW : 5
  13. -->
  14. <rule ref="rulesets/java/sunsecure.xml/MethodReturnsInternalArray"> <priority>3</priority></rule>
  15. <rule ref="rulesets/java/sunsecure.xml/ArrayIsStoredDirectly"> <priority>3</priority></rule>
  16. </ruleset>