d675790e58dfa48398b11bfb7ec2dbeee33126aa
Turns out that the implementation based on the one published by Heiko Rupp could simply not catch all the case in our test suite. I therefore opted to backport the previous implementation - a simple Xpath rule, from GuardDebugLogStmt into a java class. Performance are not as good as the one based on Heiko's proposal, but it still twice faster as the simple GuardDebogLogStmt (instead of five times faster). However, correctness is in this case more important.
PMD
PMD is a source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth.
For more information, visit http://pmd.sourceforge.net
To see the current status of this repo, visit https://buildhive.cloudbees.com/job/pmd/
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%