CMS Assessment Model - Information - Functional weight - Number of Decision Points Definition

Purpose

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

Applicable in CAST Version

ReleaseYes/No
8.3.x✅
8.2.x✅
8.1.x✅
8.0.x✅
7.3.x✅
7.2.x✅
7.0.x✅

Applicable RDBMS

RDBMSYes/No
Oracle Server✅
Microsoft SQL Server✅
CSS2✅
CSS1✅

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