Archive
Software Resiliency
-
Multiple Significant Returns are risky for the code
Multiple Significant Returns are risky for the code This code insight counts one violation each time a function has several meaningful return statements. Meaningful…
-
Unused imports cause risks in code
Unused imports cause risks in code This code insight counts one violation each time a import is nerver used. Why you should care Usually,…
-
Unused variables can cause risks in code
This code insight shows that Unused variables can cause risks in code C ounts one violation each time local variable is initialized but never…
-
Avoid unused Function parameters
Avoid unused Function parameters (PHP) This code insight advises that for readability reasons, Functions should not have unused parameters. Review the source code to…
-
Missing default in switch statements can cause Production Risk
Missing default in switch statements can cause Production Risk This code insight ensures that the keyword “default” is executed when none of the conditions…
-
Avoid using SELECT … ENDSELECT statement
Avoid using SELECT … ENDSELECT statement This code insight shows that The SELECT … ENDSELECT works as a loop fetching single record for every…
-
Avoid using “SELECT DISTINCT”, use DELETE-ADJACENT
Avoid using “SELECT DISTINCT”, use DELETE-ADJACENT This code insight ensures for performance reason, if some of the fields are not part of an index,…
-
Avoid using dynamic queries
Avoid using dynamic queries This code insight shows that dynamic queries are difficult to test and can decrease the code understanding. Moreover, include dynamic…
-
Avoid Main Procedures having complex queries
Avoid Main Procedures having complex queries This code insight shows that having complex queries in SQL Artifacts can cause performance problems. Why you should…
-
Avoid classes overriding only equals() or only hashCode()
Avoid classes overriding only equals() or only hashCode() This code insight reports all classes that override only boolean equals(Object) or only int hashCode() .…