
- Software Testing Dictionary
- Home
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Code Coverage
What is Code Coverage?
Code Coverage testing is determining how much code is being tested. It can be calculated using the formula:
Code Coverage = (Number of lines of code exercised)/(Total Number of lines of code) * 100%
Following are the types of code coverage Analysis:
Statement coverage and Block coverage
Function coverage
Function call coverage
Branch coverage
Modified condition/decision coverage
Advertisements