Rafael Cortês 888824d24a Fix NullPointerException in CPPTokenizer:99
Due to `skipBlocks = true` and `skipBlocksStart` being uninitialized in `CPPTokenizer`, `maybeSkipBlocks` would always throw a NullPointerException as it is assuming that `setProperties` is always called after the constructor.
Changed `CPPLanguage` to always invoke `setProperties`, similarly to `CsLanguage`.
This only happens in programmatic invocations.
2018-07-29 09:11:15 +01:00
2018-05-24 17:24:52 +02:00
2018-06-23 11:10:13 +02:00
2018-07-22 00:45:16 +08:00
2018-07-23 20:15:18 +02:00
2018-07-23 16:45:18 +02:00
2018-07-15 17:39:03 -03:00
2018-07-23 16:29:58 +02:00
2018-07-23 20:14:59 +02:00
2018-03-22 14:35:44 +01:00
2018-06-26 09:44:02 +02:00
2017-11-04 02:27:42 -03:00
2017-11-04 02:27:42 -03:00
2018-07-08 10:29:11 +02:00
2018-01-13 20:42:22 -03:00

PMD

Join the chat at https://gitter.im/pmd/pmd Build Status Maven Central Coverage Status

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, Salesforce.com Apex and Visualforce, PLSQL, Apache Velocity, XML, XSL.

Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, Groovy, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Scala, Objective C, Salesforce.com Apex, Perl, Swift, Matlab, Python.

Source and Documentation

Our latest source of PMD can be found on GitHub. Fork us!

News and Website

More information can be found on our Website and on SourceForge.

Languages
Java 75.5%
Apex 9.7%
Kotlin 9.1%
ANTLR 2.7%
PLSQL 1%
Other 1.8%