Software Elegance

Definition

Software Elegance measures the ability to deliver software value with less code complexity. A low Software Elegance score indicates decreased quality in the code resulting in higher defects which may become costly to fix in the mid-term.

 

Thresholds

Thresholds used for Software Elegance categories:

  • Low/Red: below 39.0
  • Medium/Orange: from 39.0 to 70.0
  • High/Green: above 70.0

 

Code Insights

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

The code contain too many unused private methods
Read more
Boolean checks should not be inverted
Read more
Avoid to cover two dimensional ranges with nested for loop
Read more
The code is managing too many files together
Read more
‘switch’ statements should not be nested
Read more
The code contains too many “SELECT *” requests
Read more
Avoid using complex operands
Read more
Avoid methods or function with too many local variables
Read more
Methods with too many parameters can be complex
Read more
Nested loops can slow down innovation
Read more
Too many nested Loops decreases innovation
Read more
Declaring too many functions can make Javascript code complex
Read more
The code contains too many includes.
Read more
Nested Loops cause performance issues
Read more
Crossing the Parameter limit can cause bugs
Read more
Mixing DDL & DML operations can cause recompilation
Read more
Conditional expressions should not be too complex
Read more
SELECT clauses with many columns tend to be complex in nature.
Read more
EXIT closes the entire script
Read more
Structural code complexity may be too high
Read more