Which branch was missed?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 1.2k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 23
Description
I'm switching a project from Cobertura to JaCoCo - as part of an eventual upgrade to Java 1.7. I've noticed that JaCoCo indicates missed branches but it doesn't tell you which branch was missed. So in code like the following...
if(a==b || c==d) { ... }
JaCoCo might say '1 of 4 branches' missed. But it doesn't tell me which branch (or even which term in the condition). Cobertura used to give an indication in the form '%50/%100' (I think) which gave some idea of where to start. Could something like this be added?
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 reviewing JaCoCo's branch-coverage reporting and the issue discussion, using the shown condition as the motivating case; done means reporting which branch or condition term was missed rather than only the aggregate count.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100