It's not a secret anymore!
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 Head First Android this week in the Android 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

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
author & internet detective

Joined: May 26, 2003
Posts: 32304

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

[OCA 8 book] [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
It is sorta covered in the JavaRanch Style Guide.
subject: Code Coverage tool 4 JSPs
jQuery in Action, 3rd edition