Archive
Programming Best Practices
-
EVALUATE instructions without default treatment causes Production Risk
EVALUATE instructions without default treatment causes Production Risk This code insight counts one violation each time the statement WHEN OTHER is missing for an…
-
Standard SQL API increases Production Risk in JSP
Standard SQL API increases Production Risk in JSP This code insight counts one violation if there is at least one import directive: <%@ page…
-
TLD Headers can reduce Production Risks
TLD Headers can reduce Production Risks This code insight counts one violation each time a TLD header do not contains: Why you should care…
-
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…
-
% 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…
-
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…
-
Java-Style getters and setters can increase production risks
Java-Style getters and setters can increase production risks This code insight counts one violation each time a class define getter or setter (one of…
-
Wildcard(*) imports can increase production risks.
Wildcard(*) imports can increase production risks. This code insight counts one violation each time a wildcard import is used. Violations pattern is: import *…