Archive
Product
-
Too many classes with missing constructors can be risky
Too many classes with missing constructors can be risky This code insight counts a violation each time C++ has too many classes with missing…
-
Incorrect dynamic class definition can be non-resilient
Incorrect dynamic class definition can be non-resilient This count insight counts a violation in this non-compliant code example, the function A<int>::f2() is ill-formed because…
-
Macro definitions cause resiliency issues
Macro definitions cause resiliency issues This code insight counts one violation each time a macro without parameters defines a literal constant. Literal constants are…
-
Classes with missing destructor declarations can be unproductive
Classes with missing destructor declarations can be unproductive This code insight highlights a violation when a class has missing destructor declarations class Vehicle {…
-
Single quote strings keeps code consistent and productive
Single quote strings keeps code consistent and productive This code insight counts a violation each time a string is enclosed with double quotes, except…
-
Array literals are less risky than Array constructors in JavaScript
Array literals are less risky than Array constructors in JavaScript This code insight counts one violation each time ” new array(…) ” is encountered.…
-
Too many “for in” loops is risky
Why you should care Since each iteration through the loop results in a property lookup either on the instance or on a prototype, the…
-
Missing Semicolons in JavaScript can be very unproductive
Why you should care Relying on implicit insertion can cause subtle, hard to debug problems. Donβt do it. There are a couple places where…
-
Simplified Syntax can be unproductive in KSH
Why you should care Using the simplified, but deprecated/discouraged commands in shell scripts can lead to minor unpredictability and less feature flexibility. It is…
-
Having too much Spaghetti Code can be risky
Having too much Spaghetti Code can be risky This code insight counts one violation each time the keywords break and continue are encountered. Why…