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.
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.