Page tree

Purpose
Run analysis option enables you to start the process of source code analysis of all Analysis Units at the Application level.

Official Documentation: CAST AIP 8.0.x Documentation > CAST AIP 8.0.x Documentation > Cookbooks > Application Analysis and Measurement with CAST AIP > 2. Application Analysis Process with CAST AIP > 2.2. Execute the Analysis

In this page, the different logs lines corresponding to the Run ASP Analyzer are listed with functional and technical explanation of the logs that it generates.

If you want to know more about Run Analyzer task related to other technologies, please:

CMS Snapshot Analysis - Run DOTNet Analyzer - C Sharp - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run ABAP Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run ASP Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - C and CPP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - EGL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Flex - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Fortran - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - PHP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - PLI - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - RPG - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Shell - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Angular js - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - JQuery - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Node js - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - HTML5 Javascript - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - Java - JSP - Web Services - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JAX RS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - Spring MVC - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JSP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JEE - EJB - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - CICS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - Cobol - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - IMS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - JCL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Oracle Forms Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Power Builder - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DB2 zOS Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - T SQL ASE - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - T SQL MS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - SQL PSM zOS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - PL SQL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run VB Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run VB Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - WPF - Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - WCF - Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - Silverlight Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - C Sharp - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - ASP DOTNet - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DB2 zOS Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - C only - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - CPP - Error Free Logs - CAST AIP 8

 

CMS Snapshot Analysis - Run J2EE Analyzer - JAX WS - Error Free Logs - CAST AIP 83


CAST-MS log file

This section lists the information logged into the Cast-MS log file when the Analysis is run and provides detailed information about the Environment,Type of analyzer and settings , command line to run the Analyzer.

Beginning of the ASP analysis Task

INF: 2017-02-08 09:39:00: starting Task Run analysis for 'ASP Application'

The name of the ASP execution unit is ASP_18079

INF: 2017-02-08 09:39:00: starting Task Run ASP Analyzer "ASP_18079"

Command line to run the ASP Analyzer

INF: 2017-02-08 09:39:00: C:\Program Files\CAST\8.0/anarun.exe  -CONNECT_PROFILE('<CSS Server>:2280 on CastStorageService.<local db>') -RUN_AU(207683,208383,'<LISA Path>\0f274f9a5ab8452b92b43623e1541d81\Scr18079\JobSettings.xml') -MANAGED(207683) -SESSION_ID(208383) -LOG('<Logs Folder>\0f274f9a5ab8452b92b43623e1541d81\ASP_18079-20170208093900.castlog',TRUNCATE) -LARGESTORAGE('<Large storage area path>','<Large storage area path>','0f274f9a5ab8452b92b43623e1541d81/Scr18079') -LOGIN(,USER,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT

The ASP analysis begins

INF: 2017-02-08 09:39:11: About to run CAST_Web_Asp_JobAnalyzer job 'ASP_18079'.
INF: 2017-02-08 09:39:30: Execution date=2017/02/08 08:39
INF: 2017-02-08 09:39:30: Execution duration=0 days, 00 hours, 00 mins, 19 secs
INF: 2017-02-08 09:39:30: Execution result=success
INF: 2017-02-08 09:39:32: Loading ini file: C:\Users\SBO\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult208383.INI
INF: 2017-02-08 09:39:32: Loading ini file: C:\Users\SBO\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult208383.INI
INF: 2017-02-08 09:39:32: Task message: No Task message
INF: 2017-02-08 09:39:32: Log file: C:\SBO - CAST\Temp\Logs\0f274f9a5ab8452b92b43623e1541d81\ASP_18079-20170208093900.castlog
INF: 2017-02-08 09:39:32: ending Task Run ASP Analyzer "ASP_18079"

ASP_<Execution_Unit_ID>-<Date Time>.castlog

This is the analysis log file of the ASP technology.

Configuration Information

At the begining of the ASP analysis log file, we have information about the configuration

2017-02-08 09:39:03.352 Information INTERNAL ; Body 64-bit environment

2017-02-08 09:39:03.353 Information INTERNAL ; Body LISA folder: C:\CASTMS\LargeStorage

2017-02-08 09:39:03.353 Information INTERNAL ; Body LTSA folder: C:\CASTMS\LargeStorage

0f274f9a5ab8452b92b43623e1541d81 is the Application ID : Then the LISA folder of the application will be in C:\CASTMS\LargeStorage\LISA\0f274f9a5ab8452b92b43623e1541d81

 
2017-02-08 09:39:03.353 Information INTERNAL ; Body LSA relative folder: 0f274f9a5ab8452b92b43623e1541d81/Scr18079
2017-02-08 09:39:06.157 Information INTERNAL ; Body Using Knowledge Base on schema cb802_sbo_local.
2017-02-08 09:39:07.209 Information MODULMSG ; Body Loading meta model from repository . . .
2017-02-08 09:39:12.123 Information MODULMSG ; Body Meta model loaded.
2017-02-08 09:39:12.123 Information INTERNAL ; Body RunAnalysis started

The application root path is in :
2017-02-08 09:39:12.123 Information INTERNAL ; Body Application Root Path : C:\SBO - CAST\CAST-MS\802\Deploy\ASP Application\My Package\ASP

The configuration of the web client to be analyzed:
2017-02-08 09:39:12.123 Information INTERNAL ; Body Web Client File Extensions : *.htm;*.html;*.htc
2017-02-08 09:39:12.124 Information INTERNAL ; Body Use Also Application Root Path for Web Client Files : 1
2017-02-08 09:39:12.124 Information INTERNAL ; Body Analysis Unit description :
2017-02-08 09:39:12.124 Information INTERNAL ; Body Name : ASP
2017-02-08 09:39:12.124 Information INTERNAL ; Body Web Server File Extensions : *.asp;*.asa
2017-02-08 09:39:12.124 Information INTERNAL ; Body Use Also Application Root Path for Web Server Files : 1
2017-02-08 09:39:12.124 Information INTERNAL ; Body Web Client Files
2017-02-08 09:39:12.124 Information INTERNAL ; Body Web Server Files
2017-02-08 09:39:12.124 Information INTERNAL ; Body Text Replacement
2017-02-08 09:39:12.124 Information INTERNAL ; Body Default Scripting Language for the client side : JavaScript
2017-02-08 09:39:12.124 Information INTERNAL ; Body Default Scripting Language for the server side : VBScript
2017-02-08 09:39:12.125 Information INTERNAL ; Body Add called files to selected files list : 0
2017-02-08 09:39:12.125 Information INTERNAL ; Body Add included files to selected files list : 0
2017-02-08 09:39:12.125 Information INTERNAL ; Body Maximal complexity (E : 100
2017-02-08 09:39:12.125 Information INTERNAL ; Body SESSION CONTEXT details:
207683 ; 208383 = "ASP Application"."ASP_18079"
2017-02-08 09:39:12.125 1 ; Job execution

 

Begining of the ASP analysis - Key word is About to run


2017-02-08 09:39:12.125 Information INTERNAL ; Job execution About to run CAST_Web_Asp_JobAnalyzer job 'ASP_18079'.
2017-02-08 09:39:12.125 Information MODULMSG ; Job execution Total physical memory: 8080 MB.

 

In the application there is no dependencies, then the number of external link component is set to 0


2017-02-08 09:39:12.475 Information MODULMSG ; Job execution External link component has loaded 0 objects
2017-02-08 09:39:12.475 Information INTERNAL ; Job execution Starting processing of ASP analysis ...
2017-02-08 09:39:13.181 Information PARSING ; Job execution Loading default options for cache saving component
2017-02-08 09:39:30.550 Information INTERNAL ; Job execution Complete Analysis 'ASP_18079'

2017-02-08 09:39:30.550 Information MODULMSG ; Job execution ASP analysis processed in 0:00:18
2017-02-08 09:39:31.251 Information INTERNAL ; Job execution New Job status
2017-02-08 09:39:31.251 Information INTERNAL ; Job execution Execution date=2017/02/08 08:39
2017-02-08 09:39:31.251 Information INTERNAL ; Job execution Execution duration=0 days, 00 hours, 00 mins, 19 secs
2017-02-08 09:39:31.251 Information INTERNAL ; Job execution Execution result=success
2017-02-08 09:39:31.251 MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 0 warning(s); 11 information message(s).
2017-02-08 09:39:31.251 1048575 ; Job execution
2017-02-08 09:39:31.334 Information INTERNAL ; Body Analysis completed

CAST_MainTask_SummaryLog<DateTime>.txt  

Status: Execution succeeded

Start: Wed Feb 08 09:38:57 CET 2017
OS Version: Windows 7 (version 6.1)
Machine name: SBOW10LAP
Software Version: CAST 8.0.2 ( Build 8653 )
Task: Take a snapshot of the application
Total duration: 3m24s
Nb of Computed Quality Rules: 44


-- Statistics for application ASP Application --
Analysis duration: 1m12s
Nb of modules: 1
Nb of active analysis units: 1
Nb of inactive analysis units: 0
Total nb of analysis units: 1
Nb of saved objects: 93

 

Summary is saved at C:\SBO - CAST\Temp\Logs\CAST_MainTask_SummaryLog_20170208-093857.txt

 

 

  • No labels