details.tag.ftl Maven / Gradle / Ivy
<#import "operation.ftl" as operation />
<#import "../ui.ftl" as ui/>
<#macro list tags>
<#list tags as tag, tagCoverage>
${tag}<#if tagCoverage.tag.getDescription()??>: ${tagCoverage.tag.getDescription()}#if>
${tagCoverage.operations?size} ${i18["details.tag.operations"]}
${tagCoverage.callCounts} ${i18["details.operation.calls"]}
<@ui.progress
full=tagCoverage.conditionCounter.all
current=tagCoverage.conditionCounter.covered
postfix=i18["details.conditionprogress.postfix"]
/>
<@ui.coverageBadget counter=tagCoverage.coverageCounter/>
<#list tagCoverage.operations as op>
<@operation.details
name=op
operationResult=operationMap[op]
target="tag-" + tag + "-" + op?counter
/>
#list>
#list>
#macro>