Skip to content

[EXPERIENCE BUG][code-analyzer] Code Analyzer does not detect custom ruleset even after specifying in code-analyzer.yml #1795

@pranayjswl007

Description

@pranayjswl007

Have you tried to resolve this issue yourself first?

Yes

Bug Description

I am trying to move away from v4 to v5 and have followed the migration guide.
I have declared a custom-ruleset file in : devops/masterRuleset.xml
in my config-file I have specified to use my custom-ruleset. URL

Then when I try to run my command as
sf code-analyzer rules --rule-selector pmd:quickstart --config-file devops/code-analyzer.yml

I get the following output

Streaming logs in real time to:
/var/folders/0l/9s3j_vns59l5rhf5fvyn7zqc0000gr/T/sfca-2025_05_09_18_25_20_997.log

Selecting rules... done.

=== Summary

Found 0 rules.

Additional log information written to:
/var/folders/0l/9s3j_vns59l5rhf5fvyn7zqc0000gr/T/sfca-2025_05_09_18_25_20_997.log

Output / Logs

[2025-05-09T17:48:55.760Z] Debug Core - Engine with name 'eslint' was added to Code Analyzer.
[2025-05-09T17:48:55.760Z] Debug Core - Engine with name 'retire-js' was added to Code Analyzer.
[2025-05-09T17:48:55.760Z] Debug Core - Engine with name 'regex' was added to Code Analyzer.
[2025-05-09T17:48:55.786Z] Debug Core - Engine with name 'flow' was added to Code Analyzer.
[2025-05-09T17:48:55.812Z] Debug Core - Engine with name 'pmd' was added to Code Analyzer.
[2025-05-09T17:48:55.814Z] Debug Core - Engine with name 'cpd' was added to Code Analyzer.
[2025-05-09T17:48:55.826Z] Debug Core - Engine with name 'sfge' was added to Code Analyzer.
[2025-05-09T17:48:55.827Z] Debug Core - Gathering all available rules from engine 'eslint'.
[2025-05-09T17:48:56.432Z] Debug Core - Gathering all available rules from engine 'retire-js'.
[2025-05-09T17:48:56.433Z] Debug Core - Gathering all available rules from engine 'regex'.
[2025-05-09T17:48:56.433Z] Debug Core - Gathering all available rules from engine 'flow'.
[2025-05-09T17:48:56.433Z] Debug Core - Gathering all available rules from engine 'pmd'.
[2025-05-09T17:48:56.433Z] Debug Core - Gathering all available rules from engine 'cpd'.
[2025-05-09T17:48:56.433Z] Debug Core - Gathering all available rules from engine 'sfge'.
[2025-05-09T17:48:56.441Z] Debug flow - No Flow files have been targeted in the workspace. Returning no flow rules.
[2025-05-09T17:48:56.441Z] Debug Core - Finished gathering 0 available rule(s) from engine 'flow'.
[2025-05-09T17:48:56.448Z] Debug Core - Finished gathering 0 available rule(s) from engine 'retire-js'.
[2025-05-09T17:48:56.452Z] Debug Core - Finished gathering 2 available rule(s) from engine 'cpd'.
[2025-05-09T17:48:56.452Z] Debug Core - The severity value of rule 'DetectCopyPasteForApex' of engine 'cpd' was overridden according to the specified configuration. The old value '5' was replaced with the new value '5'.
[2025-05-09T17:48:56.452Z] Debug Core - The tags value of rule 'DetectCopyPasteForApex' of engine 'cpd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:56.452Z] Debug Core - The severity value of rule 'DetectCopyPasteForXml' of engine 'cpd' was overridden according to the specified configuration. The old value '5' was replaced with the new value '5'.
[2025-05-09T17:48:56.452Z] Debug Core - The tags value of rule 'DetectCopyPasteForXml' of engine 'cpd' was overridden according to the specified configuration. The old value '["Design","Xml"]' was replaced with the new value '["Design","Xml"]'.
[2025-05-09T17:48:56.453Z] Debug Core - Finished gathering 5 available rule(s) from engine 'regex'.
[2025-05-09T17:48:56.453Z] Debug Core - The severity value of rule 'NoTrailingWhitespace' of engine 'regex' was overridden according to the specified configuration. The old value '5' was replaced with the new value '5'.
[2025-05-09T17:48:56.453Z] Debug Core - The tags value of rule 'NoTrailingWhitespace' of engine 'regex' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:56.453Z] Debug Core - The severity value of rule 'AvoidTermsWithImplicitBias' of engine 'regex' was overridden according to the specified configuration. The old value '5' was replaced with the new value '5'.
[2025-05-09T17:48:56.453Z] Debug Core - The tags value of rule 'AvoidTermsWithImplicitBias' of engine 'regex' was overridden according to the specified configuration. The old value '["Recommended","BestPractices"]' was replaced with the new value '["Recommended","BestPractices"]'.
[2025-05-09T17:48:56.453Z] Debug Core - The severity value of rule 'AvoidOldSalesforceApiVersions' of engine 'regex' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:56.453Z] Debug Core - The tags value of rule 'AvoidOldSalesforceApiVersions' of engine 'regex' was overridden according to the specified configuration. The old value '["Recommended","Security","XML"]' was replaced with the new value '["Recommended","Security","XML"]'.
[2025-05-09T17:48:56.453Z] Debug Core - The severity value of rule 'AvoidGetHeapSizeInLoop' of engine 'regex' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:56.453Z] Debug Core - The tags value of rule 'AvoidGetHeapSizeInLoop' of engine 'regex' was overridden according to the specified configuration. The old value '["Recommended","Performance","Apex"]' was replaced with the new value '["Recommended","Performance","Apex"]'.
[2025-05-09T17:48:56.453Z] Debug Core - The severity value of rule 'MinVersionForAbstractVirtualClassesWithPrivateMethod' of engine 'regex' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:56.453Z] Debug Core - The tags value of rule 'MinVersionForAbstractVirtualClassesWithPrivateMethod' of engine 'regex' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:56.555Z] Debug Core - Finished gathering 0 available rule(s) from engine 'eslint'.
[2025-05-09T17:48:56.600Z] Debug sfge - Invoking SFGE's describe command. Logs being written to /var/folders/0l/9s3j_vns59l5rhf5fvyn7zqc0000gr/T/sfca-sfge-2025_05_09_18_48_55_826.log.
[2025-05-09T17:48:57.053Z] Debug Core - Finished gathering 92 available rule(s) from engine 'pmd'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexAssertionsShouldIncludeMessage' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexAssertionsShouldIncludeMessage' of engine 'pmd' was overridden according to the specified configuration. The old value '["BestPractices","Apex"]' was replaced with the new value '["BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexBadCrypto' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexBadCrypto' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexCRUDViolation' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexCRUDViolation' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexCSRF' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexCSRF' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexDangerousMethods' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexDangerousMethods' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexDoc' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexDoc' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Documentation","Apex"]' was replaced with the new value '["Recommended","Documentation","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexInsecureEndpoint' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexInsecureEndpoint' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexOpenRedirect' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexOpenRedirect' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexSharingViolations' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexSharingViolations' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexSOQLInjection' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexSOQLInjection' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexSuggestUsingNamedCred' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexSuggestUsingNamedCred' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexUnitTestClassShouldHaveAsserts' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexUnitTestClassShouldHaveAsserts' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexUnitTestClassShouldHaveRunAs' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexUnitTestClassShouldHaveRunAs' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexUnitTestMethodShouldHaveIsTestAnnotation' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexUnitTestMethodShouldHaveIsTestAnnotation' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexUnitTestShouldNotUseSeeAllDataTrue' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexUnitTestShouldNotUseSeeAllDataTrue' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexXSSFromEscapeFalse' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexXSSFromEscapeFalse' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ApexXSSFromURLParam' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ApexXSSFromURLParam' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Security","Apex","quickstart"]' was replaced with the new value '["Recommended","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidApiSessionId' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidApiSessionId' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidAuraWithLockerDisabled' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidAuraWithLockerDisabled' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidChangeProtectionUnprotected' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidChangeProtectionUnprotected' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidDebugStatements' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidDebugStatements' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Performance","Apex"]' was replaced with the new value '["Recommended","Performance","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidDeeplyNestedIfStmts' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidDeeplyNestedIfStmts' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidDirectAccessTriggerMap' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidDirectAccessTriggerMap' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidDisableProtocolSecurityRemoteSiteSetting' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidDisableProtocolSecurityRemoteSiteSetting' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidGetInstanceWithTaint' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidGetInstanceWithTaint' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidGlobalInstallUninstallHandlers' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidGlobalInstallUninstallHandlers' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidGlobalModifier' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidGlobalModifier' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidHardcodedCredentialsInFieldDecls' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidHardcodedCredentialsInFieldDecls' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidHardcodedCredentialsInHttpHeader' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidHardcodedCredentialsInHttpHeader' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidHardcodedCredentialsInSetPassword' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidHardcodedCredentialsInSetPassword' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidHardcodedCredentialsInVarAssign' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidHardcodedCredentialsInVarAssign' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidHardcodedCredentialsInVarDecls' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidHardcodedCredentialsInVarDecls' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidHardcodingId' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidHardcodingId' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidInsecureHttpRemoteSiteSetting' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidInsecureHttpRemoteSiteSetting' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidInvalidCrudContentDistribution' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidInvalidCrudContentDistribution' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidJavaScriptCustomObject' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidJavaScriptCustomObject' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidJavaScriptHomePageComponent' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidJavaScriptHomePageComponent' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidJavaScriptInUrls' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidJavaScriptInUrls' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidJavaScriptWebLink' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidJavaScriptWebLink' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidLmcIsExposedTrue' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidLmcIsExposedTrue' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidLogicInTrigger' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidLogicInTrigger' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidNonExistentAnnotations' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidNonExistentAnnotations' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidNonRestrictiveQueries' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidNonRestrictiveQueries' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Performance","Apex"]' was replaced with the new value '["Recommended","Performance","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidSControls' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidSControls' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidSecurityEnforcedOldApiVersion' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidSecurityEnforcedOldApiVersion' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidStatefulDatabaseResult' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidStatefulDatabaseResult' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidUnauthorizedApiSessionIdInApex' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidUnauthorizedApiSessionIdInApex' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidUnauthorizedGetSessionIdInApex' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidUnauthorizedGetSessionIdInApex' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'AvoidUnsafePasswordManagementUse' of engine 'pmd' was overridden according to the specified configuration. The old value '1' was replaced with the new value '1'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'AvoidUnsafePasswordManagementUse' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","Apex"]' was replaced with the new value '["AppExchange","Security","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ClassNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ClassNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'CognitiveComplexity' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'CognitiveComplexity' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'CyclomaticComplexity' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'CyclomaticComplexity' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'DebugsShouldUseLoggingLevel' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'DebugsShouldUseLoggingLevel' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'EagerlyLoadedDescribeSObjectResult' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'EagerlyLoadedDescribeSObjectResult' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Performance","Apex"]' was replaced with the new value '["Recommended","Performance","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'EmptyCatchBlock' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'EmptyCatchBlock' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'EmptyIfStmt' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'EmptyIfStmt' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'EmptyStatementBlock' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'EmptyStatementBlock' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'EmptyTryOrFinallyBlock' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'EmptyTryOrFinallyBlock' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'EmptyWhileStmt' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'EmptyWhileStmt' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ExcessiveClassLength' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ExcessiveClassLength' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ExcessiveParameterList' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ExcessiveParameterList' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ExcessivePublicCount' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ExcessivePublicCount' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'FieldDeclarationsShouldBeAtStart' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'FieldDeclarationsShouldBeAtStart' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'FieldNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'FieldNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ForLoopsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ForLoopsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'FormalParameterNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'FormalParameterNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'IfElseStmtsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'IfElseStmtsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'IfStmtsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'IfStmtsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'InaccessibleAuraEnabledGetter' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'InaccessibleAuraEnabledGetter' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'LimitConnectedAppScope' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'LimitConnectedAppScope' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'LocalVariableNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'LocalVariableNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'MethodNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'MethodNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'MethodWithSameNameAsEnclosingClass' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'MethodWithSameNameAsEnclosingClass' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'MissingEncoding' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'MissingEncoding' of engine 'pmd' was overridden according to the specified configuration. The old value '["BestPractices","XML"]' was replaced with the new value '["BestPractices","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'MistypedCDATASection' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'MistypedCDATASection' of engine 'pmd' was overridden according to the specified configuration. The old value '["ErrorProne","XML"]' was replaced with the new value '["ErrorProne","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'NcssConstructorCount' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'NcssConstructorCount' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'NcssMethodCount' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'NcssMethodCount' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'NcssTypeCount' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'NcssTypeCount' of engine 'pmd' was overridden according to the specified configuration. The old value '["Design","Apex","quickstart"]' was replaced with the new value '["Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'OneDeclarationPerLine' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'OneDeclarationPerLine' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'OperationWithHighCostInLoop' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'OperationWithHighCostInLoop' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Performance","Apex","quickstart"]' was replaced with the new value '["Recommended","Performance","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'OperationWithLimitsInLoop' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'OperationWithLimitsInLoop' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Performance","Apex","quickstart"]' was replaced with the new value '["Recommended","Performance","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'OverrideBothEqualsAndHashcode' of engine 'pmd' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'OverrideBothEqualsAndHashcode' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex","quickstart"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'PropertyNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'PropertyNamingConventions' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'ProtectSensitiveData' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'ProtectSensitiveData' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'QueueableWithoutFinalizer' of engine 'pmd' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'QueueableWithoutFinalizer' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'StdCyclomaticComplexity' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'StdCyclomaticComplexity' of engine 'pmd' was overridden according to the specified configuration. The old value '["Design","Apex","quickstart"]' was replaced with the new value '["Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'TestMethodsMustBeInTestClasses' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'TestMethodsMustBeInTestClasses' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","ErrorProne","Apex"]' was replaced with the new value '["Recommended","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'TooManyFields' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'TooManyFields' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex","quickstart"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'UnusedLocalVariable' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'UnusedLocalVariable' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","BestPractices","Apex","quickstart"]' was replaced with the new value '["Recommended","BestPractices","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'UnusedMethod' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'UnusedMethod' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","Design","Apex"]' was replaced with the new value '["Recommended","Design","Apex"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'UseHttpsCallbackUrlConnectedApp' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'UseHttpsCallbackUrlConnectedApp' of engine 'pmd' was overridden according to the specified configuration. The old value '["AppExchange","Security","XML"]' was replaced with the new value '["AppExchange","Security","XML"]'.
[2025-05-09T17:48:57.053Z] Debug Core - The severity value of rule 'WhileLoopsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.053Z] Debug Core - The tags value of rule 'WhileLoopsMustUseBraces' of engine 'pmd' was overridden according to the specified configuration. The old value '["Recommended","CodeStyle","Apex","quickstart"]' was replaced with the new value '["Recommended","CodeStyle","Apex"]'.
[2025-05-09T17:48:57.128Z] Debug Core - Finished gathering 7 available rule(s) from engine 'sfge'.
[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'ApexFlsViolation' of engine 'sfge' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.128Z] Debug Core - The tags value of rule 'ApexFlsViolation' of engine 'sfge' was overridden according to the specified configuration. The old value '["DevPreview","Security","Apex"]' was replaced with the new value '["DevPreview","Security","Apex"]'.
[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'ApexNullPointerException' of engine 'sfge' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.128Z] Debug Core - The tags value of rule 'ApexNullPointerException' of engine 'sfge' was overridden according to the specified configuration. The old value '["DevPreview","ErrorProne","Apex"]' was replaced with the new value '["DevPreview","ErrorProne","Apex"]'.
[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'AvoidDatabaseOperationInLoop' of engine 'sfge' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.128Z] Debug Core - The tags value of rule 'AvoidDatabaseOperationInLoop' of engine 'sfge' was overridden according to the specified configuration. The old value '["DevPreview","Performance","Apex"]' was replaced with the new value '["DevPreview","Performance","Apex"]'.
[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'AvoidMultipleMassSchemaLookups' of engine 'sfge' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.128Z] Debug Core - The tags value of rule 'AvoidMultipleMassSchemaLookups' of engine 'sfge' was overridden according to the specified configuration. The old value '["DevPreview","Performance","Apex"]' was replaced with the new value '["DevPreview","Performance","Apex"]'.
[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'DatabaseOperationsMustUseWithSharing' of engine 'sfge' was overridden according to the specified configuration. The old value '2' was replaced with the new value '2'.
[2025-05-09T17:48:57.128Z] Debug Core - The tags value of rule 'DatabaseOperationsMustUseWithSharing' of engine 'sfge' was overridden according to the specified configuration. The old value '["DevPreview","Security","Apex"]' was replaced with the new value '["DevPreview","Security","Apex"]'.
[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'MissingNullCheckOnSoqlVariable' of engine 'sfge' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.
[2025-05-09T17:48:57.128Z] Debug Core - The tags value of rule 'MissingNullCheckOnSoqlVariable' of engine 'sfge' was overridden according to the specified configuration. The old value '["DevPreview","Performance","Apex"]' was replaced with the new value '["DevPreview","Performance","Apex"]'.
[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'UnimplementedType' of engine 'sfge' was overridden according to the specified configuration. The old value '4' was replaced with the new value '4'.
[2025-05-09T17:48:57.128Z] Debug Core - The tags value of rule 'UnimplementedType' of engine 'sfge' was overridden according to the specified configuration. The old value '["DevPreview","Performance","Apex"]' was replaced with the new value '["DevPreview","Performance","Apex"]'.

We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at http://sfdc.co/CodeAnalyzerFeedback.

Steps To Reproduce

  1. Declared ruleset file (https://github.com/pranayjswl007/ultimate-devops/blob/main/devops/masterRuleset.xml)
  2. Declared config-file: https://github.com/pranayjswl007/ultimate-devops/blob/main/devops/code-analyzer.yml
  3. ran the below set of command

sf code-analyzer rules --target 'force-app' --config-file devops/code-analyzer.yml --rule-selector pmd:q
uickstart --output-file "apexScanResults.json" || exit 1

Streaming logs in real time to:
/var/folders/0l/9s3j_vns59l5rhf5fvyn7zqc0000gr/T/sfca-2025_05_09_18_48_55_751.log

Selecting rules... done.

=== Summary

Found 0 rules.

Rules written to:
apexScanResults.json

Additional log information written to:
/var/folders/0l/9s3j_vns59l5rhf5fvyn7zqc0000gr/T/sfca-2025_05_09_18_48_55_751.log

Expected Behavior

it shoudl say it found 100 active rules in quickStart ruleset file

Operating System

15.4.1

Salesforce CLI Version

@salesforce/cli/2.87.7 darwin-arm64 node-v22.15.0

Code Analyzer Plugin (code-analyzer) Version

code-analyzer 5.0.0

Node Version

v22.12.0

Java Version

openjdk version "21.0.5" 2024-10-15 LTS OpenJDK Runtime Environment Zulu21.38+21-CA (build 21.0.5+11-LTS) OpenJDK 64-Bit Server VM Zulu21.38+21-CA (build 21.0.5+11-LTS, mixed mode, sharing)

Python Version

Python 3.13.2

Additional Context (Screenshots, Files, etc)

I tried running same locally as well as in GitHub Runner. Thus, it looks like the issue is with the plugin.

Workaround

We need this else we cant move from v4 to v5

Urgency

High

Metadata

Metadata

Assignees

No one assigned

    Labels

    USER STORYNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions