Skip to content

[REST API] Replaced the old "/test" rest api endpoint with a "dryRun" query param #3078

[REST API] Replaced the old "/test" rest api endpoint with a "dryRun" query param

[REST API] Replaced the old "/test" rest api endpoint with a "dryRun" query param #3078

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

13 new problems found by Qodana Community for JVM

Qodana Community for JVM

13 new problems were found

Inspection name Severity Problems
Use of obsolete date-time API 🔶 Warning 3
Auto-unboxing 🔶 Warning 2
Object allocation in loop 🔶 Warning 2
Overly complex class 🔶 Warning 1
Statement lambda can be replaced with expression lambda 🔶 Warning 1
Overly complex method 🔶 Warning 1
Class with too many methods 🔶 Warning 1
Overly long method 🔶 Warning 1
Method with more than three negations 🔶 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 729 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

Auto-unboxing

Auto-unboxing `dryRun`

Check warning on line 831 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

Auto-unboxing

Auto-unboxing `dryRun`

Check warning on line 121 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 = 121)

Check warning on line 79 in utils/maven-plugin/src/main/java/io/apicurio/registry/maven/TestUpdateRegistryMojo.java

See this annotation in the file changed.

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

Statement lambda can be replaced with expression lambda

Statement lambda can be replaced with expression lambda

Check warning on line 633 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 = 15)

Check warning on line 121 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

Class with too many methods

`GroupsResourceImpl` has too many methods (method count = 52)

Check warning on line 633 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 = 43)

Check warning on line 75 in utils/maven-plugin/src/main/java/io/apicurio/registry/maven/TestUpdateRegistryMojo.java

See this annotation in the file changed.

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

Object allocation in loop

Object allocation `new CreateVersion()` in loop

Check warning on line 76 in utils/maven-plugin/src/main/java/io/apicurio/registry/maven/TestUpdateRegistryMojo.java

See this annotation in the file changed.

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

Object allocation in loop

Object allocation `new VersionContent()` in loop

Check warning on line 633 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 7 negations

Check warning on line 836 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

Use of obsolete date-time API

Obsolete date-time type `Date` used

Check warning on line 734 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

Use of obsolete date-time API

Obsolete date-time type `Date` used

Check warning on line 737 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

Use of obsolete date-time API

Obsolete date-time type `Date` used