exclude specified code blocks
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 1.2k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 23
Description
Background:
Some code blocks, such as catch blocks for exception handling, are never executed. In other words, no matter how we test, there are always a few specific code blocks that remain unexecuted, making it impossible to achieve 100% code coverage.
Requirement:
Is it possible to exclude specified code blocks so that they are not included in the coverage statistics?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by tracing how JaCoCo identifies and reports uncovered blocks, then determine how users would specify exclusions. Done should include a defined exclusion mechanism and coverage statistics that omit the selected blocks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100