Archive
Product
-
Break Statements helps reduce production risk
Break Statements helps reduce Production Risk This code insight counts one violation each time a loop with a else clause do not contains any…
-
Magic Numbers are a Production Risk
Magic Numbers are a Production Risk This code insight counts one violation each time a litteral numeric constant is encountered, that is not assigned…
-
Avoid methods or function with too many local variables
This code insight counts one occurrence for each local variable in methods and functions found during the scan and shows up in CAST Highlight…
-
% operator to format string can cause production risk
% operator to format string can cause production risk Count one violation each time a string use the % operator. bad print(“%s is %s”…
-
Whitespaces are a Production Risk
Whitespaces are a Production Risk Count one violation each time a format replacement field contains a whitespace. bad print “{ what} is {how it…
-
Prefer single quotes over double quotes for strings, in a consistent way
Why you should care Be consistent with your choice of string quote character within a file. Pick ‘ or ” and stick with it.…
-
String concatenation in loop causes production risks
String concatenation in loop causes production risks This code insight counts one violation each time an operator + or += is used with a…
-
Trailing spaces can increase costs
Missing spaces can increase costs This code insight counts one violation each time a line of code is ended with trailing whitespaces. β search…
-
Missing spaces can increase costs
Missing spaces can increase costs This code insight counts one violation each time : Why you should care Additional for Highlight : Business Impacts…
-
Extraneous whitespaces increase costs
Why you should care Avoid extraneous whitespace in the following situations: Business Impacts It is recommended to avoid these in order to ensure the…