Skip to content

Do not apply rules when creating an artifact with no content #3392

Do not apply rules when creating an artifact with no content

Do not apply rules when creating an artifact with no content #3392

GitHub Actions / Qodana Community for JVM completed Jul 31, 2024 in 0s

5 new problems found by Qodana Community for JVM

Qodana Community for JVM

5 new problems were found

Inspection name Severity Problems
Overly complex class 🔶 Warning 1
Overly complex method 🔶 Warning 1
Overly long method 🔶 Warning 1
Method with more than three negations 🔶 Warning 1
Reference checked for 'null' is not used inside 'if' 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 126 in app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Overly complex class

Overly complex class `GroupsResourceImpl` (cyclomatic complexity = 127)

Check warning on line 731 in app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Overly complex method

Overly complex method `createArtifact()` (cyclomatic complexity = 16)

Check warning on line 731 in app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Overly long method

`createArtifact` is too long (# Non-comment source statements = 46)

Check warning on line 731 in app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Method with more than three negations

`createArtifact` contains 8 negations

Check warning on line 802 in app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Reference checked for 'null' is not used inside 'if'

`content` checked for 'null' is not used inside 'if'