More and more testers and programmers are using tools that provide code coverage metrics. These metrics tell the tester or programmer how much of the code has been covered by a given set of tests, and, more importantly, what important conditions might not be covered. In addition, some tools can evaluate the coverage of data flows. Some tools can also provide insight into the complexity, and thus the likely difficulty level of future refactoring, of the code.
To make the material easier to understand and practical, Rex will illustrate each metric using a real program, along with open source tools that illustrate the concepts.