<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.21" id="1">
    <property name="comments">Copyright (c) 2006, 2008 IBM Corporation. Licensed Materials - Property of IBM.
All Rights Reserved.
Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.</property>
    <property name="createdBy">Eclipse BIRT Designer Version 2.5.2.v20100211 Build &lt;2.5.2.v20100210-0630></property>
    <simple-property-list name="includeResource">
        <value>Bundles\BIRTMessages</value>
    </simple-property-list>
    <property name="units">in</property>
    <method name="initialize"><![CDATA[function getSpanTag() {
	 return "onclick = \"top.handleClick(document,this,'')\""
     + "onmouseover=mouseOver(this)  onmouseout=mouseOut(this)" + "";
}]]></method>
    <property name="theme">styles.defaultTheme</property>
    <property name="layoutPreference">auto layout</property>
    <list-property name="libraries">
        <structure>
            <property name="fileName">styles.rptlibrary</property>
            <property name="namespace">styles</property>
        </structure>
    </list-property>
    <data-sources>
        <script-data-source name="Data Source" id="24"/>
    </data-sources>
    <data-sets>
        <script-data-set name="Data Set" id="25">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">1</property>
                    <property name="name">Src_Name</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">Package_Name</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">Covered_Lines</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">Total_Lines</property>
                    <property name="dataType">integer</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">Src_Name</property>
                </structure>
                <structure>
                    <property name="columnName">Package_Name</property>
                </structure>
                <structure>
                    <property name="columnName">Covered_Lines</property>
                </structure>
                <structure>
                    <property name="columnName">Total_Lines</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">Src_Name</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">Package_Name</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">Covered_Lines</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">Total_Lines</property>
                        <property name="dataType">integer</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">Data Source</property>
            <method name="open"><![CDATA[importPackage(Packages.java.util);
importPackage(Packages.com.ibm.rational.llc.common.report);
importPackage(Packages.com.ibm.rational.llc.common.report.model);
importPackage(Packages.java.util.logging);

allClassesIter.reset();]]></method>
            <method name="fetch"><![CDATA[if ( !allClassesIter.hasNext( ) ) { 
return false; 
}
// Turn the node into a data row
var infoModel = allClassesIter.next( );

while(filter !=null &amp;&amp; filter.isFiltered(infoModel)) {
	if(!allClassesIter.hasNext())
		return false;
	infoModel = allClassesIter.next( );
}

row.Src_Name = infoModel.getName();
row.Total_Lines = infoModel.getAggregate(ICoverableElement.AGGREGATE_ALL_LINES);
row.Covered_Lines = infoModel.getAggregate(ICoverableElement.AGGREGATE_COVERED_LINES)
/ ICoverageGeneratorConstants.OVERFLOW_FACTOR;

pkg = infoModel.getParent();

row.Package_Name = pkg.getName();

return true;]]></method>
        </script-data-set>
    </data-sets>
    <styles>
        <style name="table" id="29">
            <property name="borderBottomColor">#000000</property>
            <property name="borderBottomStyle">none</property>
            <property name="borderLeftColor">#000000</property>
            <property name="borderLeftStyle">none</property>
            <property name="borderRightColor">#000000</property>
            <property name="borderRightStyle">none</property>
            <property name="borderTopColor">#000000</property>
            <property name="borderTopStyle">none</property>
        </style>
    </styles>
    <page-setup>
        <simple-master-page name="Simple MasterPage" id="2">
            <property name="topMargin">1in</property>
            <property name="leftMargin">1.25in</property>
            <property name="bottomMargin">1in</property>
            <property name="rightMargin">1.25in</property>
        </simple-master-page>
    </page-setup>
    <body>
        <text id="31">
            <property name="contentType">html</property>
            <text-property name="content"><![CDATA[<script src="scripts/dynamic_effects.js"
type="text/javascript"></script>]]></text-property>
        </text>
        <table id="4">
            <property name="dataSet">Data Set</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">Src_Name</property>
                    <expression name="expression">dataSetRow["Src_Name"].substring(0,dataSetRow["Src_Name"].indexOf("\.",0))
+ "  (" + Math.round(row["Covered_Lines"]/row["Total_Lines"] * 100) + "%)"</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">Package_Name</property>
                    <expression name="expression">dataSetRow["Package_Name"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">Covered_Lines</property>
                    <expression name="expression">dataSetRow["Covered_Lines"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">Total_Lines</property>
                    <expression name="expression">dataSetRow["Total_Lines"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">JustClassName</property>
                    <expression name="expression">dataSetRow["Src_Name"].substring(0,dataSetRow["Src_Name"].indexOf("\.",0))</expression>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <property name="pageBreakInterval">50</property>
            <list-property name="sort">
                <structure>
                    <expression name="key">row["Src_Name"]</expression>
                    <property name="direction">asc</property>
                </structure>
            </list-property>
            <column id="20">
                <property name="style">table</property>
            </column>
            <header>
                <row id="5">
                    <expression name="bookmark">"Report-Header"</expression>
                    <cell id="6">
                        <text id="30">
                            <property name="contentType">html</property>
                            <text-property name="content"><![CDATA[<a name="dummy">
<div class="header" onkeypress = "top.checkKeystroke(document,this,'', event)"><a class="header" href="#dummy" onclick="return false;">

<span "<VALUE-OF>getSpanTag()</VALUE-OF>"><VALUE-OF>reportContext.getMessage("Table_Header_All_Source_Files", reportContext.getLocale())</VALUE-OF></span>

</a></div>]]></text-property>
                        </text>
                    </cell>
                </row>
            </header>
            <detail>
                <row id="10">
                    <cell id="11">
                        <data id="27">
                            <property name="resultSetColumn">Src_Name</property>
                            <structure name="action">
                                <property name="linkType">hyperlink</property>
                                <expression name="uri">row["Package_Name"].replace(/\./g,"/").replace(/\|/g, "/") + "/" + 
row["JustClassName"] + "-overview.html";</expression>
                                <property name="targetWindow">summaryFrame</property>
                            </structure>
                        </data>
                    </cell>
                </row>
            </detail>
        </table>
    </body>
</report>
