Purpose

 This page gives the Functional weight - Number of Decision Points Definition.

Applicable in CAST Version
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
7.2.x(tick)
7.0.x(tick)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
CSS1(tick)
Details

Definition

The Number of Decision Points is the sum of all artifact's Cyclomatic Complexity of the selected context. This "Total Cyclomatic Complexity" provides a useful and complementary evaluation of the application functional size based on the number of decision/control flow statements in the application's code. An interpretation of this number is the number of test cases one should set up to test all paths through the application. A steep increase of this number would highlight a need for substantively more testing effort.

Number_of_decision_point= sum (all_artifact_cyclomatic_complexity)

Cyclomatic complexity is processed by the Metric Assistant (MA) and it computes the number of the linearly independent paths, a lower bound of all execution paths ignoring multiple iterations.

Below is the list of categories considered by the MA during the computation of cyclomatic complexity:

  1. IF
  2. ELSIF
  3. AND OR
  4. CASE
  5. CATCH
  6. CONTINUE
  7. DO WHILE
  8. FOR
  9. TRY
  10. WHILE
Notes/comments


Related Pages