Purpose (problem description)

This page describes how to investigate differences in the number of critical violations between two snapshots when the source code does not change between two versions.


Observed in CAST AIP
Release
Yes/No
8.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
CSS (tick)
Step by Step scenario
  1. Take at least 2 snapshots.
  2. Open CED.
  3. Observe that the number of critical violations is not the same between the 2 latest snapshots.
Action Plan
  1. Identify the critical quality rules for which there is a variation in the number of violation, please perform the following:

    1. Run the query given in SQL Queries - CAST Central Base - Queries on Metrics - How to get the details of critical violations displayed in the STATISTICS section in the left panel on the latest and previous snapshot to give the list of objects violating critical rules in the specified snapshots 
    2. Get the rows that vary between the 2 queries
  2. Check if the object that present the variation is missing from one of the 2 runs, for this please refer to CAST Engineering Dashboard - Object - Missing objects, if yes then it's normal to get the variation please refer to CAST Engineering Dashboard - Object - Missing objects in order to identify the root cause, else go to the next step
  3. Check if the Quality rules that present the variation, is violating the object(s) in the 2 runs, for this please refer to SQL Queries - CAST Central Base - Queries on Metrics - Get the objects violation list for a given quality rule per application module and snapshot, if yes then go to the next step, else:
    1. Check if the Quality rules that present the variation is activated for the 2 runs, for this please refer to SQL Queries - CAST Central Base - Queries on Metrics - How to get the list of deactivated metrics, if yes then go to the next step, else it is expected to get the variation
    2. Check if the Quality rules that present the variation is not a missing or wrong violation between the 2 runs, for this please refer to CAST Engineering Dashboard - Violations - False violation or no violation, if yes then follow the page CAST Engineering Dashboard - Violations - False violation or no violation in order to investigate this, else go to the next step.
  4. Check if the Quality rules that present the variation was critical in the previous snapshot but are not in the current snapshot or the contrary, for this compare the Technical Criteria aggregating of the Quality Rules between the 2 runs by proceeding as follows for the 2 runs:
    1. Open the assessment model of the current and previous run
    2. Search for the QR
    3. Go to the Grade Impacts tab
  5. If none of the variation of number of violation on critical quality rule explains the differences, contact CAST Support  with the following Relevant input

 

Relevant input

  1. Screenshot showing the variation in the dashboard with the URL visible

  2. Sherlock export with the following options: Export Logs, Export Configuration files, Export Computer Environment,Export CAST Bases

  3. CAST Bases corresponding to previous snapshot

Notes/comments

 Ticket # 3991, 9067