Static Bugs

February 15, 2025 ยท View on GitHub

:hammer: Spotbugs

SpotBugs is a program which uses static analysis to look for bugs in Java code. SpotBugs checks for more than 400 bug patterns.

Spotbugs manual.

Install and Run with Maven

Use spotbugs-maven-plugin

Hands on with Example Project.

:construction_worker: Task

Create one pull request for your project according to Task Submission Guidelines.

Install code static analysis tool like spotbugs to fix bugs in your project.

Fix two different bugs reported by the static analysis tool. Create a separate commit to each duplicated code fixed.