Skip to content

PMD - pull_request

PMD - pull_request #67

Re-run triggered May 26, 2025 09:02
Status Success
Total duration 3m 26s
Artifacts 1

check-pmd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
Document empty constructor: examples/powertools-examples-parameters/sam/src/main/java/org/demo/parameters/MyObject.java#L22
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/pmd-doc-7.13.0/pmd_rules_java_documentation.html#uncommentedemptyconstructor
Avoid unnecessary constructors - the compiler will generate these for you: examples/powertools-examples-parameters/sam/src/main/java/org/demo/parameters/MyObject.java#L22
This rule detects when a constructor is not necessary; i.e., when there is only one constructor and the constructor is identical to the default constructor. The default constructor should has same access modifier as the declaring class. In an enum type, the default constructor is implicitly private. UnnecessaryConstructor (Priority: 1, Ruleset: Code Style) https://docs.pmd-code.org/pmd-doc-7.13.0/pmd_rules_java_codestyle.html#unnecessaryconstructor
pmd_analyse
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
pmd_analyse
Cache not found for keys: setup-java-Linux-x64-maven-162ec1d6bdb9ac9b1c96799af4192c0dbd9c41aff260c1ceea0407774815738e
pmd_analyse
Back off 17.041 seconds before retry.
pmd_analyse
Failed to download action 'https://api.github.com/repos/pmd/pmd-github-action/tarball/d9c1f3c5940cbf5923f1354e83fa858b4496ebaa'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
pmd_analyse
Back off 18.483 seconds before retry.
pmd_analyse
Failed to download action 'https://api.github.com/repos/pmd/pmd-github-action/tarball/d9c1f3c5940cbf5923f1354e83fa858b4496ebaa'. Error: Response status code does not indicate success: 429 (Too Many Requests). 3601:327402:AB36D:EB4C0:68342E2E

Artifacts

Produced during runtime
Name Size Digest
PMD Report Expired
1006 Bytes
sha256:df1018f61100a98c455d9b4b7c9c734c9d73edbbacf231698ed5a689b0fae3a7