Meaningless Statement
Description
A meaningless statement that does not change any values could be a sign of missed security checks or other important changes.
Examples
Insecure Code
solidity
x;Secure Code
solidity
x = 5;Remediation
Review the code to ensure all statements have a purpose and are not redundant or missing important security checks.
Rule Details
| Field | Value |
|---|---|
| ID | CODE-0438 |
| Category | Generic |
| Severity | MEDIUM |
| CWE | CWE-1164 |
| Confidence | HIGH |
| Impact | MEDIUM |
| Likelihood | HIGH |
| Exploitability | MODERATE |
| Tags | security, vuln |
| OWASP | N/A |