Codacy Production / Codacy Static Code Analysis
required action
Dec 28, 2023 in 0s
3 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 2
- Added 3
Complexity increasing per file
==============================
- webapi/src/main/scala/org/knora/webapi/slice/admin/domain/model/GroupIri.scala 6
- webapi/src/main/scala/org/knora/webapi/slice/common/api/AuthorizationRestService.scala 3
- webapi/src/main/scala/org/knora/webapi/slice/admin/api/service/PermissionsRestService.scala 2
Clones removed
==============
+ webapi/src/main/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesADM.scala -2
See the complete overview on Codacy
Annotations
codacy-production / Codacy Static Code Analysis
webapi/src/main/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesADM.scala#L105
Usage of get on optional type.
codacy-production / Codacy Static Code Analysis
webapi/src/main/scala/org/knora/webapi/slice/admin/domain/model/GroupIri.scala#L20
Consider using case matching instead of else if blocks
codacy-production / Codacy Static Code Analysis
webapi/src/main/scala/org/knora/webapi/slice/admin/domain/model/GroupIri.scala#L21
Consider using case matching instead of else if blocks
Loading