## $Revision$ $Date$
## --- Helper macros ---
#macro(format $ingegral )
$numberFormat.format( ${ingegral.longValue()} )
#end
#macro(thFieldRight $text)
$text |
#end
## --- end of macros ---
#if(!$isCurrentProject)${project.name} - #end Source Code Summary |
#thField("Category")
#thField("Files")
#thField("Lines")
#thField("Bytes")
#set( $sumFiles = 0 )
#set( $sumLines = 0 )
#set( $sumBytes = 0 )
#foreach ( $item in $sourceCodeStats )
#trOpen()
#tdText( $fileGroups.get(${item.typeId}) )
#tdTextRight( "#format( ${item.files} )" )
#set( $sumFiles = $sumFiles + ${item.files} )
#if (${item.typeId} == '*' )
#set( $txt = "--")
#else
#set( $txt = "#format(${item.totalLines})")
#set( $sumLines = $sumLines + ${item.totalLines} )
#end
#tdTextRight( $txt )
#tdTextRight( "#format( ${item.length} )" )
#set( $sumBytes = $sumBytes + ${item.length} )
#trClose()
#end
#trOpen()
#thFieldRight( "Summary:" )
#thFieldRight( "#format( $sumFiles )" )
#thFieldRight( "#format( $sumLines )" )
#thFieldRight( "#format( $sumBytes)" )
#trClose()