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