Code Quality detectors
Use of new Function() can be dangerous if used to evaluate dynamic content.
The incorrect use of super() causes problems.
Checks for lazy module loading.
New Object() has been used for object creation instead of {}.
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
Items removed from an array using delete can cause undefined holes in the array.
Checks if the undefined is used as variable.
Checks for the use of browser pop-ups (alert, confirm, prompt).
Detect switch statements if it has less than three case clauses.
indexOf method should not be compared with values greater than zero.
A batch request that doesn't check for failed records can lead to loss of data.
Swallowing exceptions, without rethrowing or logging them, can make it hard to understand why your application is failing.
String passed to setInterval or setTimeout can cause the JavaScript engine to evaluate, which can lead to a security risk.
The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.
Missing checks might cause silent failures that are harder to debug.
Checks if nan is used is comparison.
Custom polling can be inefficient and prone to error. Consider using AWS waiters instead.