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
Original issue reported on code.google.com by
hakan.tandogan
on 10 May 2010 at 1:12