Code Coverage - which indicates to measure the quality of code in a software, this degree describes the degree to which the source code of a program has been tested, Code Coverage is a form of testing that inspects the code directly and is therefore a form of white box testing. now the the use of code coverage is extended to the field of digital hardware, the contemporary design method of which relies on Hardware Languages.
To know the metric level of this method, we need to know what are the coverage criteria that need to be exercised, there are few important criteria's that i mentioned below:
- Function Coverage - Here needs checking of each function in the program been executed
- Statement Coverage - To check each line of code is been executed
- Decision Coverage - To check each control structure evaluated both to true or false
- Condition Coverage - To check each Boolean sub-expression evaluated both to true and false
- Path Coverage - to check weather every possible route through, a given part of code been executed
- Entry/Exit Coverage - To check weather every possible call and return of the function been executed
safety critical applications are often required to demonstrate that testing achieves 100% of some form of code coverage.
Related Topics:


1 comment:
I have never known something called coverage, despite the knowldge I have in software development, thanks to your blog and I will always comeback to check some good information on software development
Post a Comment