Skip to content

PMD - pull_request #535

PMD - pull_request

PMD - pull_request #535

Triggered via pull request August 27, 2025 11:13
Status Success
Total duration 22s
Artifacts 1

check-pmd.yml

on: pull_request
pmd_analyse
18s
pmd_analyse
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Document empty constructor: powertools-cloudformation/src/test/java/software/amazon/lambda/powertools/cloudformation/NullCustomResourceHandler.java#L26
Uncommented Empty Constructor finds instances where a constructor does not contain statements, but there is no comment. By explicitly commenting empty constructors it is easier to distinguish between intentional (commented) and unintentional empty constructors. UncommentedEmptyConstructor (Priority: 1, Ruleset: Documentation) https://docs.pmd-code.org/snapshot/pmd_rules_java_documentation.html#uncommentedemptyconstructor
Consider simply returning the value vs storing it in local variable 'builder': powertools-cloudformation/src/test/java/software/amazon/lambda/powertools/cloudformation/CloudFormationIntegrationTest.java#L48
Avoid the creation of unnecessary local variables UnnecessaryLocalBeforeReturn (Priority: 1, Ruleset: Code Style) https://docs.pmd-code.org/snapshot/pmd_rules_java_codestyle.html#unnecessarylocalbeforereturn

Artifacts

Produced during runtime
Name Size Digest
PMD Report
980 Bytes
sha256:cb4c6842d2db8be1cc1cdc1c5f4b9a131eb1b0bf3a9049a23d06df5d1e1d0f81