Code Coverage | Glossary

Definition:

Code coverage is a term used in software testing to explain how much program source code is covered by a testing plan. Developers look at the number of program subroutines and lines of code that are covered by a set of testing resources and techniques.

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

Further Reading:

Book: Agile Testing by Janet Gregory and Lisa Crispin.

 

Capability Maturity Model Integration | Glossary

Definition:

The Capability Maturity Model Integration (CMMI) is a capability maturity model developed by the software Engineering Institute, a part of Carnegie mellon University in pittsburgh, USA. The CMMI principal is that “the quality of a system or product is very influenced by the process used to develop and maintain it”. CMMI is used to guide process improvement across a project, a division, or a complete organization.

CMMI provides:

  • Guidelines for processes improvement
  • An integrated approach to process improvement
  • Embedding process improvements into a state of business as usual
  • A phased approach to introducing improvements

Further Reading:

Book: Agile Testing by Janet Gregory and Lisa Crispin.