• Post Reply Bookmark Topic Watch Topic
  • New Topic

What means Code Coverage?

 
Kay Tracid
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I use the tool OptimzeIt and one part is the code coverage. What is it for? I dont understand the discription with my bad english :-), so please explain it simple.
Thanks a lot!
best regards!
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Code coverage can mean a couple different things. Borland uses it as follows.
1) Identify and remove dead code
It will find lines of code which cannot be reached.
2) Show execution frequence
You can see which methods are executed and how much time is spent in each one.
(Taken from http://www.borland.com/optimizeit/code_coverage/ )

--Mark
 
Thomas Smets
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does some one knows a tool that gives indications on frequency of uses of the classes, methods, ...?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!