CMS Snapshot analysis - Run Metrics Calculation - Warnings

*Purpose

This page will guide you to troubleshoot any warnings which you may face while running the metric assistant analysis.

For more information, refer to:

Observed in CAST AIP

ReleaseYes/No
8.3.x

Observed on RDBMS

RDBMSYes/No
CSS4
CSS3
CSS2

Action Plan

  1. Open the Run Metric Calculation log file  and identify the Warning message
    1. If the warning is about a syntax error, like the following 

      2020-06-09 06:18:02.889077    Information    MODULMSG ; Job execution    [MAv2] Computing metrics on C:\CASTMS\LISA\4aa2be9f5b2f42a5bbc197b815656531\Scrd277ddb3efd2469fb78c2ba327ebd9bc\WebLayers\BOCO-app-X_ea69c03\listeCollections_c77c230d.jsp.jsp    0 ; 0    0        0    [Module name]    0    0

      2020-06-09 06:18:02.889077    Warning    MODULMSG ; Job execution    [MAv2] Syntax error :
      then the impact can be because of erroneous results for some Quality Rule that are calculated by the metric assistant, since the file is partly/not at all analyzed

      1. Calculate the number of warnings in relation to the number of source code analyzed. Use any text editor with search capabilities (like Notepad++)

        1. To get total number of warnings for syntax errors by searching pattern [MAv2] Syntax error
        2. To get number of files parsed for MA analysis by searching pattern [MAv2] Computing metrics on
        3. Divide results from 1/2. The impact can be acceptable for the analysis if it affects less then 5% of the total source code
    2. If the warning is not about a syntax error, then check for known cases :

  2. If the problem you are facing does not match any case listed in this page, contact CAST Technical Support with below Relevant input.

Relevant input

  1. CAST Support Tool (CST) - alias Sherlock Export management and  knowledge base, source code and analysis logs

Notes

Related Pages