Engineering Dashboard - Violations - Number of violations for the metric Avoid scripts using SQL static statements is incorrect

Purpose (problem description)

This page assists with the problem where the number of violations for the metric 'Avoid scripts using SQL static statements (Shell)' is incorrect when viewing in the Engineering Dashboard (ED/ED), like shown in the screenshot below:

Observed in CAST Version


Release

Yes/No

8.3(tick) 
Observed in RDBMS

RDBMS

Yes/No

CSS(tick) 
Step by Step scenario
  1. Analyze code with the Shell Extension
  2. Examine results on the ED Dashboard
Action Plan
  1. This issue is planned to be permanently fixed in a later version of the Shell extension.  For a workaround, please do the following steps (the extension directory (please see the following documentation if you are unfamiliar with the extension directory location and how extensions work:  Extending CAST AIP):
    1. Replace the file <extension directory>\<shell version being used in your analysis>\InstallScripts\Common\ADG\ADG_ConfigData_UA_SHELL_Config_CAST_Suported.xml by this file:  ADG_ConfigData_UA_SHELL_Config_CAST_Suported.xml
    2. Replace the file <extension directory>\<shell version being used in your analysis>\MasterFiles\IMPLQualityRules.xml by this file:  IMPLQualityRules.xml
    3. Run analysis and take a snapshot. 
  2. If the problem you are facing does not match any case listed in this page, report your problem to CAST Technical Support and provide the information from this link : Relevant input

 

Notes/comments

Ticket # 19884

Related Pages