havapa / testability-explorer

Automatically exported from code.google.com/p/testability-explorer
Apache License 2.0
0 stars 0 forks source link

Report output is written after </html> #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enable TE in reporting section, see [1]

2. Run report with "mvn site:site site:deploy"

What is the expected output? What do you see instead?

Expected: Valid HTML on TE report

What I am seeing: broken HTML, the page ends with "</html>", after which
some more output from the generated report HTML is shown, see [2]

What version of the product are you using? On what operating system?

TE plugin 1.3.3, started from Hudson via embedded Maven 2.2.1

Please provide any additional information below.

The contents of the project are somewhat confidental, so I can't attach the
complete generated HTML page.

[1]: snippet from the project POM

    <reporting>
        <plugins>
            <plugin>
                <groupId>com.google.testability-explorer</groupId>
                <artifactId>maven-testability-plugin</artifactId>
                <version>1.3.3</version>
            </plugin>
        </plugins>
    </reporting>

[2]: snippet from the generated HTML page

...
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>

  </body>
</html>
ble class="issuesExplanation">
          <tr class="even">
            <td>
                On line
              20,

            </td>
            <td>
              <tt>SecurityMonitorInterceptor()</tt> is complex
            </td>

            <td class="percent">contributing 50% of total class cost</td>
          </tr>
      </table>

...
... some more TE html output
...

     <p class="suggestion">Refactor the method by breaking the complex
portions into several smaller methods.</p>

    <!--input type="button" value="Show more suggestions"/><br/-->
    <!--p>If these changes were made, the cost of testing this class would
be reduced by <b>0%</b>.</p-->
  </div>
<div class="copyright">
  <a
href="http://testabilityexplorer.org">http://testabilityexplorer.org</a></div>

</body>
</html>

Original issue reported on code.google.com by hakan.tandogan on 10 May 2010 at 1:12

GoogleCodeExporter commented 8 years ago
Looks like a duplicate of issue 14.

Original comment by pja...@gmail.com on 13 May 2010 at 4:12