Skip to content

PMD - pull_request #534

PMD - pull_request

PMD - pull_request #534

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

check-pmd.yml

on: pull_request
pmd_analyse
22s
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:4a90bcd60e8306fc942d411bf126eb85a4a3c4a6290c1d4359fba68ae3c1a1dc