...
Tool | Version | Checker | Description | CodeSonar | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Include Page | CodeSonar_V | CodeSonar_V | PMD.Security-Code-Guidelines.ArrayIsStoredDirectly FB.MALICIOUS_CODE.EI_EXPOSE_STATIC_REP2 | |||||||
Array is stored directly May expose internal static state by storing a mutable object into a static field | Parasoft Jtest |
| SECURITYCERT.EABOBJ06.CPCL SECURITYCERT.OBJ06.EAB.MPT SECURITYCERT.EABOBJ06.SMO OOPCERT.OBJ06.MUCOP | Enforce returning a defensive copy in 'clone()' methods Do not pass user-given mutable objects directly to certain types Do not store user-given mutable objects directly into variables Provide mutable classes with copy functionality | ||||||
SonarQube |
| S2384 | Mutable members should not be stored or returned directly Implemented for Arrays, Collections and Dates. |
...