dion        2004/02/03 16:30:32

  Modified:    simian   plugin.jelly
  Log:
  Apply MPSIMIAN-4. Fixes bad HTML
  
  Revision  Changes    Path
  1.8       +14 -10    maven-plugins/simian/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/simian/plugin.jelly,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- plugin.jelly      29 Jan 2004 12:02:32 -0000      1.7
  +++ plugin.jelly      4 Feb 2004 00:30:32 -0000       1.8
  @@ -127,45 +127,49 @@
       <section name="Summary">
         <p>${simLog.copyright1}</p>
         <p>${simLog.copyright2}</p>
  -      <table>
  +      <table summary="Simian report summary">
  +        <tbody>
           <tr>
  -          <td>Similarity threshold (lines)</td>
  +          <th>Similarity threshold (lines)</th>
             <td>${maven.simian.linecount}</td>
           </tr>
           <tr>
  -          <td>Total number of duplicate lines</td>
  +          <th>Total number of duplicate lines</th>
             <td>${simLog.totalDuplicateLineCount}</td>
           </tr>
           <tr>
  -          <td>Total number of duplicate blocks</td>
  +          <th>Total number of duplicate blocks</th>
             <td>${simLog.blockCount}</td>
           </tr>
           <tr>
  -          <td>Total number of files with duplicates</td>
  +          <th>Total number of files with duplicates</th>
             <td>${simLog.fileWithDuplicateCount}</td>
           </tr>
           <tr>
  -          <td>Total number of processed lines</td>
  +          <th>Total number of processed lines</th>
             <td>${simLog.loc}</td>
           </tr>
           <tr>
  -          <td>Total number of processed files</td>
  +          <th>Total number of processed files</th>
             <td>${simLog.fileParseCount}</td>
           </tr>
           <tr>
  -          <td>Scan time</td>
  +          <th>Scan time</th>
             <td>${simLog.time}</td>
           </tr>
  +        </tbody>
         </table>
       </section>
   
       <section name="Duplications">
         <j:forEach var="duplication" items="${simLog.duplications}">
           <subsection name="Duplication: ${duplication.lineCount} lines">
  +          <ul>
             <j:forEach var="duplicationArea" items="${duplication.duplicationAreas}">
               <j:set var="className" value="${duplicationArea.className}"/> 
  -            <a 
href="${duplicationArea.pathToClass}.html#${duplicationArea.startLine}">${duplicationArea.className}(${duplicationArea.startLine}-${duplicationArea.endLine})</a><br/>
  -          </j:forEach>          
  +            <li><a 
href="${duplicationArea.pathToClass}.html#${duplicationArea.startLine}">${duplicationArea.className}(${duplicationArea.startLine}-${duplicationArea.endLine})</a></li>
  +          </j:forEach>
  +          </ul>          
           </subsection>
         </j:forEach>
       </section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to