HIGHLIGHT Product Documentation
This documentation is for reference only. Original Highlight Product Documentation is available at https://doc.casthighlight.com/
- Avoid dead code
- Avoid ‘if ... else if’ constructs with missing final ‘else’ clauses
- Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression
- 'switch' statements should not be nested
- Avoid collapsible nested 'if'
- The code contains one or more "with" instructions
- The code contains inner functions
- The code contains at least one class defining a destructor
- The code contains too many switch cases with missing ending breaks
- The code contains modifications of buildtins objects : Object, Array or Function
- Avoid using ellipsis in functions
- Avoid protected member in final classes
- Avoid loop counter modification
- Avoid Equals methods not testing their parameters
- Avoid catches that only rethrow
- Avoid nested try-catch blocks
- Avoid long case statements
- The code contains non-wrapped immediate function calls
- The code contains too many var statements declaring several variables in it
- The code contains too many jump instructions that derive the control flow out of a finally structure
- Avoid small switch/Case
- The code contains classes that overload equals(Object)
- Avoid equality in loop termination condition
- Avoid variable assignments in conditional expressions
- The code contains too many negative comparisons
- Feature Focus: Multi-Cloud Insights
- Release Notes – CAST Highlight June 2021
- Feature Focus: Portfolio Advisor for Technical Debt
- Avoid using ellipsis in functions
- The code contains use of getClass().getName()