This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Code Coverage tool 4 JSPs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Code Coverage tool 4 JSPs" Watch "Code Coverage tool 4 JSPs" New topic
Author

Code Coverage tool 4 JSPs

doug parker
Ranch Hand

Joined: Oct 26, 2004
Posts: 30
is there a code coverage tool that works well with JSPs running on tomcat (allowing you to see what lines in the JSP are executed)? I think it is a given that you must precompile the JSP with the coverage tool.

the JSPs i'm dealing with are in a 'model 1' architecture & i'd like to detect the unused portions of code in them.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

Doug,
Clover can do that. It's a commercial took, but there is a free trial.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Don't get me started about those stupid light bulbs.
 
subject: Code Coverage tool 4 JSPs
 
Similar Threads
How to handle code coverage for catch blocks?
Code Coverage Tool
What metrics do you really use?
My RAD code coverage statistics go away a few seconds after running JUnit tests.
tips for procedural cobol programmer to do java testing