Description

This page provides the details on wrong violations that are flagged for the Quality Rule "Use of Style sheets" on the dashboard even when the source code has CSS (Cascading Style Sheets) referenced.

Please refer to the below screenshots showing the issue:

Observed in CAST AIP
Release
Yes/No
8.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
CSS(tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Run analysis + snapshot for an application which is having CSS files (i.e. J2EE or .NET application).
  2. Open dashboard after snapshot is successful.
  3. Check the violations listed for the Quality Rule "Use of Style Sheets" in the Investigation - Quality Model Drill down.
Impact of the Problem

The impact of the problem on the analysis or the dashboard is: The dashboard shows the violations for the source code where CSS Files are referenced.

Details

It is expected to get violations for the source code part even though CSS is referenced because of the below reason:

CSS paths in the web source code are always considered relative to the web source object, and they actually do not exist in delivery. CSS files are not analyzed during the analysis.
It is only the relative path of CSS (Cascading Style sheet) using the URL which is resolved in the scope of the web source code file that is currently being analyzed.

Thus, making the violation a valid violation since the CSS Files are not present in the delivery.

  

Notes/comments
Ticket # 5496
Related Pages