htmlTemplates.namespaceIndex.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="module" type="jetbrains.coverage.report.impl.html.ModuleInfo" -->
<#-- @ftlvariable name="namespace" type="java.lang.String" -->
<#-- @ftlvariable name="classes" type="java.util.Collection" -->
<#-- @ftlvariable name="sortOption" type="jetbrains.coverage.report.impl.html.SortOption" -->
<#include "macros.ftl">
<#assign title="${namespace}">
<#if title?length = 0><#assign title="<empty ${resources['coverage.namespace']}>">#if>
<@page title="${title}">
<@currentScope/>
<#if include_modules>
all ${resources['coverage.module_plural']}
|
<@moduleName module=module/>
|
<#else>
all ${resources['coverage.class_plural']}
|
#if>
<@namespaceName namespace=namespace/>
Coverage Summary for ${resources['coverage.namespace']?cap_first}: ${title}
<@overallStatTable labelName="${resources['coverage.namespace']?cap_first}" labelValue="${title}" coverageStatistics=statsCalculator.getForNamespace(module.name, namespace)/>
<#assign sortDesc=sortOption.descendingOrder>
<#assign sortByName=sortOption.orderByName()>
<#assign showBlocks=statsCalculator.getForNamespace(module.name, namespace).blockStats.percent >= 0>
<@sortableCellLabel label=resources['coverage.class']?cap_first sortOption=sortOption.nextOrderByName()/>
<@coverageStatHeaderRow coverageStatistics=statsCalculator.getForNamespace(module.name, namespace) sortOption=sortOption/>
<#list classes as class>
<@className clazz=class/>
<@coverageStatRow coverageStatistics=statsCalculator.getForClassWithInnerClasses(class) showEmptyBlocks=showBlocks/>
#list>
@page>