[REST API] Replaced the old "/test" rest api endpoint with a "dryRun" query param #3078
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
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
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
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
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
github-actions / Qodana Community for JVM
Overly complex class
Overly complex class `GroupsResourceImpl` (cyclomatic complexity = 121)
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
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
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
github-actions / Qodana Community for JVM
Overly long method
`createArtifact` is too long (# Non-comment source statements = 43)
github-actions / Qodana Community for JVM
Object allocation in loop
Object allocation `new CreateVersion()` in loop
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
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
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
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
github-actions / Qodana Community for JVM
Use of obsolete date-time API
Obsolete date-time type `Date` used