Software Resiliency

Definition

Software Resiliency indicates programming best practices that make software bullet-proof, more robust and secure. This index is derived through technology-specific code analysis that searches for the presence of code patterns and bad programming practices that may comprise the reliability of the software at short term. Higher is the Software Resiliency, lower is the likelihood of defects occurring in production.

 

Thresholds

Thresholds used for Software Resiliency categories:

  • Low/Red: below 65.0
  • Medium/Orange: from 65.0 to 87.0
  • High/Green: above 87.0

 

Code Insights

Find below some code insight examples which contribute to the Software Resiliency index.

phpinfo() should not be used in production
Read more
The code contains too many PHP4 deprecated constructor naming.
Read more
The code contains too many final artifacts in final classes
Read more
The code contains too many classes that declare __get() without declaring __set()
Read more
Force casts should not be used
Read more
Avoid abstract classes without abstract or concrete methods
Read more
Variables should be declared with ‘let’ or ‘const’
Read more
Multiline string literals should not be used
Read more
Logical OR should not be used in switch cases
Read more
Avoid caching selector for long time
Read more
URIs (URL & path) should not be hardcoded for testability purpose
Read more
try! should not be used
Read more
Avoid generic catch
Read more
Avoid undefined type on data or routines declaration
Read more
Avoid to update static fields from instance methods
Read more
Avoid Public finalize() methods
Read more
Avoid confusing initialization for variables declared on the same line
Read more
The code contains too many unnecessary COMPUTE
Read more
The code contains too many paragraph labels not followed by a dot
Read more
The code contains too many data contigus levels
Read more