Changeset 36cc316 in rtems-testing


Ignore:
Timestamp:
May 17, 2010, 2:58:50 PM (9 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
0f0caed
Parents:
38b985a
Message:

2010-05-17 Jennifer Averett <Jennifer.Averett@…>

  • ReportsHtml?.cc: Resolved sorting issue in summary report for percentages and changed N/A to 100.00%.
Location:
rtems-coverage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    r38b985a r36cc316  
     12010-05-17      Jennifer Averett <Jennifer.Averett@OARcorp.com>
     2
     3        * ReportsHtml.cc: Resolved sorting issue in summary report for
     4        percentages and changed N/A to 100.00%.
     5
    162010-05-17      Jennifer Averett <Jennifer.Averett@OARcorp.com>
    27
  • rtems-coverage/ReportsHtml.cc

    r38b985a r36cc316  
    148148        "<th class=\"table-filterable table-sortable:default\" align=\"left\">Line</th>\n"
    149149        "<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Bytes</th>\n"
    150         "<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Instructions</th>\n"
    151150        "<th class=\"table-sortable:default\" align=\"left\">Reason</th>\n"
    152151        "<th class=\"table-filterable table-sortable:default\" align=\"left\">Classification</th>\n"
     
    248247      "<th class=\"table-sortable:default\" align=\"center\">#</br>Always</br>Taken</th>\n"
    249248      "<th class=\"table-sortable:default\" align=\"center\">#</br>Never</br>Taken</th>\n"
    250       "<th class=\"table-sortable:default\" align=\"center\">Percent</br>Uncovered</br>Instructions</th>\n"
    251       "<th class=\"table-sortable:default\" align=\"center\">Percent</br>Uncovered</br>Bytes</th>\n"
     249      "<th class=\"table-sortable:numeric\" align=\"center\">Percent</br>Uncovered</br>Instructions</th>\n"
     250      "<th class=\"table-sortable:numeric\" align=\"center\">Percent</br>Uncovered</br>Bytes</th>\n"
    252251      "</tr>\n"
    253252      "</thead>\n"
     
    368367    );
    369368
    370     // Size in instructions
    371     fprintf(
    372       report,
    373       "<td class=\"covoar-td\" align=\"center\">%d</td>\n",
    374       rangePtr->instructionCount
    375     );
    376 
    377369    // Reason Branch was uncovered
    378370    if (rangePtr->reason ==
     
    686678      fprintf(
    687679        report,
    688         "<td class=\"covoar-td\" align=\"center\">N/A</td>\n"
     680        "<td class=\"covoar-td\" align=\"center\">100.00</td>\n"
    689681      );
    690682    else     
     
    700692      fprintf(
    701693        report,
    702         "<td class=\"covoar-td\" align=\"center\">N/A</td>\n"
     694        "<td class=\"covoar-td\" align=\"center\">100.00</td>\n"
    703695      );
    704696    else     
Note: See TracChangeset for help on using the changeset viewer.