introduce code coverage measurement for Certification/QA

Registered by Victor Tuson Palau

In order to understand that validity of our automated testing, we should have a way to measure its code coverage.

A industry standard practice is to use a tool that pre-compiles the code to be tested with a set of instrumentation points designed to trace if the code is executed through all logic branches.

After testing the results obtained for the executed instrumentation points are compared against all inserted ones, hence providing a percentage of path been covered.

There are several code coverage measurements available but the most used are function and condition coverage
http://en.wikipedia.org/wiki/Code_coverage

Here is a tool example used within ltp:
http://ltp.sourceforge.net/coverage/lcov.php

Code coverage measurements provide deterministic way to quantify improvements to test coverage and to identify areas of poor test coverage.

Blueprint information

Status:
Complete
Approver:
Victor Tuson Palau
Priority:
Undefined
Drafter:
Victor Tuson Palau
Direction:
Needs approval
Assignee:
Ameet Paranjape
Definition:
Approved
Series goal:
Accepted for natty
Implementation:
Implemented
Milestone target:
None
Started by
Marjo F. Mercado
Completed by
Ameet Paranjape

Related branches

Sprints

Whiteboard

(?)

Work Items