Skip to content

PMD - pull_request

PMD - pull_request #70

Re-run triggered May 26, 2025 14:26
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 2 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-98d4c9352928d26066a4cf8835eee046e1b89427bf75cc345c1b3b5db3d2f020

Artifacts

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