Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Java code coverage tool that records the number of times lines and methods are called?

Hopefully the title describes what I'm after. The closest I've found is Cobertura which looks like it will record the number of times a given line of code is called, but I haven't found anything at all to count how often a method is called.

like image 226
gareth_bowles Avatar asked Oct 08 '22 15:10

gareth_bowles


1 Answers

There are plugins available if you are using an IDE like eclipse Check this out :- http://www.eclipse.org/articles/Article-TPTP-Profiling-Tool/tptpProfilingArticle.html

like image 165
everconfusedGuy Avatar answered Oct 12 '22 11:10

everconfusedGuy