This page provides a description of different logs created when generating a snapshot with Node.js analysis. Please note that the Node.js analyzer relies on the HTML5/Javascript analyzer.
You may refer to official documentation
In this page, the different logs lines corresponding to the Run Universal Analyzer - Node js 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:
CAST-MS[#].log.txt
In the CAST MS log file we have many usefull information regarding the environment : the CAST Installation folder used (we can found it in the command line to run the tool), the LISA and LTSA location and log file location
Run Universal Analyzer "My Universal Analysis Unit_62254"
INF: 2016-07-08 10:25:51: starting Task Run Universal Analyzer "My Universal Analysis Unit_62254"
INF: 2016-07-08 10:25:51: C:\CAST8/anarun.exe -CONNECT_PROFILE('W7X64_SFR_1:2280 on CastStorageService.salim_eightzero_local') -RUN_AU(651651,651654,'C:\Cast8MS\8.0.1\LISA\LISA\49fbc2581a4a4baab9c02cfefbd5210a\Scr62254\JobSettings.xml') -MANAGED(651651) -SESSION_ID(651654) -LOG('C:\Users\SFR\AppData\Local\Temp\CAST\CAST\8.0\49fbc2581a4a4baab9c02cfefbd5210a\My Universal Analysis Unit_62254-20160708120536.castlog',TRUNCATE) -LARGESTORAGE('C:\Cast8MS\8.0.1\LISA','C:\Cast8MS\8.0.1\LTSA','49fbc2581a4a4baab9c02cfefbd5210a/Scr62254') -LOGIN(,CASTCORP\SFR,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2016-07-08 10:25:53: About to run JOB_UNIVERSAL_ANALYZER job 'My Universal Analysis Unit_62254'.
INF: 2016-07-08 10:25:53: Execution date=2016/07/08 10:07
INF: 2016-07-08 10:25:53: Execution duration=0 days, 00 hours, 01 mins, 22 secs
INF: 2016-07-08 10:25:53: Execution result=success
INF: 2016-07-08 10:25:55: Loading ini file: C:\Users\SFR\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult651654.INI
INF: 2016-07-08 10:25:55: Loading ini file: C:\Users\SFR\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult651654.INI
INF: 2016-07-08 10:25:55: Task message: No Task message
INF: 2016-07-08 10:25:55: Log file: C:\Users\SFR\AppData\Local\Temp\CAST\CAST\8.0\49fbc2581a4a4baab9c02cfefbd5210a\My Universal Analysis Unit_62254-20160708120536.castlog
INF: 2016-07-08 10:25:55: ending Task Run Universal Analyzer "My Universal Analysis Unit_62254"
My Universal Analysis Unit_[Exec Unit ID]-[DateTime].castlog
This is the Node.js analysis log file. The Node.js analyzer is based on the HTML5/Javascript analyzer, that is why some messages related to the latter can be found.
Messages specific to the Node.js analyzer are prefixed by [com.castsoftware.nodejs] , whereas generic HTML5/javascript messages are prefixed by [com.castsoftware.html5]
Run analysis is about to start
2016-07-08 10:25:53.383 Information MODULMSG ; Body Loading meta model from repository . . . 0 0 AMT 0 0 ; 0 0
2016-07-08 10:25:53.383 Information MODULMSG ; Body Meta model loaded. 0 0 AMT 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body RunAnalysis started 0 0 Common 0 0 ; 0 0
Configuration Information
2016-07-08 10:25:53.383 Information INTERNAL ; Body Analysis Unit description : 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Name : My Universal Analysis Unit 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Universal language 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Extensions used in jobSettings : *.js;*.html;*.xml;*.css 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Name : HTML5 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Description : HTML5/Javascript 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Sources 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body File Path : C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Permission : Include 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body File Path : C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\node_modules\restify\node_modules\negotiator\lib\mediaType.js 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.383 Information INTERNAL ; Body Permission : Exclude 0 0 Common 0 0 ; 0 0
...
2016-07-08 10:25:53.384 Information INTERNAL ; Body Number of Instances : 200000 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.384 Information INTERNAL ; Body SESSION CONTEXT details:
651651 ; 651654 = "TKB-Node.js"."My Universal Analysis Unit_62254" 0 0 Common 0 0 ; 0 0
File Processing
Search for the phrase : About to run JOB_UNIVERSAL_ANALYZER
2016-07-08 10:25:53.384 Information INTERNAL ; Job execution About to run JOB_UNIVERSAL_ANALYZER job 'My Universal Analysis Unit_62254'. 0 0 Common 0 0 ; 0 0
2016-07-08 10:25:53.384 Information MODULMSG ; Job execution Total physical memory: 8191 MB. 0 0 AMT 0 0 ; 0 0
2016-07-08 10:25:53.756 Information MODULMSG ; Job execution External link component has loaded 40 objects 0 0 anarun 0 0 ; 0 0
2016-07-08 10:25:53.756 Information MODULMSG ; Job execution External link component has loaded 40 objects 0 0 anarun 0 0 ; 0 0
2016-07-08 10:25:58.246 Information MODULMSG ; Job execution Starting processing of file 'C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\utils.js' 0 0 UA 0 C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\utils.js 0 ; 0 0
2016-07-08 10:25:58.246 Information MODULMSG ; Job execution File processed : 'C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\utils.js' 0 0 UA 0 C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\utils.js 0 ; 0 0
2016-07-08 10:25:58.246 Information MODULMSG ; Job execution External link component has loaded 0 objects 0 0 anarun 0 0 ; 0 0
2016-07-08 10:25:58.246 Information MODULMSG ; Job execution Starting processing of file 'C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\subscribe.js' 0 0 UA 0 C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\subscribe.js
2016-07-08 10:25:58.246 Information MODULMSG ; Job execution File processed : 'C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\subscribe.js' 0 0 UA 0 C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\subscribe.js 0 ; 0 0
...
2016-07-08 10:26:17.837 Information MODULMSG ; Job execution Starting processing of file 'C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Mgmt\phpunit.xml' 0 0 UA 0 C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Mgmt\phpunit.xml 0 ; 0
2016-07-08 10:26:17.837 Information MODULMSG ; Job execution File processed : 'C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Mgmt\phpunit.xml' 0 0 UA 0 C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Mgmt\phpunit.xml 0 ; 0 0
External Link processing
2016-07-08 10:26:20.077 Information MODULMSG ; Job execution Starting External Link processing 0 0 AMT 0 0 ; 0 0
2016-07-08 10:26:31.422 Information INTERNAL ; Job execution [com.castsoftware.html5] Root directories: 0 0 0 0 ; 0 0
2016-07-08 10:26:31.422 Information INTERNAL ; Job execution [com.castsoftware.html5] WholeSource: 138 html files, 10 css files, 157 js files,0 jsp files 0 0 0 0 ; 0 0
1) Parsing of source files in each root directory
2016-07-08 10:26:31.422 Information INTERNAL ; Job execution [com.castsoftware.nodejs] start_analysis_root WholeSource 0 0 0 0 ; 0 0
2016-07-08 10:26:31.592 Information INTERNAL ; Job execution [com.castsoftware.html5] start_analysis_root WholeSource 0 0 0 0 ; 0 0
2016-07-08 10:26:31.780 Information INTERNAL ; Job execution [com.castsoftware.html5] Starting file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Mgmt\vendor\jlapp\swaggervel\public\o2c.html 0 0 0 0 ; 0 0
2016-07-08 10:26:31.780 Information INTERNAL ; Job execution [com.castsoftware.html5] Starting file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Mgmt\vendor\guzzlehttp\guzzle\docs\_templates\nav_links.html 0 0 0 0 ; 0 0
...
2016-07-08 10:26:31.780 Information INTERNAL ; Job execution [com.castsoftware.html5] Starting file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Mgmt\FE\dist\views\sp\stastics-partnerwise.html 0 0 0 0 ; 0 0
LIGHT PARSING : ALL GLOBAL OBJECTS ARE LOADED
2016-07-08 10:26:37.500 Information INTERNAL ; Job execution [com.castsoftware.html5] Light parsing of file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\utils.js 0 0 0 0 ; 0 0
2016-07-08 10:26:37.500 Information INTERNAL ; Job execution [com.castsoftware.html5] Light parsing of file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\subscribe.js 0 0 0 0 ; 0 0
2016-07-08 10:26:37.858 Information INTERNAL ; Job execution [com.castsoftware.html5] Light parsing of file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\most_used.js 0 0 0 0 ; 0 0
...
FULL PARSING : DETAILED PARSING AND RESOLUTION OF LINKS
2016-07-08 10:26:43.228 Information INTERNAL ; Job execution [com.castsoftware.html5] Full parsing of file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\utils.js 0 0 0 0 ; 0 0
2016-07-08 10:26:43.583 Information INTERNAL ; Job execution [com.castsoftware.html5] Full parsing of file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\ussd\subscribe.js 0 0 0 0 ; 0 0
...
2016-07-08 10:26:44.665 Information INTERNAL ; Job execution [com.castsoftware.html5] Full parsing of file C:\CAST8MS\8.0.1\Deploy\TKB-Node.js\WholeSource\Shop-Portal\app.js 0 0 0 0 ; 0 0
2016-07-08 10:26:56.851 Information INTERNAL ; Job execution [com.castsoftware.nodejs] end_analysis_root WholeSource 0 0 0 0 ; 0 0
2) Summary of objects created for each root directory
2016-07-08 10:26:56.851 Information INTERNAL ; Job execution [com.castsoftware.nodejs] 5 NodeJS web service operations created. 0 0 0 0 ; 0 0
2016-07-08 10:26:56.851 Information INTERNAL ; Job execution [com.castsoftware.nodejs] 0 NodeJS mongoose models created. 0 0 0 0 ; 0 0
2016-07-08 10:26:56.851 Information INTERNAL ; Job execution [com.castsoftware.nodejs] 24 NodeJS database accesses found. 0 0 0 0 ; 0 0
2016-07-08 10:26:56.851 Information INTERNAL ; Job execution [com.castsoftware.html5] Ending javascript analysis 0 0 0 0 ; 0 0
2016-07-08 10:26:56.851 Information MODULMSG ; Job execution Ending External Link processing 0 0 AMT 0 0 ; 0 0
Saving Step
2016-07-08 10:26:58.041 MODULMSG ; Job execution Comparing objects on server . . . 0 0 AMT 0 0 ; 0 0
2016-07-08 10:27:01.741 MODULMSG ; Job execution Comparison completed. 0 0 AMT 0 0 ; 0 0
2016-07-08 10:27:01.742 MODULMSG ; Job execution Merging objects on server . . . 0 0 AMT 0 0 ; 0 0
2016-07-08 10:27:07.426 MODULMSG ; Job execution Merge completed. 0 0 AMT 0 0 ; 0 0
Execution Summary
2016-07-08 10:27:08.557 Information INTERNAL ; Job execution New Job status 0 0 Common 0 0 ; 0 0
2016-07-08 10:27:08.557 Information INTERNAL ; Job execution Execution date=2016/07/08 08:27 0 0 Common 0 0 ; 0 0
2016-07-08 10:27:08.557 Information INTERNAL ; Job execution Execution duration=0 days, 00 hours, 01 mins, 15 secs 0 0 Common 0 0 ; 0 0
2016-07-08 10:27:08.557 Information INTERNAL ; Job execution Execution result=success 0 0 Common 0 0 ; 0 0
2016-07-08 10:27:08.557 MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 0 warning(s); 8964 information message(s). 0 0 anarun 0 0 ; 0 0
2016-07-08 10:27:08.623 1048575 ; Job execution 0 0 anarun 0 0 ; 0 0
CAST_MainTask_SummaryLog.txt
Status: Execution succeeded
- Start: Fri Jul 08 10:24:37 CEST 20166
- OS Version: Windows 7 (version 6.1)
- Machine name: W7X64_SFR_1
Software Version: CAST 8.0.0 ( Build 8525 )
- Task: Run Analysis only
- Total duration: 10m43s
-- Statistics for application TKB-Node --
- Analysis duration: 10m43s
- Nb of modules: 1
- Nb of active analysis units: 2
- Nb of inactive analysis units: 0
- Total nb of analysis units: 2
- Nb of saved objects: 8922
Summary is saved at C:\Users\SFR~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\CAST_MainTask_SummaryLog_20160708-091037.txt