Test PR pipline #12
PMD_validation.yaml
on: pull_request
deploy_verification
/
pmd-analysis
10s
Annotations
1 error, 6 warnings, and 1 notice
|
deploy_verification / pmd-analysis
Unhandled error: Error: Cannot find module 'xmldom'
Require stack:
- /home/runner/work/libak-salesforce-rest-api-framework/libak-salesforce-rest-api-framework/libak-salesforce-ci/CI/scripts/pmd_comment.js
- /home/runner/work/_actions/actions/github-script/v6/dist/index.js
|
|
Avoid empty block statements.:
force-app/main/default/classes/tests/libak_TestRestRouter.cls#L86
Empty block statements serve no purpose and should be removed.
EmptyStatementBlock (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_apex_errorprone.html#emptystatementblock
|
|
Avoid empty block statements.:
force-app/main/default/classes/tests/libak_TestRestRouter.cls#L85
Empty block statements serve no purpose and should be removed.
EmptyStatementBlock (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_apex_errorprone.html#emptystatementblock
|
|
Avoid empty block statements.:
force-app/main/default/classes/tests/libak_TestRestRouter.cls#L84
Empty block statements serve no purpose and should be removed.
EmptyStatementBlock (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_apex_errorprone.html#emptystatementblock
|
|
Avoid empty block statements.:
demo-app/main/default/classes/RestLogger.cls#L10
Empty block statements serve no purpose and should be removed.
EmptyStatementBlock (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_apex_errorprone.html#emptystatementblock
|
|
Avoid empty block statements.:
demo-app/main/default/classes/RestLogger.cls#L6
Empty block statements serve no purpose and should be removed.
EmptyStatementBlock (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_apex_errorprone.html#emptystatementblock
|
|
Avoid empty block statements.:
demo-app/main/default/classes/RestLogger.cls#L2
Empty block statements serve no purpose and should be removed.
EmptyStatementBlock (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_apex_errorprone.html#emptystatementblock
|
|
Variable 'processor' defined but not used:
force-app/main/default/classes/tests/libak_TestRestRouter.cls#L53
Detects when a local variable is declared and/or assigned but not used.
UnusedLocalVariable (Priority: 5, Ruleset: Best Practices)
https://docs.pmd-code.org/snapshot/pmd_rules_apex_bestpractices.html#unusedlocalvariable
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
PMD Report
Expired
|
921 Bytes |
sha256:1d944acbfbfbe8c9e6d6a77c9f58d210a22ba30a17305ae1c9948dfd717e0b38
|
|
|
pmd-report
Expired
|
921 Bytes |
sha256:1d944acbfbfbe8c9e6d6a77c9f58d210a22ba30a17305ae1c9948dfd717e0b38
|
|