<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Universal Importer - Advanced configuration on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/</link><description>Recent content in Universal Importer - Advanced configuration on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>Advanced - Configuring results for the Code Viewer and for Metrics data</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-configuring-results-for-the-code-viewer-and-for-metrics-data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-configuring-results-for-the-code-viewer-and-for-metrics-data/</guid><description>&lt;p&gt;In order for the &lt;strong&gt;Code Viewer&lt;/strong&gt; in CAST Enlighten (a feature that allows you to view the source code of objects and files stored in the CAST Analysis Service using a copy of the source code located on a local or network hard drive) and for the calculation of metrics data (on objects and files stored in the CAST Analysis Service for use with the CAST Engineering Dashboard) to function correctly with objects that have been imported into the CAST Analysis Service via the Universal Importer, certain criteria must be met.&lt;/p&gt;</description></item><item><title>Advanced - Links with external objects stored in the Analysis Service</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-links-with-external-objects-stored-in-the-analysis-service/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-links-with-external-objects-stored-in-the-analysis-service/</guid><description>&lt;p&gt;In previous versions of CAST, links to external objects stored in the Analysis Service (i.e. objects that have resulted from another analysis) were created by specifying the numerical identifiers of objects in the CAST Analysis Service (using the properties &amp;ldquo;externalCaller&amp;rdquo; and/or &amp;ldquo;externalCallee&amp;rdquo; from the &amp;ldquo;link&amp;rdquo; category).&lt;/p&gt;
&lt;p&gt;In addition to this, there are two further methods:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Creating a reference that represents an object in the Analysis Service&lt;/li&gt;
&lt;li&gt;Calling one or more customer developed stored procedures to retrieve the called or calling object&amp;rsquo;s identifier&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="creating-a-reference-that-represents-an-object-in-the-analysis-service"&gt;Creating a reference that represents an object in the Analysis Service&lt;/h2&gt;
&lt;p&gt;This method involves creating a reference that represents an object in the database: the appropriate type is &amp;ldquo;&lt;strong&gt;uaxDBRef&lt;/strong&gt;&amp;rdquo;. Then to create a link with this reference, you need to define the reference as a caller or callee, exactly as if the object was an object created in the current Universal Importer job. The conversion to the Analysis Service identifier is automatic.&lt;/p&gt;</description></item><item><title>Advanced - Mixing a Universal Analyzer job and a Universal Importer job</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-mixing-a-universal-analyzer-job-and-a-universal-importer-job/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-mixing-a-universal-analyzer-job-and-a-universal-importer-job/</guid><description>&lt;h2 id="preamble"&gt;Preamble&lt;/h2&gt;
&lt;p&gt;Consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;Universal Analyzer&lt;/strong&gt; analyzes unsupported (by a standard CAST Analyzer) source code files according to the &amp;ldquo;instructions&amp;rdquo; defined in a specific Language Pack. The results are stored in the CAST Analysis Service and can be exploited by relevant CAST Products (CAST Engineering Dashboard, CAST Enlighten etc.)&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Universal Importer&lt;/strong&gt; simply injects information about a language&amp;rsquo;s objects, links and properties stored in a specific format in XML based files (.UAX) into the CAST Analysis Service. These objects, links and properties can be exploited by relevant CAST Products (CAST Engineering Dashboard, CAST Enlighten etc.). As with the Universal Analyzer, a specific Language Pack for the language that is being injected must already be registered in the CAST Analysis Service.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mixing-jobs"&gt;Mixing jobs&lt;/h2&gt;
&lt;p&gt;Now take a situation where you have files (XML based files (.UAX) resulting from an external analyzer or other system or processor) that contain objects, properties and links &lt;strong&gt;in addition to&lt;/strong&gt; references to source code files or actual source code for some of the objects. This situation may be evident in an ERP where an existing repository may already contain a hierarchy of objects and their properties as well as the source code.&lt;/p&gt;</description></item><item><title>Advanced - Resolving erroneous number of Total Checks reported by the CAST Engineering Dashboard</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-resolving-erroneous-number-of-total-checks-reported-by-the-cast-engineering-dashboard/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-resolving-erroneous-number-of-total-checks-reported-by-the-cast-engineering-dashboard/</guid><description>&lt;h2 id="preamble"&gt;Preamble&lt;/h2&gt;
&lt;p&gt;As explained in &lt;a href="https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/appendix-importing-an-additional-technology-not-supported-by-cast-aip/configuring-uax-uaxdirectory-project-files/universal-importer-advanced-configuration/advanced-mixing-a-universal-analyzer-job-and-a-universal-importer-job/"&gt;Advanced - Mixing a Universal Analyzer job and a Universal Importer job&lt;/a&gt;, if you still use both the Universal Analyzer and the Universal Importer in &amp;ldquo;combined mode&amp;rdquo; you may find that the CAST Engineering Dashboard will report an incorrect number of Total Checks . The number of Total Checks for a specific measure will be higher than the actual number of objects that really exist. This is because when you use the Universal Analyzer and the Universal Importer in &amp;ldquo;combined mode&amp;rdquo;, objects are attached to two sets of technical &amp;ldquo;subsets&amp;rdquo; at the same time (Universal Analyzer and the Universal Importer) and are therefore counted more than once. CAST has provided a workaround to resolve this issue.&lt;/p&gt;</description></item></channel></rss>