Skip to content

Update ChangeLog

Update ChangeLog #13

Triggered via push September 1, 2023 10:45
Status Success
Total duration 39s
Artifacts 1

pmd.yml

on: push
pmd-code-scan
29s
pmd-code-scan
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
This class has only private constructors and may be final: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/HttpsWrapper.java#L47
Reports classes that may be made final because they cannot be extended from outside their compilation unit anyway. This is because all their constructors are private, so a subclass could not call the super constructor. ClassWithOnlyPrivateConstructorsShouldBeFinal (Priority: 1, Ruleset: Design) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_design.html#classwithonlyprivateconstructorsshouldbefinal
This class has only private constructors and may be final: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/HttpsWrapper.java#L84
Reports classes that may be made final because they cannot be extended from outside their compilation unit anyway. This is because all their constructors are private, so a subclass could not call the super constructor. ClassWithOnlyPrivateConstructorsShouldBeFinal (Priority: 1, Ruleset: Design) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_design.html#classwithonlyprivateconstructorsshouldbefinal
This class has only private constructors and may be final: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/RequestUtilities.java#L38
Reports classes that may be made final because they cannot be extended from outside their compilation unit anyway. This is because all their constructors are private, so a subclass could not call the super constructor. ClassWithOnlyPrivateConstructorsShouldBeFinal (Priority: 1, Ruleset: Design) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_design.html#classwithonlyprivateconstructorsshouldbefinal
Return an empty collection rather than null.: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/SOAPInterpreter.java#L105
For any method that returns an collection (such as an array, Collection or Map), it is better to return an empty one rather than a null reference. This removes the need for null checking all results and avoids inadvertent NullPointerExceptions. See Effective Java, 3rd Edition, Item 54: Return empty collections or arrays instead of null ReturnEmptyCollectionRatherThanNull (Priority: 1, Ruleset: Error Prone) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_errorprone.html#returnemptycollectionratherthannull
Avoid empty catch blocks: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/RequestUtilities.java#L293
Empty Catch Block finds instances where an exception is caught, but nothing is done. In most circumstances, this swallows an exception which should either be acted on or reported. EmptyCatchBlock (Priority: 3, Ruleset: Error Prone) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_errorprone.html#emptycatchblock
Avoid empty catch blocks: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/WSDLCheck.java#L325
Empty Catch Block finds instances where an exception is caught, but nothing is done. In most circumstances, this swallows an exception which should either be acted on or reported. EmptyCatchBlock (Priority: 3, Ruleset: Error Prone) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_errorprone.html#emptycatchblock
Avoid empty catch blocks: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/WSDLCheck.java#L341
Empty Catch Block finds instances where an exception is caught, but nothing is done. In most circumstances, this swallows an exception which should either be acted on or reported. EmptyCatchBlock (Priority: 3, Ruleset: Error Prone) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_errorprone.html#emptycatchblock
Avoid empty catch blocks: file:///home/runner/work/fronsetia/fronsetia/src/main/java/bogdrosoft/fronsetia/WSDLCheck.java#L361
Empty Catch Block finds instances where an exception is caught, but nothing is done. In most circumstances, this swallows an exception which should either be acted on or reported. EmptyCatchBlock (Priority: 3, Ruleset: Error Prone) https://docs.pmd-code.org/pmd-doc-7.0.0-rc3/pmd_rules_java_errorprone.html#emptycatchblock

Artifacts

Produced during runtime
Name Size
PMD Report Expired
5.68 KB