Skip to content

PMD - pull_request #533

PMD - pull_request

PMD - pull_request #533

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

check-pmd.yml

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

Annotations

2 errors and 1 warning
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
pmd_analyse
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.

Artifacts

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