(Deprecated) Running a project completeness check

Completeness analysis verifies if a set of rules is complete and generates a report of any missing rules.

Deprecated feature:

Deprecation icon Rule completeness analysis is deprecated in V8.9.0. This feature will be removed in a future release of the product. See Deprecated features for migration details.

The completeness mechanism analyzes the condition part of each rule in the set of rules and detects whether there are cases where no rule applies. You can base your report on any of the existing queries, or on all the rules in the project if you do not specify a query.

Completeness analysis operates as follows:

To run completeness analysis:

Example

In the following example, the project contains five rules that define "the customer" and that set the category of "the customer" to Silver, Platinum, or Gold.

Rule 1

if
   the value of the customer is at least 500 and the value of the customer is less than 1000
then
   set the category of the customer to "Silver";

Rule 2

if 
   the age of the customer is at least 65 and the value of the customer is less than 500
then 
   set the category of the customer to "Platinum";

Rule 3

if 
   the value of the customer is at least 1000 and the value of the customer is less than 1500
then
   set the category of the customer to "Gold";

Rule 4

if 
   the value of the customer is at least 1500
then
   set the category of the customer to "Platinum";

Rule 5

if 
   the value of the customer is less than 500 and the age of the customer is less than 50
then
   set the category of the customer to "Platinum";

The completeness analysis detects that no rule applies if the customer is between 50 and 65 and has a value of less than 500.

This missing case is presented as a rule skeleton in the report:

definitions 
     set  'Customer1'  to  a customer  ; 
 if 
    the value of  Customer1  is less than  500  
    and  the age of  Customer1  is less than 65  
    and  the age of Customer1  is at least  50  
 then 

<action>