Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use a `Reporter` reference instead of a `ReporterImpl` reference in `ProjectAnalyzer`.

Open
#64 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
devtools

Research direction

Start with ProjectAnalyzer.java at the referenced reporter field and inspect the Reporter and ReporterImpl types. Then check the TestReport class in test-utils; the change is complete when ProjectAnalyzer uses the Reporter interface and TestReport implements Reporter without breaking the tests.

Written by the indexing model from the issue text.

Description

Type/Improvement
Current Limitation

Currently, our Reporter reference is of type ReporterImpl in the ProjectAnalyzer class here. However, this is not the ideal, given that we should allow external parties to override the behavior of the reporter to change the analyzer behavior.

Suggested Improvement

Alter the project analyzer source to have a reference to the Reporter interface. Need to change the TestReport class of test-utils to implement Reporter to match this change as well.

Version

No response

Dominant language
Java
Stars
15
Forks
12
Avg merge
11h 57m
Merged PRs (30d)
14

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ballerina-platform/static-code-analysis-tool

All issues in ballerina-platform/static-code-analysis-tool

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.