change log for gcc-testing (2010-05-17)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon May 17 15:10:03 UTC 2010


 *jennifer*:
2010-05-17	Jennifer Averett <Jennifer.Averett at OARcorp.com>

	* ReportsHtml.cc, covoar.css: Resolved alternate stripe on html tables
	such that it works when sorted various ways.

M  1.252  rtems-coverage/ChangeLog
M   1.18  rtems-coverage/ReportsHtml.cc
M    1.4  rtems-coverage/covoar.css

diff -u gcc-testing/rtems-coverage/ChangeLog:1.251 gcc-testing/rtems-coverage/ChangeLog:1.252
--- gcc-testing/rtems-coverage/ChangeLog:1.251	Fri May 14 13:49:57 2010
+++ gcc-testing/rtems-coverage/ChangeLog	Mon May 17 09:39:22 2010
@@ -1,3 +1,8 @@
+2010-05-17	Jennifer Averett <Jennifer.Averett at OARcorp.com>
+
+	* ReportsHtml.cc, covoar.css: Resolved alternate stripe on html tables
+	such that it works when sorted various ways.
+
 2010-05-14	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	* ReportsText.cc: Modified text report data to match html report data.

diff -u gcc-testing/rtems-coverage/ReportsHtml.cc:1.17 gcc-testing/rtems-coverage/ReportsHtml.cc:1.18
--- gcc-testing/rtems-coverage/ReportsHtml.cc:1.17	Fri May 14 12:26:35 2010
+++ gcc-testing/rtems-coverage/ReportsHtml.cc	Mon May 17 09:39:23 2010
@@ -140,7 +140,7 @@
         aFile,
         "<pre class=\"heading-title\">Branch Report</pre>\n"
         "<body>\n"
-         "<table class=\"covoar table-autosort:0 table-autofilter"
+         "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
            TABLE_HEADER_CLASS "\">\n"
         "<thead>\n"
         "<tr>\n"
@@ -153,6 +153,7 @@
         "<th class=\"table-sortable:default\" align=\"left\">Explanation</th>\n"
         "</tr>\n"
         "</thead>\n"
+        "<tbody>\n"
       );
     }
    
@@ -173,7 +174,7 @@
       aFile,
         "<pre class=\"heading-title\">Coverage Report</pre>\n"
         "<body>\n"
-      "<table class=\"covoar table-autosort:0 table-autofilter"
+      "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
            TABLE_HEADER_CLASS "\">\n"
       "<thead>\n"
       "<tr>\n"
@@ -185,6 +186,7 @@
       "<th class=\"table-sortable:default\" align=\"left\">Explanation</th>\n"
       "</tr>\n"
       "</thead>\n"
+      "<tbody>\n"
      );
 
     return aFile;
@@ -204,7 +206,7 @@
       aFile,
       "<pre class=\"heading-title\">Size Report</pre>\n"
       "<body>\n"
-      "<table class=\"covoar table-autosort:0 table-autofilter"
+      "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
            TABLE_HEADER_CLASS "\">\n"
       "<thead>\n"
       "<tr>\n"
@@ -213,6 +215,7 @@
       "<th class=\"table-sortable:default\" align=\"left\">File</th>\n"
       "</tr>\n"
       "</thead>\n"
+      "<tbody>\n"
     );
     return aFile;
   }
@@ -231,7 +234,7 @@
       aFile,
       "<pre class=\"heading-title\">Symbol Summary Report</pre>\n"
       "<body>\n"
-      "<table class=\"covoar table-autosort:0 table-autofilter"
+      "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
            TABLE_HEADER_CLASS "\">\n"
       "<thead>\n"
       "<tr>\n"
@@ -248,6 +251,7 @@
       "<th class=\"table-sortable:default\" align=\"center\">Percent</br>Uncovered</br>Bytes</th>\n"
       "</tr>\n"
       "</thead>\n"
+      "<tbody>\n"
     );
     return aFile;
   }
@@ -338,10 +342,8 @@
     const Coverage::Explanation* explanation;
 
     // Mark the background color different for odd and even lines.
-    if ( ( count%2 ) == 0 )
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
-    else
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
+    if ( ( count%2 ) != 0 )
+      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
 
     // symbol
     fprintf( 
@@ -453,10 +455,8 @@
     );
 
     // Mark the background color different for odd and even lines.
