I was wondering is there any tool I can use to instrument my code so that when I perform functional/integration testing, i can get a report of hwat percentage of the code was visited?
We use clover already to test our junit code coverage but it would be great if we could also test something from the functional perspective
You can use Cobertura. Once your clases have been instrumented they can log everything while your server/rich client/whatever is running, and on shutdown record everything.
After that, you can run cobertura report which gives you an html page with full coverage.