c1cb3bfb5e2974b502d71676e746dcd85380ebfb
This is the fix for bug #1155 (https://sourceforge.net/p/pmd/bugs/1155/) The whole code is in dire need of revisiting its behaviour when a value is null or empty. Same goes for e.g. createRules whether it should return null values (then the caller will have to deal with it) or empty Rulesets. Catching and discarding the rule not found exception looks pretty suspicious.
PMD
About
PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, XML, XSL. Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript.
Source
Our latest source of PMD can be found on GitHub. Fork us! The current status of this repo can be seen at BuildHive.
News and Website
More information can be found on our Website and on SourceForge.
Description
An extensible multilanguage static code analyzer.
Readme
Apache-2.0
510 MiB
1 Stars
1 Watchers
1 Forks
Languages
Java
75.5%
Apex
9.7%
Kotlin
9.1%
ANTLR
2.7%
PLSQL
1%
Other
1.8%
