I was wondering if anybody knew of any Java tools or IDE Plugins that can test how many lines of code are actually run out of all the lines that exist in a program. I want to know how many lines out of the tens of thousands of lines I wrote actually get excercised by my unit and integration tests. So I want to know if 1500 out of 1700 lines actually executed versus 1000 out of 1700. Does anybody know of a tool that does this? It would be even more awesome if the tool pointed out which lines didn't get run so I could be sure to write tests that tested EVERY line of code. Basically, I want to have some sort of measure as to how much code is really getting executed by my tests so
More>>

I was wondering if anybody knew of any Java tools or IDE Plugins that can test how many lines of code are actually run out of all the lines that exist in a program.

I want to know how many lines out of the tens of thousands of lines I wrote actually get excercised by my unit and integration tests. So I want to know if 1500 out of 1700 lines actually executed versus 1000 out of 1700.

Does anybody know of a tool that does this?

It would be even more awesome if the tool pointed out which lines didn't get run so I could be sure to write tests that tested EVERY line of code.

Basically, I want to have some sort of measure as to how much code is really getting executed by my tests so I can do QA statistics on it.