This page describes the custom code quality rules executed by Cloud Manager created based on best practices from AEM Engineering.
The following section highlights the SonarQube Rules:
Do not use potentially dangerous functions
Key : CQRules:CWE-676
Type : Vulnerability
Severity : Major
Since : Version 2018.4.0
The methods Thread.stop() and Thread.interrupt() can produce hard-to-reproduce issues and, in some cases, security vulnerabilities. Their usage should be tightly monitored and validated. In general, message passing is a safer way to accomplish similar goals.