Display statistics


The CAST Transaction Configuration Center can provide predefined statistics related to the application. Along with information on the Data Functions/Transactional Functions themselves, statistics results also involve artifacts, and some other topics that may help in the understanding of the Function Point results, or on the contrary why some values are small or even equal to zero.

To display statistics, you can:

  • Use the Command Line Interface (CLI) with the -CreateAppliStatsForTR option.
  • Use the GUI: right click on the AFP Calibration node in the My System > Application nodes and select Display transaction statistics > Statistics report:

On using the GUI option, statistics will be written to a temporary .TXT file located as shown below - this .TXT file will be opened automatically in the default TXT editor on the local machine:

%TEMP%\CAST\CAST\<major#>.<minor#>
What does the report contain?

The brief statistics report will contain, in text (.txt) file format, only numeric values (such as the count of transactions, function points, % of artifacts involved in transactions, etc.)

All these values refer to the application on which statistics have been produced, and SQL objects whose names appear below all belong to the CAST Analysis Service ("local" database/schema).

Below is the list of values that are displayed, in order, in the text file, along with their meaning:

Application Boundary

  • Total count of artifacts: the overall count of application's artifacts.
  • Count of artifacts involved in Transactional Functions: how many artifacts belong to any of Transactional Functions.
  • Percentage of artifacts involved in Transactional Functions: ( 100 * the count of artifacts involved in Transactional Functions ) / the total count of artifacts. The displayed value will be 0 if the application doesn't contain any artifact, or if none of its artifacts is involved in any Transactional Function.

Filters

  • Number of lookup tables: the number of Lookup Tables for the application (is the number of rows in the FP_Lookup_Tables table which are related to the application).
  • Number of Data Functions and Transactional Functions out of Application Boundary or excluded by the Setup configuration: the number of "excluded" Data Functions and Transactional Functions which technical object still exists but is out of the application's boundary or is excluded by the TCC Setup configuration (is the number of rows in the DSS_KeysExtraDeleted table which are related to the application).

Data Functions

  • Number of initial Data Functions: the overall number of Data Functions, whatever merge-root/detail, split, deleted, ignored, or left untouched (aka "un-calibrated").
  • Number of manually deleted Data Functions: the count of Data Functions which have been marked "deleted" using the user interface of the CAST Transaction Configuration Center (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & 8 != 0).
  • Number of "deleted by external script" Data Functions: the count of Data Functions which have been marked "deleted" consequently to the execution of a SQL script (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & 128 != 0).
  • Number of split Data Functions: the count of Data Functions which have been split using the user interface of the CAST Transaction Configuration Center (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & 1 != 0).
  • Number of merged Data Functions (Master): the count of Data Functions which result of a "merge" operation and have been chosen as merge root (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & 2 != 0).
  • Number of merged Data Functions (Detail): the count of Data Functions which are detail in a merged Data Function (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & 4 != 0).
  • Number of ignored Data Functions: the count of Data Functions which have been marked "ignored" (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & 256 != 0).
  • Number of "un-calibrated" Data Functions: the count of Data Functions which did not get affected by any calibration operation: merged, split, ignored, deleted (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & (1|2|4|8|128|256) = 0).
  • Number of valid Data Functions: the count of valid Data Functions, those which are neither marked "deleted" - manually or by external script - nor "ignored" (is the number of rows in the DSS_DataFunction table which are related to the application and have Cal_Flags & (8|128|256) != 0).
  • Calibrated Function Points: the count of Function Points while taking into account only valid Data Functions.

Transactional Functions

  • Number of initial Transactional Functions: the overall number of Transactional Functions, whatever merge-root/detail, split, deleted, ignored, or left untouched (aka "un-calibrated").
  • Number of empty Transactional Functions: the count of Transactional Functions which Function Points value is 0 - a Transactional Functions has a Function Point value of 0 when its DET (Data Element Type) and FTR (File Type Reference) values are both 0.
  • Number of manually deleted Transactional Functions: the count of Transactional Functions which have been marked "deleted" using the user interface of the CAST Transaction Configuration Center (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & 8 != 0).
  • Number of "deleted by external script" Transactional Functions: the count of Transactional Functions which have been marked "deleted" consequently to the execution of a SQL script (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & 128 != 0).
  • Number of split Transactional Functions: the count of Transactional Functions which have been split using the user interface of the CAST Transaction Configuration Center (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & 1 != 0).
  • Number of merged Transactional Functions (Master): the count of Transactional Functions which result of a "merge" operation and have been chosen as merge root (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & 2 != 0).
  • Number of merged Transactional Functions (Detail): the count of Transactional Functions which are detail in a merged Transactional Function (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & 4 != 0).
  • Number of ignored Transactional Functions: the count of Transactional Functions which have been marked "ignored" (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & 256 != 0).
  • Number of "un-calibrated" Transactional Functions: the count of Transactional Functions which did not get affected by any calibration operation: merged, split, ignored, deleted (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & (1|2|4|8|16|32|64|128|256) = 0).
  • Number of valid Transactional Functions: the count of valid Transactional Functions, those which are neither marked "deleted" - manually or by external script - nor "ignored" (is the number of rows in the DSS_Transaction table which are related to the application and have Cal_Flags & (8|128|256) != 0).
  • Calibrated Function Points: the count of Function Points while taking into account only valid Transactional Functions.

CAST Website