Code Complexity and Pi Measure

Why Pi Measure? All of the existing complexity measures give a potential or a hypothetical complexity. That is because they measure the program at rest due to their static nature.

The Pi Measure measures the actual dynamic complexity of a program in execution. The Pi Measure shows the degree to which the potential, static complexity is realized in execution.

The Pi Measure

Measure Execution Complexity
Purely Dynamic Measure
Improve Testing
Find More Defects
Prioritize and Evaluate Testing

What the is Pi Measure? The Pi Measure is a unique software-complexity measure. It is a purely dynamic complexity measure that does not rely on static code properties. It is based on the degree of control and data surprise the software under measure shows in execution. Highly complex code changes internal control and data in unpredictable and diverse ways.

Read moreCode Complexity and Pi Measure

What is conditional coverage

What is conditional coverage? Conditional coverage is a white-box testing method that measures the percentage of exercised branches in the code. Conditional coverage is a special case of test diversity.

Conditional Coverage

Measure Conditional Coverage
Discover un-tested code
Improve Test Quality

Why conditional coverage? An un-exercised branch could contain a defect that will not be detected. An exercised branch increases the confidence that the branch contains no defects.

Conditional Coverage

Read moreWhat is conditional coverage