-
Notifications
You must be signed in to change notification settings - Fork 4
Commit 5856e78
Add standar PMD rules
Source - https://github.com/pmd/pmd/blob/master/pmd-core/src/main/resources/rulesets/internal/all-java.xml
Rules - https://www.ing.iac.es/~docs/external/java/pmd/rules/index.html
Download PMD - https://github.com/pmd/pmd/releases
Execute rule using custom rules to a specific file: /pmd-bin-6.49.0/bin$ ./run.sh pmd -d codechallenge/src/main/java/hackerrank/CompareSubstrings.java -f text -R .pmd --cache /tmp/codechallenge-pmd-analysis
Existing rules can also be given: -f text -R rulesets/java/quickstart.xml1 parent 878ba7c commit 5856e78
1 file changed
+44
-1657
lines changed
0 commit comments