Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable PMD static analysis during the build #325

Merged
merged 14 commits into from Feb 10, 2019
Merged

Conversation

armiol
Copy link
Collaborator

@armiol armiol commented Feb 10, 2019

This PR enables the PMD code analysis for base modules.

Some warnings were suppressed and some violations were addressed.

Checkstyle rules aren't enabled with this PR due to the checkstyle/checkstyle#3238, which causes Checkstyle to crash on LogMessages with @Nullable ... params.

@armiol armiol added the WIP This work is still in progress. label Feb 10, 2019
@armiol armiol self-assigned this Feb 10, 2019
@codecov
Copy link

codecov bot commented Feb 10, 2019

Codecov Report

Merging #325 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #325      +/-   ##
============================================
- Coverage     74.75%   74.74%   -0.01%     
  Complexity     2376     2376              
============================================
  Files           386      386              
  Lines          9843     9840       -3     
  Branches        590      589       -1     
============================================
- Hits           7358     7355       -3     
  Misses         2323     2323              
  Partials        162      162

@armiol
Copy link
Collaborator Author

armiol commented Feb 10, 2019

@alexander-yevsyukov PTAL.

Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@armiol armiol merged commit 326e8bf into master Feb 10, 2019
@armiol armiol deleted the add-pmd-checkstyle branch February 10, 2019 18:35
@armiol armiol removed the WIP This work is still in progress. label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants