This page will guide you to troubleshoot any warnings which you may face while running the metric assistant analysis.
Warning are non blocking messages and do not prevent the analysis to be performed in most scenarios.
For more information, refer to:
- Official 8.3 Documentation - Run and validate the analysis
Release | Yes/No |
---|---|
8.3.x |
RDBMS | Yes/No |
---|---|
CSS4 | |
CSS3 | |
CSS2 |
- Open the Run Metric Calculation log file and identify the Warning message
- 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 analyzedCalculate the number of warnings in relation to the number of source code analyzed. Use any text editor with search capabilities (like Notepad++)
To get total number of warnings for syntax errors by searching pattern [MAv2] Syntax error
- To get number of files parsed for MA analysis by searching pattern [MAv2] Computing metrics on
- Divide results from 1/2. The impact can be acceptable for the analysis if it affects less then 5% of the total source code
- If the warning is not about a syntax error, then check for known cases :
- If the warning is about a syntax error, like the following
- 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
- CAST Support Tool (CST) - alias Sherlock Export management and knowledge base, source code and analysis logs