
com.google.test.metric.report.costDetailBox.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testability-explorer Show documentation
Show all versions of testability-explorer Show documentation
A tool that looks at java bytecodes and helps you
identify hard to test code.
The newest version!
<#macro costDetailBox issues issueType>
<#list issues?keys as issueSubType>
<#assign typeIssues = issues[issueSubType] />
<#if typeIssues?size gt 0>
<#assign messagePrefix = "report.explain.class." +
issueType?lower_case + "." +
issueSubType?lower_case />
<#assign wikiPage = issueType?capitalize?replace("_", "") + issueSubType?capitalize?replace("_", "") + "Explanation" />
${message(messagePrefix)}
${message("report.explain.linkToWiki")}
<#list typeIssues as issue>
<#assign rowStyle><#if issue_index % 2 == 0>even<#else/>odd#if>#assign>
<#if issue.lineNumberApproximate>
${message("report.explain.aroundLine")}
<#else/>
${message("report.explain.onLine")}
#if>
${sourceLink(issue.location.file, issue.location.lineNumber?c, issue.location.lineNumber)},
${message(messagePrefix + ".element", "", issue.element, "")}
<#-- ${message(messagePrefix + ".method", "UIUtils#archiveThread", "high", "high")} -->
contributing ${issue.contributionToClassCost?string.percent} of total class cost
#list>
${message(messagePrefix + ".suggest")}
#if>
#list>
#macro>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy