Skip to content

PMD - pull_request

PMD - pull_request #69

Re-run triggered May 26, 2025 14:20
Status Success
Total duration 23s
Artifacts 1

check-pmd.yml

on: pull_request
pmd_analyse
15s
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-3603c450a21b7818bc7eac2fc9e0ab8e1541dd4b613bd29f9c21eae50c60e75a

Artifacts

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