summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbouthillie2011-09-26 14:41:08 (EDT)
committerjbouthillie2011-09-27 09:52:32 (EDT)
commita6807e5e26e6947bfe57e2e470a4aa9f26b3d676 (patch)
tree2f4c012368d43099a1b9f5abc00b0f573676c452
parenta03407f1a9723efe28bba1f3faa12040077e6c88 (diff)
downloadorg.eclipse.mylyn.reviews.r4e-a6807e5e26e6947bfe57e2e470a4aa9f26b3d676.zip
org.eclipse.mylyn.reviews.r4e-a6807e5e26e6947bfe57e2e470a4aa9f26b3d676.tar.gz
org.eclipse.mylyn.reviews.r4e-a6807e5e26e6947bfe57e2e470a4aa9f26b3d676.tar.bz2
NEW - bug 358943: R4E Report generate error when computing the defect
density https://bugs.eclipse.org/bugs/show_bug.cgi?id=358943
-rw-r--r--org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/globalReport.rptdesign90
-rw-r--r--org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/inspectionRecord.rptdesign806
2 files changed, 478 insertions, 418 deletions
diff --git a/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/globalReport.rptdesign b/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/globalReport.rptdesign
index bf08ccf..3fc9d38 100644
--- a/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/globalReport.rptdesign
+++ b/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/globalReport.rptdesign
@@ -5387,7 +5387,11 @@ countano = Total.max (row["CountStateAccepted"] )

//Get the total lines of Codes for the anomalies
loc = Total.sum ( row["CountFileNumberOfLines"] );
- 
+ 
+ if ( loc == null ) {
+ loc = 0; //Init the value if there is no review item to look at
+ }
+ 
//Compute the ratio anomalies / line of codes
if (loc == 0) {
value = 0;
@@ -5628,37 +5632,37 @@ if (loc == 0) {
</structure>
<structure>
<property name="position">2</property>
- <property name="name">startPosition</property>
+ <property name="name">Item TextPosition::startPosition</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
- <property name="name">startLine</property>
+ <property name="name">Item TextPosition::startLine</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">4</property>
- <property name="name">endLine</property>
+ <property name="name">Item TextPosition::endLine</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">5</property>
- <property name="name">length</property>
+ <property name="name">Item TextPosition::length</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">6</property>
- <property name="name">CountFileNumberOfLines</property>
+ <property name="name">Item TextPosition::CountFileNumberOfLines</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">7</property>
- <property name="name">CountTotalLOC</property>
+ <property name="name">Item TextPosition::CountTotalLOC</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">8</property>
- <property name="name">CountTotalReviewItems</property>
+ <property name="name">Item TextPosition::CountTotalReviewItems</property>
<property name="dataType">integer</property>
</structure>
<structure>
@@ -5668,177 +5672,177 @@ if (loc == 0) {&#13;
</structure>
<structure>
<property name="position">10</property>
- <property name="name">user</property>
+ <property name="name">Comment Anomaly::user</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">11</property>
- <property name="name">description</property>
+ <property name="name">Comment Anomaly::description</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">12</property>
- <property name="name">review</property>
+ <property name="name">Comment Anomaly::review</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">13</property>
- <property name="name">title</property>
+ <property name="name">Comment Anomaly::title</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">14</property>
- <property name="name">createdOn</property>
+ <property name="name">Comment Anomaly::createdOn</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">15</property>
- <property name="name">rank</property>
+ <property name="name">Comment Anomaly::rank</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">16</property>
- <property name="name">ruleID</property>
+ <property name="name">Comment Anomaly::ruleID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">17</property>
- <property name="name">xsi:type</property>
+ <property name="name">Comment Anomaly::xsi:type</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">18</property>
- <property name="name">href</property>
+ <property name="name">Comment Anomaly::href</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">19</property>
- <property name="name">xsi:type_1</property>
+ <property name="name">Comment Anomaly::xsi:type_1</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">20</property>
- <property name="name">href_1</property>
+ <property name="name">Comment Anomaly::href_1</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">21</property>
- <property name="name">href_2</property>
+ <property name="name">Comment Anomaly::href_2</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">22</property>
- <property name="name">state</property>
+ <property name="name">Comment Anomaly::state</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">23</property>
- <property name="name">dueDate</property>
+ <property name="name">Comment Anomaly::dueDate</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">24</property>
- <property name="name">fixedInVersion</property>
+ <property name="name">Comment Anomaly::fixedInVersion</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">25</property>
- <property name="name">decidedByID</property>
+ <property name="name">Comment Anomaly::decidedByID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">26</property>
- <property name="name">fixedByID</property>
+ <property name="name">Comment Anomaly::fixedByID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">27</property>
- <property name="name">followUpByID</property>
+ <property name="name">Comment Anomaly::followUpByID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">28</property>
- <property name="name">AnomalyType</property>
+ <property name="name">Comment Anomaly::AnomalyType</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">29</property>
- <property name="name">IdentifyRankOther</property>
+ <property name="name">Comment Anomaly::IdentifyRankOther</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">30</property>
- <property name="name">CountRankMinor</property>
+ <property name="name">Comment Anomaly::CountRankMinor</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">31</property>
- <property name="name">CountRankMajor</property>
+ <property name="name">Comment Anomaly::CountRankMajor</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">32</property>
- <property name="name">CountRankOther</property>
+ <property name="name">Comment Anomaly::CountRankOther</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">33</property>
- <property name="name">CountStateCreated</property>
+ <property name="name">Comment Anomaly::CountStateCreated</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">34</property>
- <property name="name">CountStateAssigned</property>
+ <property name="name">Comment Anomaly::CountStateAssigned</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">35</property>
- <property name="name">CountStateAccepted</property>
+ <property name="name">Comment Anomaly::CountStateAccepted</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">36</property>
- <property name="name">CountStateFixed</property>
+ <property name="name">Comment Anomaly::CountStateFixed</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">37</property>
- <property name="name">CountStateDuplicated</property>
+ <property name="name">Comment Anomaly::CountStateDuplicated</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">38</property>
- <property name="name">CountStateRejected</property>
+ <property name="name">Comment Anomaly::CountStateRejected</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">39</property>
- <property name="name">CountStateDeferred</property>
+ <property name="name">Comment Anomaly::CountStateDeferred</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">40</property>
- <property name="name">CountStateVerified</property>
+ <property name="name">Comment Anomaly::CountStateVerified</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">41</property>
- <property name="name">CountTotalAnomaly</property>
+ <property name="name">Comment Anomaly::CountTotalAnomaly</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">42</property>
- <property name="name">AnomalyDueDate</property>
+ <property name="name">Comment Anomaly::AnomalyDueDate</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">43</property>
- <property name="name">AnomalyState</property>
+ <property name="name">Comment Anomaly::AnomalyState</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">44</property>
- <property name="name">CountStateOthers</property>
+ <property name="name">Comment Anomaly::CountStateOthers</property>
<property name="dataType">integer</property>
</structure>
<structure>
diff --git a/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/inspectionRecord.rptdesign b/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/inspectionRecord.rptdesign
index 2dd3609..863e51e 100644
--- a/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/inspectionRecord.rptdesign
+++ b/org.eclipse.mylyn.reviews.r4e.report/src/org/eclipse/mylyn/reviews/r4e/report/internal/design/inspectionRecord.rptdesign
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.21" id="1">
- <property name="createdBy">Eclipse BIRT Designer Version 2.5.2.v20100208 Build &lt;2.5.2.v20100210-0630></property>
+<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22" id="1">
+ <property name="createdBy">Eclipse BIRT Designer Version 3.7.0.v20110602 Build &lt;3.7.0.v20110607-1526></property>
<property name="units">in</property>
<property name="iconFile">/templates/blank_report.gif</property>
<property name="bidiLayoutOrientation">ltr</property>
@@ -210,7 +210,7 @@ ret = (rank == null || rank == "" || BirtComp.equalTo(rank.toLowerCase(),&#13;
<property name="name">CountRankMinor</property>
<expression name="expression">//Count how many were MINOR&#13;
&#13;
-Total.sum ( BirtComp.equalTo( row["rank"], "R4E_RANK_MINOR" ));</expression>
+Total.sum ( BirtComp.equalTo( row["rank"] != null ? row["rank"] : "", "R4E_RANK_MINOR" ));</expression>
<property name="dataType">integer</property>
</structure>
<structure>
@@ -352,6 +352,7 @@ Total.count ( !BirtComp.equalTo( row["state"], "R4E_ANOMALY_STATE_VERIFIED") &a
<property name="dataType">integer</property>
</structure>
</list-property>
+ <list-property name="parameters"/>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
@@ -673,282 +674,320 @@ Total.count ( !BirtComp.equalTo( row["state"], "R4E_ANOMALY_STATE_VERIFIED") &a
</structure>
</list-property>
<xml-property name="queryText"><![CDATA[table0#-TNAME-#table0#:#[//r4ecore:R4EAnomaly]#:#{xmi:id;STRING;@xmi:id},{user;STRING;@user},{description;STRING;@description},{review;STRING;@review},{title;STRING;@title},{createdOn;STRING;@createdOn},{rank;STRING;@rank},{ruleID;STRING;@ruleID},{xsi:type;STRING;type/@xsi:type},{href;STRING;type/@href},{xsi:type_1;STRING;location/@xsi:type},{href_1;STRING;location/@href},{href_2;STRING;id/@href},{state;STRING;@state},{dueDate;STRING;@dueDate},{fixedInVersion;STRING;@fixedInVersion},{decidedByID;STRING;@decidedByID},{fixedByID;STRING;@fixedByID},{followUpByID;STRING;@followUpByID}#:#<"ResTrans","http:%%org.eclipse.mylyn.reviews.r4e.model.transform%1.0";"xmi","http:%%www.omg.org%XMI";"r4ecore","http:%%org.eclipse.mylyn.reviews.r4e.core.model%";"xsi","http:%%www.w3.org%2001%XMLSchema-instance">]]></xml-property>
- <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
-<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
- <Version>1.0</Version>
- <design:ResultSets derivedMetaData="true">
- <design:resultSetDefinitions>
- <design:resultSetColumns>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>xmi:id</design:name>
- <design:position>1</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>xmi:id</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>user</design:name>
- <design:position>2</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>user</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>description</design:name>
- <design:position>3</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>description</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>review</design:name>
- <design:position>4</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>review</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>title</design:name>
- <design:position>5</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>title</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>createdOn</design:name>
- <design:position>6</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>createdOn</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>rank</design:name>
- <design:position>7</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>rank</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>ruleID</design:name>
- <design:position>8</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>ruleID</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>xsi:type</design:name>
- <design:position>9</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>xsi:type</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>href</design:name>
- <design:position>10</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>href</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>xsi:type_1</design:name>
- <design:position>11</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>xsi:type_1</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>href_1</design:name>
- <design:position>12</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>href_1</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>href_2</design:name>
- <design:position>13</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>href_2</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>state</design:name>
- <design:position>14</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>state</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>dueDate</design:name>
- <design:position>15</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>dueDate</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>fixedInVersion</design:name>
- <design:position>16</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>fixedInVersion</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>decidedByID</design:name>
- <design:position>17</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>decidedByID</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>fixedByID</design:name>
- <design:position>18</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>fixedByID</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>followUpByID</design:name>
- <design:position>19</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>followUpByID</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- </design:resultSetColumns>
- <design:criteria/>
- </design:resultSetDefinitions>
- </design:ResultSets>
+ <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
+ <Version>2.0</Version>
+ <design:ResultSets derivedMetaData="true">
+ <design:resultSetDefinitions>
+ <design:resultSetColumns>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>xmi:id</design:name>
+ <design:position>1</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>xmi:id</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>user</design:name>
+ <design:position>2</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>user</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>description</design:name>
+ <design:position>3</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>description</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>review</design:name>
+ <design:position>4</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>review</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>title</design:name>
+ <design:position>5</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>title</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>createdOn</design:name>
+ <design:position>6</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>createdOn</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>rank</design:name>
+ <design:position>7</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>rank</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>ruleID</design:name>
+ <design:position>8</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>ruleID</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>xsi:type</design:name>
+ <design:position>9</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>xsi:type</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>href</design:name>
+ <design:position>10</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>href</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>xsi:type_1</design:name>
+ <design:position>11</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>xsi:type_1</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>href_1</design:name>
+ <design:position>12</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>href_1</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>href_2</design:name>
+ <design:position>13</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>href_2</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>state</design:name>
+ <design:position>14</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>state</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>dueDate</design:name>
+ <design:position>15</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>dueDate</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>fixedInVersion</design:name>
+ <design:position>16</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>fixedInVersion</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>decidedByID</design:name>
+ <design:position>17</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>decidedByID</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>fixedByID</design:name>
+ <design:position>18</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>fixedByID</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:identifier>
+ <design:name>followUpByID</design:name>
+ <design:position>19</design:position>
+ </design:identifier>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>followUpByID</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ </design:resultSetColumns>
+ <design:criteria/>
+ </design:resultSetDefinitions>
+ </design:ResultSets>
</model:DesignValues>]]></xml-property>
<list-property name="privateDriverProperties">
<ex-property>
@@ -2679,7 +2718,12 @@ if (nbLines &lt;= 0 ) {&#13;
<property name="name">CountTotalLOC</property>
<expression name="expression">//Count the total number of lines&#13;
&#13;
-Total.sum ( row["CountFileNumberOfLines"] );</expression>
+ret = Total.sum ( row["CountFileNumberOfLines"] );&#13;
+if ( ret == null ) {&#13;
+ val = 0;&#13;
+ } else {&#13;
+ val = ret;&#13;
+ }</expression>
<property name="dataType">integer</property>
</structure>
<structure>
@@ -2741,48 +2785,45 @@ Total.countDistinct ( row["xmi:id"] );</expression>
<property name="name">xmi:id</property>
<property name="nativeName">xmi:id</property>
<property name="dataType">string</property>
- <property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">startPosition</property>
<property name="nativeName">startPosition</property>
<property name="dataType">string</property>
- <property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">startLine</property>
<property name="nativeName">startLine</property>
<property name="dataType">string</property>
- <property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">endLine</property>
<property name="nativeName">endLine</property>
<property name="dataType">string</property>
- <property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">length</property>
<property name="nativeName">length</property>
<property name="dataType">string</property>
- <property name="nativeDataType">12</property>
</structure>
</list-property>
<xml-property name="queryText"><![CDATA[table0#-TNAME-#table0#:#[//r4ecore:R4ETextPosition]#:#{xmi:id;STRING;@xmi:id},{startPosition;STRING;@startPosition},{startLine;STRING;@startLine},{endLine;STRING;@endLine},{length;STRING;@length}#:#<"ResTrans","http:%%org.eclipse.mylyn.reviews.r4e.model.transform%1.0";"xmi","http:%%www.omg.org%XMI";"r4ecore","http:%%org.eclipse.mylyn.reviews.r4e.core.model%";"xsi","http:%%www.w3.org%2001%XMLSchema-instance">]]></xml-property>
<xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
- <Version>1.0</Version>
+ <Version>2.0</Version>
<design:ResultSets derivedMetaData="true">
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
- <design:name>xmi:id</design:name>
- <design:position>1</design:position>
+ <design:identifier>
+ <design:name>xmi:id</design:name>
+ <design:position>1</design:position>
+ </design:identifier>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
@@ -2795,8 +2836,10 @@ Total.countDistinct ( row["xmi:id"] );</expression>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
- <design:name>startPosition</design:name>
- <design:position>2</design:position>
+ <design:identifier>
+ <design:name>startPosition</design:name>
+ <design:position>2</design:position>
+ </design:identifier>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
@@ -2809,8 +2852,10 @@ Total.countDistinct ( row["xmi:id"] );</expression>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
- <design:name>startLine</design:name>
- <design:position>3</design:position>
+ <design:identifier>
+ <design:name>startLine</design:name>
+ <design:position>3</design:position>
+ </design:identifier>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
@@ -2823,8 +2868,10 @@ Total.countDistinct ( row["xmi:id"] );</expression>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
- <design:name>endLine</design:name>
- <design:position>4</design:position>
+ <design:identifier>
+ <design:name>endLine</design:name>
+ <design:position>4</design:position>
+ </design:identifier>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
@@ -2837,8 +2884,10 @@ Total.countDistinct ( row["xmi:id"] );</expression>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
- <design:name>length</design:name>
- <design:position>5</design:position>
+ <design:identifier>
+ <design:name>length</design:name>
+ <design:position>5</design:position>
+ </design:identifier>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
@@ -2874,9 +2923,9 @@ Total.countDistinct ( row["xmi:id"] );</expression>
ret = Total.sum ( row["value"] );&#13;
&#13;
if ( ret == null || ret == "" ) {&#13;
- val = 0;&#13;
+ val = 0.0;&#13;
} else {&#13;
- val = ret / 60;&#13;
+ val = ret / 60;
}</expression>
<property name="dataType">float</property>
</structure>
@@ -2930,30 +2979,30 @@ if ( ret == null || ret == "" ) {&#13;
</structure>
</list-property>
<xml-property name="queryText"><![CDATA[table0#-TNAME-#table0#:#[//r4ecore:MapDateToDuration]#:#{xmi:id;STRING;@xmi:id},{key;STRING;@key},{value;STRING;@value}#:#<"ResTrans","http:%%org.eclipse.mylyn.reviews.r4e.model.transform%1.0";"xmi","http:%%www.omg.org%XMI";"r4ecore","http:%%org.eclipse.mylyn.reviews.r4e.core.model%";"xsi","http:%%www.w3.org%2001%XMLSchema-instance">]]></xml-property>
- <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
-<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
- <Version>1.0</Version>
- <design:ResultSets derivedMetaData="true">
- <design:resultSetDefinitions>
- <design:resultSetColumns>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>href</design:name>
- <design:position>1</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>-1</design:precision>
- <design:scale>-1</design:scale>
- <design:nullability>Unknown</design:nullability>
- </design:attributes>
- <design:usageHints>
- <design:label>href</design:label>
- <design:formattingHints/>
- </design:usageHints>
- </design:resultColumnDefinitions>
- </design:resultSetColumns>
- <design:criteria/>
- </design:resultSetDefinitions>
- </design:ResultSets>
+ <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
+ <Version>1.0</Version>
+ <design:ResultSets derivedMetaData="true">
+ <design:resultSetDefinitions>
+ <design:resultSetColumns>
+ <design:resultColumnDefinitions>
+ <design:attributes>
+ <design:name>href</design:name>
+ <design:position>1</design:position>
+ <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
+ <design:precision>-1</design:precision>
+ <design:scale>-1</design:scale>
+ <design:nullability>Unknown</design:nullability>
+ </design:attributes>
+ <design:usageHints>
+ <design:label>href</design:label>
+ <design:formattingHints/>
+ </design:usageHints>
+ </design:resultColumnDefinitions>
+ </design:resultSetColumns>
+ <design:criteria/>
+ </design:resultSetDefinitions>
+ </design:ResultSets>
</model:DesignValues>]]></xml-property>
<list-property name="privateDriverProperties">
<ex-property>
@@ -4483,7 +4532,7 @@ ret = totalPrepTime + totalDecisionTime;</expression>
nbAnomaly = Total.max ( row["CountTotalAnomaly"]);&#13;
&#13;
// Get the ratio&#13;
- if (prepTime == 0 ) {&#13;
+ if (prepTime == 0 || prepTime == null ) {&#13;
prepReviewRate = 0&#13;
} else {&#13;
prepReviewRate = nbAnomaly / prepTime;&#13;
@@ -5376,6 +5425,10 @@ countano = Total.max (row["CountStateAccepted"] )&#13;
&#13;
//Get the total lines of Codes for the anomalies&#13;
loc = Total.sum ( row["CountFileNumberOfLines"] );&#13;
+ &#13;
+ if ( loc == null ) {&#13;
+ loc = 0; //Init the value if there is no review item to look at&#13;
+ }&#13;
&#13;
//Compute the ratio anomalies / line of codes&#13;
if (loc == 0) {&#13;
@@ -5617,37 +5670,37 @@ if (loc == 0) {&#13;
</structure>
<structure>
<property name="position">2</property>
- <property name="name">startPosition</property>
+ <property name="name">Item TextPosition::startPosition</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
- <property name="name">startLine</property>
+ <property name="name">Item TextPosition::startLine</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">4</property>
- <property name="name">endLine</property>
+ <property name="name">Item TextPosition::endLine</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">5</property>
- <property name="name">length</property>
+ <property name="name">Item TextPosition::length</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">6</property>
- <property name="name">CountFileNumberOfLines</property>
+ <property name="name">Item TextPosition::CountFileNumberOfLines</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">7</property>
- <property name="name">CountTotalLOC</property>
+ <property name="name">Item TextPosition::CountTotalLOC</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">8</property>
- <property name="name">CountTotalReviewItems</property>
+ <property name="name">Item TextPosition::CountTotalReviewItems</property>
<property name="dataType">integer</property>
</structure>
<structure>
@@ -5657,177 +5710,177 @@ if (loc == 0) {&#13;
</structure>
<structure>
<property name="position">10</property>
- <property name="name">user</property>
+ <property name="name">Comment Anomaly::user</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">11</property>
- <property name="name">description</property>
+ <property name="name">Comment Anomaly::description</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">12</property>
- <property name="name">review</property>
+ <property name="name">Comment Anomaly::review</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">13</property>
- <property name="name">title</property>
+ <property name="name">Comment Anomaly::title</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">14</property>
- <property name="name">createdOn</property>
+ <property name="name">Comment Anomaly::createdOn</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">15</property>
- <property name="name">rank</property>
+ <property name="name">Comment Anomaly::rank</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">16</property>
- <property name="name">ruleID</property>
+ <property name="name">Comment Anomaly::ruleID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">17</property>
- <property name="name">xsi:type</property>
+ <property name="name">Comment Anomaly::xsi:type</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">18</property>
- <property name="name">href</property>
+ <property name="name">Comment Anomaly::href</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">19</property>
- <property name="name">xsi:type_1</property>
+ <property name="name">Comment Anomaly::xsi:type_1</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">20</property>
- <property name="name">href_1</property>
+ <property name="name">Comment Anomaly::href_1</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">21</property>
- <property name="name">href_2</property>
+ <property name="name">Comment Anomaly::href_2</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">22</property>
- <property name="name">state</property>
+ <property name="name">Comment Anomaly::state</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">23</property>
- <property name="name">dueDate</property>
+ <property name="name">Comment Anomaly::dueDate</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">24</property>
- <property name="name">fixedInVersion</property>
+ <property name="name">Comment Anomaly::fixedInVersion</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">25</property>
- <property name="name">decidedByID</property>
+ <property name="name">Comment Anomaly::decidedByID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">26</property>
- <property name="name">fixedByID</property>
+ <property name="name">Comment Anomaly::fixedByID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">27</property>
- <property name="name">followUpByID</property>
+ <property name="name">Comment Anomaly::followUpByID</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">28</property>
- <property name="name">AnomalyType</property>
+ <property name="name">Comment Anomaly::AnomalyType</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">29</property>
- <property name="name">IdentifyRankOther</property>
+ <property name="name">Comment Anomaly::IdentifyRankOther</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">30</property>
- <property name="name">CountRankMinor</property>
+ <property name="name">Comment Anomaly::CountRankMinor</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">31</property>
- <property name="name">CountRankMajor</property>
+ <property name="name">Comment Anomaly::CountRankMajor</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">32</property>
- <property name="name">CountRankOther</property>
+ <property name="name">Comment Anomaly::CountRankOther</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">33</property>
- <property name="name">CountStateCreated</property>
+ <property name="name">Comment Anomaly::CountStateCreated</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">34</property>
- <property name="name">CountStateAssigned</property>
+ <property name="name">Comment Anomaly::CountStateAssigned</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">35</property>
- <property name="name">CountStateAccepted</property>
+ <property name="name">Comment Anomaly::CountStateAccepted</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">36</property>
- <property name="name">CountStateFixed</property>
+ <property name="name">Comment Anomaly::CountStateFixed</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">37</property>
- <property name="name">CountStateDuplicated</property>
+ <property name="name">Comment Anomaly::CountStateDuplicated</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">38</property>
- <property name="name">CountStateRejected</property>
+ <property name="name">Comment Anomaly::CountStateRejected</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">39</property>
- <property name="name">CountStateDeferred</property>
+ <property name="name">Comment Anomaly::CountStateDeferred</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">40</property>
- <property name="name">CountStateVerified</property>
+ <property name="name">Comment Anomaly::CountStateVerified</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">41</property>
- <property name="name">CountTotalAnomaly</property>
+ <property name="name">Comment Anomaly::CountTotalAnomaly</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">42</property>
- <property name="name">AnomalyDueDate</property>
+ <property name="name">Comment Anomaly::AnomalyDueDate</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">43</property>
- <property name="name">AnomalyState</property>
+ <property name="name">Comment Anomaly::AnomalyState</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">44</property>
- <property name="name">CountStateOthers</property>
+ <property name="name">Comment Anomaly::CountStateOthers</property>
<property name="dataType">integer</property>
</structure>
<structure>
@@ -5861,6 +5914,9 @@ if (loc == 0) {&#13;
&#13;
timeHrs = Total.sum ( row["value"] ) / 60;&#13;
loc = row["CountTotalLOC"];&#13;
+ if (loc== null ) {&#13;
+ loc =0; //Init the loc if o review item found&#13;
+ }&#13;
&#13;
if ( timeHrs != 0 ) {&#13;
ret = loc / timeHrs; &#13;
@@ -5941,37 +5997,37 @@ if (loc == 0) {&#13;
</structure>
<structure>
<property name="position">2</property>
- <property name="name">startPosition</property>
+ <property name="name">Item TextPosition::startPosition</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
- <property name="name">startLine</property>
+ <property name="name">Item TextPosition::startLine</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">4</property>
- <property name="name">endLine</property>
+ <property name="name">Item TextPosition::endLine</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">5</property>
- <property name="name">length</property>
+ <property name="name">Item TextPosition::length</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">6</property>
- <property name="name">CountFileNumberOfLines</property>
+ <property name="name">Item TextPosition::CountFileNumberOfLines</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">7</property>
- <property name="name">CountTotalLOC</property>
+ <property name="name">Item TextPosition::CountTotalLOC</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">8</property>
- <property name="name">CountTotalReviewItems</property>
+ <property name="name">Item TextPosition::CountTotalReviewItems</property>
<property name="dataType">integer</property>
</structure>
<structure>
@@ -5981,17 +6037,17 @@ if (loc == 0) {&#13;
</structure>
<structure>
<property name="position">10</property>
- <property name="name">key</property>
+ <property name="name">Participant_Time::key</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">11</property>
- <property name="name">value</property>
+ <property name="name">Participant_Time::value</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">12</property>
- <property name="name">TotalPreparationTimeInHrs</property>
+ <property name="name">Participant_Time::TotalPreparationTimeInHrs</property>
<property name="dataType">float</property>
</structure>
<structure>