Do not apply rules when creating an artifact with no content #3392
Triggered via pull request
July 31, 2024 11:55
EricWittmann
synchronize
#4955
Status
Skipped
Total duration
2s
Artifacts
–
dependabot-autoapprove.yaml
on: pull_request_target
auto-approve
0s
Annotations
5 warnings
Overly complex class:
app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java#L126
Overly complex class `GroupsResourceImpl` (cyclomatic complexity = 127)
|
Overly complex method:
app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java#L731
Overly complex method `createArtifact()` (cyclomatic complexity = 16)
|
Overly long method:
app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java#L731
`createArtifact` is too long (# Non-comment source statements = 46)
|
Method with more than three negations:
app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java#L731
`createArtifact` contains 8 negations
|
Reference checked for 'null' is not used inside 'if':
app/src/main/java/io/apicurio/registry/rest/v3/GroupsResourceImpl.java#L802
`content` checked for 'null' is not used inside 'if'
|