-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Milestone
Description
User story
As an engineer,
I need to assess the quality of my Android library with PMD
In order to address potential problems as soon as possible.
Acceptance criteria
- Provide the option to include PMD static code analysis.
- Add the gradle PMD plugin to
quality-gates.gradle. - Apply/add PMD Android rules.
- Send PMD reports to Codacy.
Expected Behavior
CodeClimate reports on:
- Possible bugs - empty try/catch/finally/switch statements
- Dead code - unused local variables, parameters and private methods
- Suboptimal code - wasteful String/StringBuffer usage
- Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
- Duplicate code - copied/pasted code means copied/pasted bugs
Current Behavior
Possible Solution
Context
PMD reports on CodeClimate would be a feature of generator-android-lib.
Your Environment
- Version used:
- Environment name and version (e.g. Chrome 39, node.js 5.4):
- Operating System and version (desktop or mobile):
- Link to your project: