Page tree
Skip to end of metadata
Go to start of metadata
Purpose

The Run Metrics Calculation is a task that occurs after running an execution unit analysis.

The Run Metric Calculation is executed on the same execution unit that has just been analyzed.

The Run Metrics Calculation will process the quality metrics of each objects analyzed.

In this page, the different logs lines corresponding to the Run Metrics Calculation task is listed with functional and technical explanation of the logs that it generates.

Select the logs that you are interested in



 

CAST-MS.log.tx

Here is the part of the CAST MS log file dealing with the Run Metric Calculation.

Begining of the Run Metric Calculation step is :

INF: 2016-09-30 10:00:33: starting Task Run metrics calculation for My Source file based execution unit

The command line is

INF: 2016-09-30 10:00:33: <CAST INSTALLATION FOLDER>/anarun.exe -CONNECT_PROFILE('SBOW10LAP:2280 on CastStorageService.cb802_sbo_local') -RUN_METRICS(185851,258,1) -LOG('%TEMP%/CAST/CAST/8.0/<Application UUID>\MA_My Source file based execution unit-20160930100033.castlog',USELOGFILE) -LARGESTORAGE('%TEMP%/CAST/CAST/8.0\LargeStorage','%TEMP%/CAST/CAST/8.0\LargeStorage','1de75afa53bb41cc8055077d55c92c17\Scr17634') -LOGIN(,CASTCORP\SBO,) -APP(-NOGUI) -NOPROGRESS -EXIT
INF: 2016-09-30 10:00:39: Initializing logging context in a new thread. Logging.runInNewThreadContext should be used instead
INF: 2016-09-30 10:00:42: Loading ini file: C:\Users\SBO\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult.INI
INF: 2016-09-30 10:00:42: Loading ini file: C:\Users\SBO\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult.INI
INF: 2016-09-30 10:00:42: Task message: No Task message

 

The log file location :


INF: 2016-09-30 10:00:42: Log file: %TEMP%/CAST/CAST/8.0/<Application UUID>\MA_My Source file based execution unit-20160930100033.castlog
INF: 2016-09-30 10:00:42: ending Task Run metrics calculation for My Source file based execution unit

MA_<Execution_Unit_Name>-<DateTime>.castlog

This is the Run Metric Calculation log file.

The Run Metric Calculation is executed just after the Execution Unit analysis. If the Analysis log file name is, for instance, My_Execution_Unit_TKB_12712_<DateTime1>, the name of the Run Metrics Calculation log file will be MA_My_Execution_Unit_TKB_12712_<DateTime2>

 

Environment information. Note that the begining of the Run Metrics Calculation log file is different from the Analysis log file. In the Run Metrics Calculation log file, we just put information regarding the LISA / LTSA location

2016-09-30 10:02:28.891 Information INTERNAL ; Body 64-bit environment
2016-09-30 10:02:28.892 Information INTERNAL ; Body LISA folder: C:\CASTMS\LargeStorage
2016-09-30 10:02:28.892 Information INTERNAL ; Body LTSA folder: C:\CASTMS\LargeStorage
2016-09-30 10:02:28.893 Information INTERNAL ; Body LSA relative folder: 1de75afa53bb41cc8055077d55c92c17\Scr17634
2016-09-30 10:02:29.243 Information INTERNAL ; Body Using Knowledge Base on schema cb802_sbo_local.
2016-09-30 10:02:29.594 Information INTERNAL ; Body Running metrics calculation
2016-09-30 10:02:29.594 Information MODULMSG ; Body Loading meta model from local xml descriptors . . .
2016-09-30 10:02:31.697 Information MODULMSG ; Body Meta model loaded.
2016-09-30 10:02:32.047 Information PARSING ; Body Loading default options for cache saving component
2016-09-30 10:02:32.047 Information MODULMSG ; Body Loading meta model from repository . . .
2016-09-30 10:02:33.099 Information MODULMSG ; Body Meta model loaded.
2016-09-30 10:02:34.150 Information MODULMSG ; Body Loading objects
2016-09-30 10:02:34.150 Information MODULMSG ; Body Objects loaded

 

The Run Metric Calculation process is starting with the first "Body Computing metrics" message

2016-09-30 10:02:34.150 Information MODULMSG ; Body Computing metrics on <Deployment Folder>\<ApplicationName>\Business2\src\com\castsoftware\businessLayer\AccessDatabaseSemp.java
2016-09-30 10:02:34.150 Information MODULMSG ; Body Computing metrics on <Deployment Folder>\<ApplicationName>\Business2\src\com\castsoftware\businessLayer\FakeClassBusinessLayer.java
2016-09-30 10:02:34.500 Information MODULMSG ; Body Computing metrics on <Deployment Folder>\<ApplicationName>\Business2\WEB-INF\web.xml

...
2016-09-30 10:02:34.500 Information MODULMSG ; Body Computing metrics on <Deployment Folder>\<ApplicationName>\Business2\src\com\castsoftware\businessLayer\AccessDatabase.java
2016-09-30 10:02:34.500 Information MODULMSG ; Body Computing metrics on <Deployment Folder>\<ApplicationName>\Business2\src\com\castsoftware\businessLayer\AccessDatabaseEmp.java

 

End of the "Run Metrics Calculation" is always Body Flushing results

2016-09-30 10:02:34.500 Information MODULMSG ; Body Flushing results

  • No labels