A reference finder or dependency is a way to assist with link creation between objects in the CAST analysis.
A source set and target set are created as part of the examination of the dependency.Here' is an example of how this is configured in CAST-MS which resulted in the steps below:
More can be seen on this topic in the documentation here: 8.3.x: CMS - Dependencies - Rules tab
The logs generated by the task Run Reference Finder Analyzer is listed below
CAST-MS-<date>-<time>.log.txt log file
Below is a screenshot showing the steps run during an analysis.
Section of CAST-MS log file dealing with Run Reference pattern step are shown in the log below
Starting Run Reference Pattern
INF: 2018-11-05 16:47:07: starting Task Run Reference Finder Analyzers "RP_ref1_218822"
INF: 2018-11-05 16:47:07: C:\Program Files\CAST\8.3/anarun.exe -CONNECT_PROFILE('localhost:2282 on CastStorageService.test830_local') -RUN_RP(528151,529501,'C:\ProgramData\CAST\CAST\CASTMS\LISA\42e1b553528344739ec8bc1c4522c6fc\Scr593d901f7b1a4f978413371f34078c84\JobSettings.xml') -MANAGED(528151) -SESSION_ID(529501) -LOG('C:\ProgramData\CAST\CAST\Logs\c\Run_reference_2329\RP_ref1_218822-20181105-164706.castlog',TRUNCATE) -LARGESTORAGE('C:\ProgramData\CAST\CAST\CASTMS','C:\ProgramData\CAST\CAST\CASTMS','42e1b553528344739ec8bc1c4522c6fc/Scr593d901f7b1a4f978413371f34078c84') -LOGIN(,CASTCORP\JMC,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2018-11-05 16:47:20: #PMC#About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_ref1_218822'.
INF: 2018-11-05 16:47:20: About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_ref1_218822'.
INF: 2018-11-05 16:47:27: #PMC# Execution date=2018/11/05 23:47
INF: 2018-11-05 16:47:27: Execution date=2018/11/05 23:47
INF: 2018-11-05 16:47:27: #PMC# Execution duration=0 days, 00 hours, 00 mins, 07 secs
INF: 2018-11-05 16:47:27: Execution duration=0 days, 00 hours, 00 mins, 07 secs
INF: 2018-11-05 16:47:27: #PMC# Execution result=success
INF: 2018-11-05 16:47:27: Execution result=success
INF: 2018-11-05 16:47:28: Loading ini file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.3\AMRunResult529501.INI
INF: 2018-11-05 16:47:28: Task message: No Task message
INF: 2018-11-05 16:47:28: Log file: C:\ProgramData\CAST\CAST\Logs\c\Run_reference_2329\RP_ref1_218822-20181105-164706.castlog
INF: 2018-11-05 16:47:28: ending Task Run Reference Finder Analyzers "RP_ref1_218822"
RP_<Reference Pattern Name>_<uuid>-<Date>-<Time>.castlog log file
Sample results of a reference pattern being run (results may vary depending on the results of the reference pattern):
Configuration Section
2018-11-05 16:47:10.803461 Information MODULMSG ; Job execution 64-bit environment
2018-11-05 16:47:10.803461 Information MODULMSG ; Job execution CAIP Version: CAST 8.3.3 ( Build 1591 )
2018-11-05 16:47:10.803461 Information MODULMSG ; Job execution LISA folder: C:\ProgramData\CAST\CAST\CASTMS
2018-11-05 16:47:10.803461 Information MODULMSG ; Job execution LTSA folder: C:\ProgramData\CAST\CAST\CASTMS
2018-11-05 16:47:10.803461 Information MODULMSG ; Job execution LSA relative folder: 42e1b553528344739ec8bc1c4522c6fc\Scr593d901f7b1a4f978413371f34078c84
2018-11-05 16:47:11.353860 Information MODULMSG ; Job execution Using Knowledge Base on schema test830_local.
2018-11-05 16:47:17.930667 Information MODULMSG ; Job execution Registering extension com.castsoftware.JEE-MavenHttp 1.4.0-funcrel.
2018-11-05 16:47:17.930667 Information MODULMSG ; Job execution Registering extension com.castsoftware.angularjs 1.5.0-funcrel.
2018-11-05 16:47:17.930667 Information MODULMSG ; Job execution Registering extension com.castsoftware.businessobject 1.0.0-funcrel.
2018-11-05 16:47:17.930667 Information MODULMSG ; Job execution Registering extension com.castsoftware.dmtboextractiondiscoverer 1.0.0-funcrel.
2018-11-05 16:47:17.930667 Information MODULMSG ; Job execution Registering extension com.castsoftware.dmtxmlscanner 1.0.0-funcrel.
2018-11-05 16:47:17.930667 Information MODULMSG ; Job execution Registering extension com.castsoftware.dotnet 1.0.0.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.html5 1.7.1-funcrel.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.internal.platform 0.3.0-funcrel.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.jaxrs 1.3.0-funcrel.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.jee 1.0.0-funcrel.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.jquery 1.5.0-funcrel.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.nodejs 1.5.0-funcrel.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.php 1.3.0.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.springmvc 1.3.0-funcrel.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.sqlanalyzer 2.3.0.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.tibco 1.2.1.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.wbslinker 1.5.0.
2018-11-05 16:47:17.931662 Information MODULMSG ; Job execution Registering extension com.castsoftware.webfilesdiscoverer 1.1.0-funcrel.
Meta Model Load
2018-11-05 16:47:18.614159 Information MODULMSG ; Job execution Loading meta model from repository . . .
2018-11-05 16:47:19.883085 Information MODULMSG ; Job execution Meta model loaded.
Reference Pattern Settings
2018-11-05 16:47:20.330411 Information MODULMSG ; Job execution RunAnalysis started
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Reference Pattern
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Do not create links beween differents files : 0
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Match Case : 0
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Match whole word only : 0
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Match case : 0
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Code : 1
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Comments : 0
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution String Literals : 0
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Enable replacement : 0
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Replacement regular expression :
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Selected Languages
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Regular expression (Boost)
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Expression : ajoute
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Languages Filter : Don't filter on languages
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Link Type : Match
2018-11-05 16:47:20.335414 Information MODULMSG ; Job execution Name Matching : Whole
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Match : Object Name
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Source
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution C File Extensions : *.c;*.pc;*.ppc
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution C++ File Extensions : *.cpp;*.cc
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Analysis Unit description :
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Disable use of PCH : 0
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Force Include File :
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Standard processing of 'typename' : 1
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution >> allowed to close nested templates : 1
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Use Microsoft Managed C++ extensions (CLR) : 0
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Name : My C/C++/Objective-C Analysis Unit
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Project Path : User defined
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution PCH generator :
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Precompiled header :
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Standard scope of 'for' loops : 1
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Accept Trigraphs : 0
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Detect unknown compilation directives : 1
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Additional files
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Custom Environment Profiles
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Define the Include paths used by the Analysis Unit
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Define the macros used by this Analysis Unit
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Miscellaneous options
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution Sources
2018-11-05 16:47:20.336415 Information MODULMSG ; Job execution File Path : C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Permission : Include
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution File Path : C:\CASTMS\test830_css3\Deploy\c\C_CPP\C
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Permission : Include
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Analyzer to invoke : Legacy analyzer
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Consider Files as : Both C and C++
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution IDE used for this Analysis Unit : Not Specified
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution STL Support : STL already in your Source Code Repository
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Target
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution C File Extensions : *.c;*.pc;*.ppc
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution C++ File Extensions : *.cpp;*.cc
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Analysis Unit description :
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Disable use of PCH : 0
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Force Include File :
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Standard processing of 'typename' : 1
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution >> allowed to close nested templates : 1
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Use Microsoft Managed C++ extensions (CLR) : 0
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Name : My C/C++/Objective-C Analysis Unit
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Project Path : User defined
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution PCH generator :
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Precompiled header :
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Standard scope of 'for' loops : 1
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Accept Trigraphs : 0
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Detect unknown compilation directives : 1
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Additional files
2018-11-05 16:47:20.337415 Information MODULMSG ; Job execution Custom Environment Profiles
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Define the Include paths used by the Analysis Unit
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Define the macros used by this Analysis Unit
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Miscellaneous options
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Sources
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution File Path : C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Permission : Include
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution File Path : C:\CASTMS\test830_css3\Deploy\c\C_CPP\C
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Permission : Include
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Analyzer to invoke : Legacy analyzer
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution Consider Files as : Both C and C++
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution IDE used for this Analysis Unit : Not Specified
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution STL Support : STL already in your Source Code Repository
2018-11-05 16:47:20.338416 Information MODULMSG ; Job execution SESSION CONTEXT details: 528151 ; 529501 = "c"."RP_ref1_218822"
Execution of Reference Pattern
2018-11-05 16:47:20.339417 Information MODULMSG ; Job execution About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_ref1_218822'.
2018-11-05 16:47:20.389455 Information MODULMSG ; Job execution Total physical memory: 8095 MB.
2018-11-05 16:47:20.927848 Information MODULMSG ; Job execution trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\1\Interface.cpp(0/30)
2018-11-05 16:47:21.976613 Information MODULMSG ; Job execution trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\2\Interface.h(3/30)
2018-11-05 16:47:21.981616 Information MODULMSG ; Job execution trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\2\Interfacex.cpp(9/30)
2018-11-05 16:47:21.986620 Information MODULMSG ; Job execution trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\2\Interfacex.h(12/30)
2018-11-05 16:47:21.991623 Information MODULMSG ; Job execution trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\C\C_code\Example.c(18/30)
Comparing and Merging Objects
2018-11-05 16:47:22.034655 MODULMSG ; Job execution Comparing objects on server . . .
2018-11-05 16:47:24.594522 MODULMSG ; Job execution Comparison completed.
2018-11-05 16:47:24.594522 MODULMSG ; Job execution Merging objects on server . . .
2018-11-05 16:47:26.917217 MODULMSG ; Job execution Merge completed.
Summary
2018-11-05 16:47:27.775854 Information MODULMSG ; Job execution New Job status
2018-11-05 16:47:27.776846 Information MODULMSG ; Job execution Execution date=2018/11/05 23:47
2018-11-05 16:47:27.778847 Information MODULMSG ; Job execution Execution duration=0 days, 00 hours, 00 mins, 07 secs
2018-11-05 16:47:27.778847 Information MODULMSG ; Job execution Execution result=success
2018-11-05 16:47:27.778847 Information MODULMSG ; Job execution Analysis completed
2018-11-05 16:47:27.999007 Information MODULMSG ; Job execution 0 fatal error(s); 0 error(s); 0 warning(s); 121 information message(s).