apache / apache/netbeans

Netbeans CoverageProvider should be enhanced to support branch coverage

Open
#5,946 0 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Right Now Coverage API only support covered/not covered lines. Would be nice to also add indicators for branches coverage.

An additional column could be add to display Covered/Non Covered branches

![image](https://github.com/apache/netbeans/assets/35330562/9aac5e07-470f-499f-adc5-7cd78a1c607b)

### Use case/motivation

A python coverage report can display branches coverage information. It is a valuable information that can be display in the Netbeans Code Coverage Report.

![image](https://github.com/apache/netbeans/assets/35330562/e6ea6287-0309-4667-885c-0b34024203ca)

### Related issues

https://github.com/albilu/netbeansPython/issues/11

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start with the NetBeans CoverageProvider and Coverage API entry points mentioned in the issue, then review the related Python coverage issue. Determine how branch coverage should be represented alongside covered and non-covered lines, including the proposed additional column; done means the API and report can display branch coverage indicators.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.