htmlTemplates.modules.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coverage-report Show documentation
Show all versions of coverage-report Show documentation
HTML coverage report generator
<#-- @ftlvariable name="modules" type="java.util.Collection" -->
<#-- @ftlvariable name="sortOption" type="jetbrains.coverage.report.impl.html.SortOption" -->
<#include "macros.ftl">
<@page title="Summary">
<@currentScope/>
all ${resources['coverage.module_plural']}
<#if reportTitle?has_content>${reportTitle}: #if>Overall Coverage Summary
<@overallStatTable labelName="${resources['coverage.module']?cap_first}" labelValue="all classes" coverageStatistics=statsCalculator.overallStats/>
Coverage Breakdown
<#assign showBlocks=statsCalculator.overallStats.blockStats.percent >= 0>
<@sortableCellLabel label=resources['coverage.module']?cap_first sortOption=sortOption.nextOrderByName()/>
<@coverageStatHeaderRow coverageStatistics=statsCalculator.overallStats sortOption=sortOption/>
<#list modules as ms>
<@moduleName module=ms/>
<@coverageStatRow coverageStatistics=statsCalculator.getForModule(ms.name) showEmptyBlocks=showBlocks/>
#list>
@page>