Skip to content

Add SpotBugs static analysis - #322

Merged
goneall merged 2 commits into
spdx:masterfrom
bact:add-spotbugs
Sep 18, 2026
Merged

goneall merged 2 commits into
spdx:masterfrom
bact:add-spotbugs

Conversation

@bact

@bact bact commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator

Add SpotBugs with failOnError=false, only report potential issues, does not break build.

Run mvn spotbugs:check at command line to manually run it

https://spotbugs.github.io/

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added the test Unit test, code coverage, test case label Sep 18, 2026
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact
bact requested a review from goneall September 18, 2026 10:25

@goneall goneall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Definitely useful tool - it pointed out a few medium issues we should address

Thanks @bact

@goneall
goneall merged commit 985c5b9 into spdx:master Sep 18, 2026
1 check passed
@bact
bact deleted the add-spotbugs branch September 18, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Unit test, code coverage, test case

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants