<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-testing (2011-09-01)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-09-01 Pawel Zagorski <pzagor@agh.edu.pl>
PR 1909/testing
* ReportsHtml.cc: Add branch taken and not taken count columns.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/covoar/ChangeLog.diff?r1=text&tr1=1.23&r2=text&tr2=1.24&diff_format=h">M</a></td><td width='1%'>1.24</td><td width='100%'>covoar/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/covoar/ReportsHtml.cc.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>covoar/ReportsHtml.cc</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/covoar/ChangeLog:1.23 rtems-testing/covoar/ChangeLog:1.24
--- rtems-testing/covoar/ChangeLog:1.23 Wed Aug 31 15:44:25 2011
+++ rtems-testing/covoar/ChangeLog Thu Sep 1 17:32:29 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-09-01 Pawel Zagorski <pzagor@agh.edu.pl>
+
+ PR 1909/testing
+ * ReportsHtml.cc: Add branch taken and not taken count columns.
+
</font> 2011-08-31 Pawel Zagorski <pzagor@agh.edu.pl>
* covoar/CoverageMapBase.cc, covoar/CoverageMapBase.h,
<font color='#006600'>diff -u rtems-testing/covoar/ReportsHtml.cc:1.4 rtems-testing/covoar/ReportsHtml.cc:1.5
--- rtems-testing/covoar/ReportsHtml.cc:1.4 Thu May 27 14:32:03 2010
+++ rtems-testing/covoar/ReportsHtml.cc Thu Sep 1 17:32:29 2011
</font><font color='#997700'>@@ -203,6 +203,7 @@
</font> "<th class=\"table-filterable table-sortable:default\" align=\"left\">File</th>\n"
"<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Bytes</th>\n"
"<th class=\"table-sortable:default\" align=\"left\">Reason</th>\n"
<font color='#000088'>+ "<th class=\"table-sortable:default\" align=\"left\">Taken / Not Taken</th>\n"
</font> "<th class=\"table-filterable table-sortable:default\" align=\"left\">Classification</th>\n"
"<th class=\"table-sortable:default\" align=\"left\">Explanation</th>\n"
"</tr>\n"
<font color='#997700'>@@ -508,6 +509,9 @@
</font> const Coverage::Explanation* explanation;
std::string temp;
int i;
<font color='#000088'>+ uint32_t bAddress = 0;
+ uint32_t lowAddress = 0;
+ Coverage::CoverageMapBase* theCoverageMap = NULL;
</font>
// Mark the background color different for odd and even lines.
if ( ( count%2 ) != 0 )
<font color='#997700'>@@ -560,11 +564,22 @@
</font> "<td class=\"covoar-td\" align=\"center\">Never Taken</td>\n"
);
<font color='#000088'>+ // Taken / Not taken counts
+ lowAddress = rangePtr->lowAddress;
+ bAddress = symbolPtr->second.baseAddress;
+ theCoverageMap = symbolPtr->second.unifiedCoverageMap;
+ fprintf(
+ report,
+ "<td class=\"covoar-td\" align=\"center\">%d / %d</td>\n",
+ theCoverageMap->getWasTaken( lowAddress - bAddress ),
+ theCoverageMap->getWasNotTaken( lowAddress - bAddress )
+ );
+
</font> // See if an explanation is available and write the Classification and
// the Explination Columns.
explanation = AllExplanations->lookupExplanation( rangePtr->lowSourceLine );
if ( !explanation ) {
<font color='#880000'>- // Write Classification
</font><font color='#000088'>+ // Write Classificationditr->second.baseAddress
</font> fprintf(<span style="background-color: #FF0000"> </span>
report,<span style="background-color: #FF0000"> </span>
"<td class=\"covoar-td\" align=\"center\">NONE</td>\n"
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>