apache / apache/pulsar

[Enhancement] Use SonarQube to run static code analysis for detecting bugs early

Open
#13,244 2 comments 0 reactions 0 assignees View on GitHub
help wanted lifecycle/stale Stale type/enhancement
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

**Is your enhancement request related to a problem? Please describe.**
Current code analysis tool is not able to detect unused variables, which can be potential bugs. Using SonarQube can mitigate this problem.

**Describe the solution you'd like**
Integrate SonarQube to Pulsar's build process.

**Describe alternatives you've considered**

Not yet.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Pulsar's build process and the current code-analysis tooling to identify where static analysis is configured. Integrate SonarQube into that process so unused variables and other detected bugs are reported during builds; done means the project runs SonarQube analysis as part of its build workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.