<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.15" id="1">
    <property name="createdBy">Eclipse BIRT Designer Version 2.2.2.r222_v20071226 Build &lt;2.2.2.v20080227-1131></property>
    <property name="units">pt</property>
    <property name="includeResource">Bundles\BIRTMessages</property>
    <text-property name="title">Code Coverage Report Summary</text-property>
    <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>
    <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>
    <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="Coverage Data Source" id="24"/>
    </data-sources>
    <data-sets>
        <script-data-set name="Coverage Data Set" id="25">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">1</property>
                    <property name="name">Name</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">Covered_Lines</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">Total_Lines</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">FormattedName</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">Name</property>
                </structure>
                <structure>
                    <property name="columnName">Covered_Lines</property>
                </structure>
                <structure>
                    <property name="columnName">Total_Lines</property>
                </structure>
                <structure>
                    <property name="columnName">FormattedName</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">Name</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">Covered_Lines</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">Total_Lines</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">FormattedName</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">Coverage 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);

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

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

row.Name = infoModel.getName();
row.FormattedName = infoModel.getFormattedName();
dataSetRow["Total_Lines"] = infoModel.getAggregate(ICoverableElement.AGGREGATE_ALL_LINES);
row.Covered_Lines = infoModel.getAggregate(ICoverableElement.AGGREGATE_COVERED_LINES) 
/ ICoverageGeneratorConstants.OVERFLOW_FACTOR;

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"/>
    </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="canShrink">true</property>
            <property name="width">100%</property>
            <property name="dataSet">Coverage Data Set</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">Name</property>
                    <expression name="expression">dataSetRow["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">FormattedWithPercentage</property>
                    <expression name="expression">dataSetRow["FormattedName"] + "  (" + Math.round(row["Covered_Lines"]/row["Total_Lines"] * 100) + "%)"</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">data item</property>
                    <expression name="expression">row["FormattedWithPercentage"]</expression>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="sort">
                <structure>
                    <expression name="key">row["Name"]</expression>
                    <property name="direction">asc</property>
                </structure>
            </list-property>
            <column id="20"/>
            <header>
                <row id="5">
                    <expression name="bookmark">"Report-Header"</expression>
                    <cell id="6">
                        <text id="67">
                            <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_Packages", reportContext.getLocale())</VALUE-OF></span>

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

