Code Coverage
Ah yes, code coverage. (The amount of code that actually gets executed when you run or test your program.)
I friend of mine describe his experience with code coverage while working for IBM:
In one of their now-long-gone projects that didn't imploy code coverage, they were planning to implement it, and were taking guesses as to what percentage of the code was covered. They guessed maybe 70%, okay maybe 60% if we're really bad.
And the figure?
18%
Yes my friends, that means 82 out of every 100 lines of code was not being executed by the path through the program that was run by their tests. Can you say: BUGS!
The moral of the story: Check your code coverage, there's open source software to do it, and you'll come away with better code and a one-up on the competition.
I friend of mine describe his experience with code coverage while working for IBM:
In one of their now-long-gone projects that didn't imploy code coverage, they were planning to implement it, and were taking guesses as to what percentage of the code was covered. They guessed maybe 70%, okay maybe 60% if we're really bad.
And the figure?
18%
Yes my friends, that means 82 out of every 100 lines of code was not being executed by the path through the program that was run by their tests. Can you say: BUGS!
The moral of the story: Check your code coverage, there's open source software to do it, and you'll come away with better code and a one-up on the competition.

0 Comments:
Post a Comment
<< Home