Difference between revisions of "Design predicates"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "'''Design predicates''' are a method invented by Thomas McCabe to quantify the complexity of the integration of two units of software. == Description == Each of the four...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Design predicates''' are a method invented by Thomas McCabe to quantify the complexity of the integration of two units of [[software]].
+
'''Design predicates''' are a method invented by Thomas McCabe to quantify the [[complexity]] of the integration of two units of [[software]].
  
 
== Description ==
 
== Description ==
Line 15: Line 15:
 
== See also ==
 
== See also ==
  
 +
* [[Complexity]]
 
* [[Cyclomatic complexity]]
 
* [[Cyclomatic complexity]]
 
* [[Design pattern]]
 
* [[Design pattern]]
* [[Integration testing]]
+
* [[Integration testing]] - the phase in [[software testing]] in which individual software modules are combined and tested as a group.
 
* [[Software engineering]]
 
* [[Software engineering]]
 
* [[White box testing]]
 
* [[White box testing]]

Latest revision as of 09:06, 19 August 2016

Design predicates are a method invented by Thomas McCabe to quantify the complexity of the integration of two units of software.

Description

Each of the four types of design predicates have an associated integration complexity rating.

For pieces of code that apply more than one design predicate, integration complexity ratings can be combined.

The sum of the integration complexity for a unit of code, plus one, is the maximum number of test cases necessary to exercise the integration fully.

Though a test engineer can typically reduce this by covering as many previously uncovered design predicates as possible with each new test.

Also, some combinations of design predicates might be logically impossible.

See also

External links