Class BranchBadgeGenerator
java.lang.Object
org.ek9lang.cli.coverage.BranchBadgeGenerator
- All Implemented Interfaces:
Function<LineCoverage, String>
Generates HTML badge for branch coverage indicators.
Single responsibility: HTML badge generation for branch types.
Creates visual badges showing the branch type (BRANCH_TRUE, SWITCH_CASE, etc.) with appropriate styling based on coverage status.
-
Constructor Details
-
BranchBadgeGenerator
BranchBadgeGenerator()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<LineCoverage, String>
-