<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CAST Engineering Dashboard - Metrics - Lines of Code - Incorrect value on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-metrics/cast-engineering-dashboard-metrics-lines-of-code/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value/</link><description>Recent content in CAST Engineering Dashboard - Metrics - Lines of Code - Incorrect value on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-metrics/cast-engineering-dashboard-metrics-lines-of-code/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value/index.xml" rel="self" type="application/rss+xml"/><item><title>CAST Engineering Dashboard - Metrics - Lines of Code - Incorrect value - KLOC is displayed as 0</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-metrics/cast-engineering-dashboard-metrics-lines-of-code/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value-kloc-is-displayed-as-0/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-metrics/cast-engineering-dashboard-metrics-lines-of-code/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value-kloc-is-displayed-as-0/</guid><description>&lt;p&gt;&lt;strong&gt;Problem Description&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page will help you deal with the issue when the KLOC is being displayed as 0 on the dashboard.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Applicable in CAST Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;8.3.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Step by Step scenario&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run full snapshot&lt;/li&gt;
&lt;li&gt;Open CED&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Action Plan&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Check if the application KLOC is greater or equal to 1KLOC, refer to Get the KLOC.&lt;/p&gt;
&lt;p&gt;As per investigation and feedback from R&amp;amp;D, decision not to fix this for now is based on the assumption that real life applications are larger than 1kLOC.&lt;/p&gt;</description></item><item><title>CAST Engineering Dashboard - Metrics - Lines of Code - Incorrect value - RPG DB400 - Lines of Code LOC is doubled</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-metrics/cast-engineering-dashboard-metrics-lines-of-code/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value-rpg-db400-lines-of-code-loc-is-doubled/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-metrics/cast-engineering-dashboard-metrics-lines-of-code/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value/cast-engineering-dashboard-metrics-lines-of-code-incorrect-value-rpg-db400-lines-of-code-loc-is-doubled/</guid><description>&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page describe an issue when the analysis of RPG is done using RPG package &amp;lt; 1.0.4. When looking at the dashboard results, you find out that LOC is double that of the expected one for DB400 logical files.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Observed in CAST AIP&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;8.3.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Observed on RDBMS&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;RDBMS&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;CSS&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Step by Step Scenario&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Below is the step-by-step scenario leading to the problem:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Do Analysis and snapshot for RPG language using RPG package &amp;lt; 1.0.4&lt;/li&gt;
&lt;li&gt;While Validating the dashboard, you find out that LoC is the double of the expected one for DB400 logical files.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Impact of the Problem&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>