Please, prefix the report title with the language it applies to within brackets, such as [java] or [apex]. If not specific to a language, you can use [core]
Rule Set:
6.0.0 Snapshoot
AvoidHardcodingId
Description:
15 digit number is indicated as Salesforce Id.
objAssetDevice.IMEI__c = '359040082913024';
Code Sample demonstrating the issue:
359040082913024 is not Salesforce Id but below code indicated as violation of AvoidHardcodingId
objAssetDevice.IMEI__c = '359040082913024';
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
CLI
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4