Changeset 75254fe in rtems-testing


Ignore:
Timestamp:
May 24, 2010, 2:47:05 PM (9 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
dc02515
Parents:
fc6f1ce
Message:

2010-05-24 Jennifer Averett <Jennifer,.Averett@…>

  • ReportsHtml?.cc: Added link to size report. Added a filterable File column to reports.
Location:
rtems-coverage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    rfc6f1ce r75254fe  
     12010-05-24      Jennifer Averett <Jennifer,.Averett@OARcorp.com>
     2
     3        * ReportsHtml.cc: Added link to size report. Added a filterable File
     4        column to reports.
     5
    162010-05-21      Jennifer.Averett@OARcorp.com
    27
  • rtems-coverage/ReportsHtml.cc

    rfc6f1ce r75254fe  
    199199        "<tr>\n"
    200200        "<th class=\"table-sortable:default\" align=\"left\">Symbol</th>\n"
    201         "<th class=\"table-filterable table-sortable:default\" align=\"left\">Line</th>\n"
     201        "<th class=\"table-sortable:default\" align=\"left\">Line</th>\n"
     202        "<th class=\"table-filterable table-sortable:default\" align=\"left\">File</th>\n"
    202203        "<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Bytes</th>\n"
    203204        "<th class=\"table-sortable:default\" align=\"left\">Reason</th>\n"
     
    248249      "<th class=\"table-sortable:default\" align=\"left\">Symbol</th>\n"
    249250      "<th class=\"table-sortable:default\" align=\"left\">Range</th>\n"
     251      "<th class=\"table-filterable table-sortable:default\" align=\"left\">File</th>\n"
    250252      "<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Bytes</th>\n"
    251253      "<th class=\"table-sortable:numeric\" align=\"left\">Size </br>Instructions</th>\n"
     
    341343      "<th class=\"table-sortable:numeric\" align=\"left\">Size</th>\n"
    342344      "<th class=\"table-sortable:default\" align=\"left\">Symbol</th>\n"
    343       "<th class=\"table-sortable:default\" align=\"left\">File</th>\n"
     345      "<th class=\"table-sortable:default\" align=\"left\">Line</th>\n"
     346      "<th class=\"table-filterable table-sortable:default\" align=\"left\">File</th>\n"
    344347      "</tr>\n"
    345348      "</thead>\n"
     
    487490  {
    488491    const Coverage::Explanation* explanation;
     492    std::string                  temp;
     493    int                          i;
    489494
    490495    // Mark the background color different for odd and even lines.
     
    508513      rangePtr->lowSourceLine.c_str()
    509514    );
    510    
     515
     516    // File
     517    i = rangePtr->lowSourceLine.find(":");
     518    temp =  rangePtr->lowSourceLine.substr (0, i);
     519    fprintf(
     520      report,
     521      "<td class=\"covoar-td\" align=\"center\">%s</td>\n",     
     522      temp.c_str()
     523    );
     524 
    511525    // Size in bytes
    512526    fprintf(
     
    624638     );
    625639     
    626     // Size in bytes
     640    // file
     641    fprintf(
     642      report,
     643      "<td class=\"covoar-td\" align=\"center\">unknown</td>\n"
     644     );
     645     
     646     // Size in bytes
    627647    fprintf(
    628648      report,
     
    657677  {
    658678    const Coverage::Explanation*   explanation;
    659 
     679    std::string                    temp;
     680    int                            i;
    660681
    661682    // Mark the background color different for odd and even lines.
     
    680701      rangePtr->highSourceLine.c_str()
    681702     );
    682      
     703
     704    // File
     705    i = rangePtr->lowSourceLine.find(":");
     706    temp =  rangePtr->lowSourceLine.substr (0, i);
     707    fprintf(
     708      report,
     709      "<td class=\"covoar-td\" align=\"center\">%s</td>\n",     
     710      temp.c_str()
     711    );
     712       
    683713    // Size in bytes
    684714    fprintf(
     
    733763  )
    734764  {
     765    std::string  temp;
     766    int          i;
     767
    735768    // Mark the background color different for odd and even lines.
    736769    if ( ( count%2 ) != 0 )
     
    753786    );
    754787
    755     // file
     788    // line
     789    fprintf(
     790      report,
     791      "<td class=\"covoar-td\" align=\"center\"><a href =\"annotated.html#range%d\">%s</td>\n",     
     792      range->id,
     793      range->lowSourceLine.c_str()
     794    );
     795
     796    // File
     797    i = range->lowSourceLine.find(":");
     798    temp =  range->lowSourceLine.substr (0, i);
    756799    fprintf(
    757800      report,
    758801      "<td class=\"covoar-td\" align=\"center\">%s</td>\n",     
    759       range->lowSourceLine.c_str()
    760     );
    761 
     802      temp.c_str()
     803    );
     804   
    762805    fprintf( report, "</tr>\n");
    763806
Note: See TracChangeset for help on using the changeset viewer.