HandOfGod94/jacoco-cov-badge-maven-plugin

Feature: Config opts for lines and branches

Closed this issue · 0 comments

Jacoco report generates report broadly in following categories.

  1. Instructions covered/missed
  2. Branches covered/missed
  3. Line covered/missed
  4. Complexity covered/missed
  5. Method covered/missed

Provide user the ability to configure, which one to read for %age value in the badge.
Each of these should be configurable by an enum in xml.
The configuration element will be coverageCategory.
Enums to use:

  • INSTRCUTION
  • BRANCH
  • LINE
  • COMPLEXITY
  • METHOD

Default, if nothing provided: INSTRUCTION