-    if ( ( count%2 ) == 0 )
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
-    else
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
+    if ( ( count%2 ) != 0 )
+      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
 
     // symbol
     fprintf( 
@@ -506,10 +506,8 @@
 
 
     // Mark the background color different for odd and even lines.
-    if ( ( count%2 ) == 0 )
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
-    else
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
+    if ( ( count%2 ) != 0 )
+      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
 
     // symbol
     fprintf( 
@@ -580,10 +578,8 @@
   )
   {
     // Mark the background color different for odd and even lines.
-    if ( ( count%2 ) == 0 )
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
-    else
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
+    if ( ( count%2 ) != 0 )
+      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
 
     // size
     fprintf( 
@@ -619,10 +615,8 @@
   {
  
     // Mark the background color different for odd and even lines.
-    if ( ( count%2 ) == 0 )
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
-    else
-      fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
+    if ( ( count%2 ) != 0 )
+      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
 
     // symbol
     fprintf( 

diff -u gcc-testing/rtems-coverage/covoar.css:1.3 gcc-testing/rtems-coverage/covoar.css:1.4
--- gcc-testing/rtems-coverage/covoar.css:1.3	Fri May 14 12:26:35 2010
+++ gcc-testing/rtems-coverage/covoar.css	Mon May 17 09:39:23 2010
@@ -202,6 +202,15 @@
     background: #A4BC92;
 }
 
+tr.alternate {
+    background: #CBE4B1;
+}
+
+/* Examples which stray from the default */
+table.altstripe tr.alternate2 {
+	background-color:#CBE4B1;
+}
+
 .covoar-tr-odd {
     background: #CBE4B1;
 }


 *jennifer*:
2010-05-17	Jennifer Averett <Jennifer.Averett at OARcorp.com>

	* ReportsHtml.cc: Resolved sorting issue in summary report for
	percentages and changed N/A to 100.00%.

M  1.253  rtems-coverage/ChangeLog
M   1.19  rtems-coverage/ReportsHtml.cc

diff -u gcc-testing/rtems-coverage/ChangeLog:1.252 gcc-testing/rtems-coverage/ChangeLog:1.253
--- gcc-testing/rtems-coverage/ChangeLog:1.252	Mon May 17 09:39:22 2010
+++ gcc-testing/rtems-coverage/ChangeLog	Mon May 17 09:58:50 2010
@@ -1,5 +1,10 @@
 2010-05-17	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
+	* ReportsHtml.cc: Resolved sorting issue in summary report for
+	percentages and changed N/A to 100.00%.
+
+2010-05-17	Jennifer Averett <Jennifer.Averett at OARcorp.com>
+
 	* ReportsHtml.cc, covoar.css: Resolved alternate stripe on html tables
 	such that it works when sorted various ways.
 

diff -u gcc-testing/rtems-coverage/ReportsHtml.cc:1.18 gcc-testing/rtems-coverage/ReportsHtml.cc:1.19
--- gcc-testing/rtems-coverage/ReportsHtml.cc:1.18	Mon May 17 09:39:23 2010
+++ gcc-testing/rtems-coverage/ReportsHtml.cc	Mon May 17 09:58:50 2010
@@ -147,7 +147,6 @@
         "<th class=\"table-sortable:default\" align=\"left\">Symbol</th>\n"
         "<th class=\"table-filterable table-sortable:default\" align=\"left\">Line</th>\n"
         "<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Bytes</th>\n"
-        "<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Instructions</th>\n"
         "<th class=\"table-sortable:default\" align=\"left\">Reason</th>\n"
         "<th class=\"table-filterable table-sortable:default\" align=\"left\">Classification</th>\n"
         "<th class=\"table-sortable:default\" align=\"left\">Explanation</th>\n"
@@ -247,8 +246,8 @@
       "<th class=\"table-sortable:default\" align=\"center\">#</br>Branches</th>\n"
       "<th class=\"table-sortable:default\" align=\"center\">#</br>Always</br>Taken</th>\n"
       "<th class=\"table-sortable:default\" align=\"center\">#</br>Never</br>Taken</th>\n"
-      "<th class=\"table-sortable:default\" align=\"center\">Percent</br>Uncovered</br>Instructions</th>\n"
-      "<th class=\"table-sortable:default\" align=\"center\">Percent</br>Uncovered</br>Bytes</th>\n"
+      "<th class=\"table-sortable:numeric\" align=\"center\">Percent</br>Uncovered</br>Instructions</th>\n"
+      "<th class=\"table-sortable:numeric\" align=\"center\">Percent</br>Uncovered</br>Bytes</th>\n"
       "</tr>\n"
       "</thead>\n"
       "<tbody>\n"
@@ -367,13 +366,6 @@
       rangePtr->highAddress - rangePtr->lowAddress + 1
     );
 
-    // Size in instructions
-    fprintf( 
-      report, 
-      "<td class=\"covoar-td\" align=\"center\">%d</td>\n",
-      rangePtr->instructionCount
-    ); 
-
     // Reason Branch was uncovered
     if (rangePtr->reason ==
       Coverage::CoverageRanges::UNCOVERED_REASON_BRANCH_ALWAYS_TAKEN)
@@ -685,7 +677,7 @@
     if ( symbol->second.stats.sizeInInstructions == 0 )
       fprintf( 
         report, 
-        "<td class=\"covoar-td\" align=\"center\">N/A</td>\n"
+        "<td class=\"covoar-td\" align=\"center\">100.00</td>\n"
       );
     else     
       fprintf( 
@@ -699,7 +691,7 @@
     if ( symbol->second.stats.sizeInBytes == 0 )
       fprintf( 
         report, 
-        "<td class=\"covoar-td\" align=\"center\">N/A</td>\n"
+        "<td class=\"covoar-td\" align=\"center\">100.00</td>\n"
       );
     else     
       fprintf( 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100517/d6c736c7/attachment.html>


More information about the vc mailing list