Class FileBranchRowsHtml
java.lang.Object
org.ek9lang.cli.coverage.FileBranchRowsHtml
Generates branch rows HTML for a file summary page.
Each row shows coverage status icon, line number (linked to source), and branch type.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileBranchRowsHtml
-
-
Method Details
-
generate
public String generate(List<org.ek9.lang.CoverageRuntime.CoveredBranch> coveredBranches, List<org.ek9.lang.CoverageRuntime.UncoveredBranch> uncoveredBranches, String sourceFileHref) Generate branch rows for covered and uncovered branches.- Parameters:
coveredBranches- Branches that were covered during testsuncoveredBranches- Branches that were not coveredsourceFileHref- The href to the source file HTML page- Returns:
- HTML string containing branch rows
-