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

Static code analyzer improvement #145

Merged
merged 8 commits into from Mar 30, 2020

Conversation

micpiotrowski
Copy link
Contributor

@micpiotrowski micpiotrowski commented Mar 26, 2020

Try change static code analyzer to checkstyle

Wire up new static code analyzer
@micpiotrowski micpiotrowski force-pushed the refactor/static-code-analyzer-improvement branch from b5687a9 to c6d6090 Compare March 26, 2020 16:45
@micpiotrowski micpiotrowski changed the title [WIP] Static code analyzer improvement Static code analyzer improvement Mar 26, 2020
@micpiotrowski micpiotrowski requested review from PawelLipski and mkondratek and removed request for PawelLipski March 26, 2020 16:59
@micpiotrowski micpiotrowski self-assigned this Mar 26, 2020
@micpiotrowski micpiotrowski linked an issue Mar 26, 2020 that may be closed by this pull request
Copy link
Collaborator

@PawelLipski PawelLipski left a comment

Choose a reason for hiding this comment

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

Seems like much easier tool to handle, I feel we can stick to that finally :)

build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
config/checkstyle/checkstyle.xml Outdated Show resolved Hide resolved
config/checkstyle/checkstyle.xml Outdated Show resolved Hide resolved
config/checkstyle/checkstyle.xml Outdated Show resolved Hide resolved
config/checkstyle/suppressions.xml Outdated Show resolved Hide resolved
@mkondratek
Copy link
Collaborator

A general note... it would be nice if some description were provided (there is a dedicated "comment field" while you are opening a PR). It makes changes easier to understand and review. Issue description commits messages, pr title usually cannot cover everything themself. In this case, it may be worth to provide and to have a look at:
https://docs.gradle.org/current/userguide/checkstyle_plugin.html

@PawelLipski
Copy link
Collaborator

@micpiotrowski would be nice to regenerate the base CI image after this is merged (quite a lot of yet-unknown artifacts need to be downloaded, and spotbugs deps won't be needed anymore)

@micpiotrowski micpiotrowski changed the title Static code analyzer improvement [WIP] Static code analyzer improvement Mar 27, 2020
.circleci/config.yml Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
@micpiotrowski micpiotrowski changed the title [WIP] Static code analyzer improvement Static code analyzer improvement Mar 28, 2020
Copy link
Collaborator

@PawelLipski PawelLipski left a comment

Choose a reason for hiding this comment

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

Minor changes needed, otherwise approving, good job 🚀

build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
config/checkstyle/tree_walker_module_directives.xml Outdated Show resolved Hide resolved
Copy link
Collaborator

@mkondratek mkondratek left a comment

Choose a reason for hiding this comment

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

gj & awesome pr description!

@micpiotrowski micpiotrowski merged commit decb2e8 into master Mar 30, 2020
@github-pages github-pages bot temporarily deployed to github-pages March 30, 2020 11:57 Inactive
@PawelLipski PawelLipski deleted the refactor/static-code-analyzer-improvement branch April 1, 2020 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend the scope of smells detected by static code analyzer
3 participants