(Deprecated) Running a project completeness check
Completeness analysis verifies if a set of rules is complete and generates a report of any missing rules.
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:
If the rule project contains a ruleflow, the completeness mechanism checks that each rule task in the ruleflow is complete. For example, if a rule is missing in several rule tasks, the report shows the missing rule and lists the rule tasks in which the rule is missing.
If the rule project does not contain a ruleflow, the completeness mechanism checks all the rules in the project.
To run completeness analysis:
Select the Analyze tab and then click Check Project Completeness.
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>