Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail build on CheckStyle or PMD violations #1004

Merged
merged 1 commit into from
Apr 29, 2024

Fail build on CheckStyle or PMD violations.

ef6baa3
Select commit
Loading
Failed to load commit list.
Merged

Fail build on CheckStyle or PMD violations #1004

Fail build on CheckStyle or PMD violations.
ef6baa3
Select commit
Loading
Failed to load commit list.
Jenkins (hafner.hm.edu) / PMD failed Apr 28, 2024 in 0s

3 new issues

Total New Outstanding Fixed Trend
3 3 0 0 👎

Reference build: Ullrich Hafner » codingstyle » main #152

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
0 0 3 0

Annotations

Check warning on line 131 in src/main/java/edu/hm/hafner/util/SecureXmlParserFactory.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / PMD

EmptyCatchBlock

NORMAL:
Avoid empty catch blocks.
Raw output
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. <pre> <code> public void doSomething() { try { FileInputStream fis = new FileInputStream(&quot;/tmp/bugger&quot;); } catch (IOException ioe) { // not good } } </code> </pre> <a href="https://docs.pmd-code.org/pmd-doc-7.0.0/pmd_rules_java_errorprone.html#emptycatchblock"> See PMD documentation. </a>

Check warning on line 142 in src/main/java/edu/hm/hafner/util/SecureXmlParserFactory.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / PMD

EmptyCatchBlock

NORMAL:
Avoid empty catch blocks.
Raw output
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. <pre> <code> public void doSomething() { try { FileInputStream fis = new FileInputStream(&quot;/tmp/bugger&quot;); } catch (IOException ioe) { // not good } } </code> </pre> <a href="https://docs.pmd-code.org/pmd-doc-7.0.0/pmd_rules_java_errorprone.html#emptycatchblock"> See PMD documentation. </a>

Check warning on line 183 in src/main/java/edu/hm/hafner/util/SecureXmlParserFactory.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / PMD

EmptyCatchBlock

NORMAL:
Avoid empty catch blocks.
Raw output
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. <pre> <code> public void doSomething() { try { FileInputStream fis = new FileInputStream(&quot;/tmp/bugger&quot;); } catch (IOException ioe) { // not good } } </code> </pre> <a href="https://docs.pmd-code.org/pmd-doc-7.0.0/pmd_rules_java_errorprone.html#emptycatchblock"> See PMD documentation. </a>