Description

Java Script files are not analyzed. Either not seen on the dashboard or no objects for the js file are there in enlighten.

Observed in CAST AIP
Release
Yes/No
8.3.x(error)
8.2.x(tick)
8.1.x (tick)
8.0.x (tick) 
7.2.x(tick)
7.0.x(tick)
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(tick)
CSS2(tick)
CSS1(tick)
Step by Step Scenario
  1. Discover the source
  2. Analyze the application
  3. Open dashboard/enlighten to observe the above behavior.
Impact on Analysis Results and Dashboard

Files will not be analyzed.

Action Plan
  1. See if the configuration is correct refer to : CMS Analysis Unit - Information - Must have configuration setting while analyzing pure JS client using JEE analyzer
  2. If the configuration is correct check the logs if there are any errors or warnings for these java script files. If there are syntax warnings/errors cast would ignore the file for the analysis.
  3. If you cannot find errors/warnings in the log file then
    1. Enable the option "Include debug messages" while running.
      .
    2. Few of the Java Script files might have syntax errors. Even though the source is from the build the JS files are prone to syntax errors as few of the web browsers will ignore these errors.
    3. To understand the syntax errors you can use online JS interpreters like JSLINT.
  4. If the files are still not getting analyzed even after removing the syntax errors. Contact CAST support with the source to reproduce the issue.
Notes/comments

 From CAST AIP 8.3 onward please use the correct extension  HTML5 and JavaScript

Related Pages