Archive
Indicators & Methodology
-
Avoid dangerous types
About CAST and Highlightβs Code Insights Over the last 25 years, CAST has leveraged unique knowledge on software quality measurement by analyzing thousands of…
-
SELECT clauses with many columns tend to be complex in nature.
Why you should care Artifacts with a SELECT clause tend to be complex in nature as SELECT clauses with many clauses are difficult to…
-
Deprecated features makes code less resilient
Why you should care Deprecated features are usable but should not be used because they are expected to be removed entirely in the near-future…
-
File Naming Convention (FNC) helps in organization
Why you should care File Naming Convention helps one stay organized by making it easy to identify the file(s) that contain the information from…
-
Specify precision otherwise error occurs
Why you should care Specify precision which is the total number of digits, and scale, which is the number of digits to the right…
-
The first line activates the KSH interpreter
Why you should care The first line is useful as it tells the OS what interpreter to invoke in order to run the script.…
-
Variable declaration creates an instance in the class
Why you should care It is important to remember that KSH uses variables and parameters to store values. It also supports data types and…
-
Symmetrical listing allows for better understanding and bug prevention
Why you should care It is recommended to have the list be symmetrical as it allows for the code to be readable and understandable…
-
Correct indentation allows for better understanding and bug prevention
Why you should care It is recommended to correctly indent the lines as it allows for the code to be readable and understandable by…
-
Short local variables could lead to bugs and misinformation
Why you should care It is recommended to ensure local variables not short as it allows for the code to be readable and understandable…