Reputation: 8182
I have different input data for a Java application.
Is there an easy way to see which methods and at best which code path are "touched" when using a certain set of input data?
Best solution would give some statics on how much of the code paths are run with that set of example data.
Upvotes: 0
Views: 49
Reputation: 24444
We're using EclEmma for that. It's a code coverage tool for Eclipse IDE. If you don't want to use eclipse, you can just use EMMA.
Upvotes: 1
Reputation: 281515
The thing you're looking for is a Code Coverage Tool. There are many available, and the major ones are listed here on Wikipedia: Java Code Coverage Tools.
Upvotes: 4