Skip to content

Run static analysis on merge/commit #386

@xzel23

Description

@xzel23

I think we should add some static analysis tool that detects common programming errors to the Github pipeline. There are several options free of charge for Open Source projects, including free tools like SpotBugs, PMD, and CheckStyle, and even commercial ones like SonarQube and Qodana.

I have some experience with both Qodana (setting it up on GitHub and using it) and SonarQube (only as a user - the CI pipeline at my day job uses it) and could prepare something.

I also run SpotBugs on my personal projects, both local and in CI, but SB shows a lot of false positives which can lead people to ignore the SB warnings completely or simply disabling it for whole classes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions