Class FileMethodRowsHtml

java.lang.Object
org.ek9lang.cli.coverage.FileMethodRowsHtml

public final class FileMethodRowsHtml extends Object
Generates method rows HTML for a file summary page. Each row shows coverage status icon, method name (linked to source), and line number.
  • Constructor Details

  • Method Details

    • generate

      public String generate(List<org.ek9.lang.CoverageRuntime.CoveredMethod> coveredMethods, List<org.ek9.lang.CoverageRuntime.UncoveredMethod> uncoveredMethods, String sourceFileHref)
      Generate method rows for covered and uncovered methods.
      Parameters:
      coveredMethods - Methods that were covered during tests
      uncoveredMethods - Methods that were not covered
      sourceFileHref - The href to the source file HTML page
      Returns:
      HTML string containing method rows