Groupware #1994
Groupware #1994
Quality Gate failed
Failed conditions
69 Security Hotspots
3.2% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 13 in pkg/jmap/model_examples.go
sonarqubecloud / SonarCloud Code Analysis
Remove this import; the package is already imported with alias 'c'
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZ0fGLWHOhylXdLzIIcX&open=AZ0fGLWHOhylXdLzIIcX&pullRequest=1994
Check warning on line 205 in pkg/jmap/api_calendar.go
sonarqubecloud / SonarCloud Code Analysis
Group together these consecutive parameters of the same type.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScGIiFdIOO1S-snt&open=AZwzScGIiFdIOO1S-snt&pullRequest=1994
Check warning on line 17 in services/auth-api/pkg/server/http/option.go
sonarqubecloud / SonarCloud Code Analysis
Remove this 'context.Context' field and pass context as a parameter to methods that need it.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzSb8oiFdIOO1S-sjc&open=AZwzSb8oiFdIOO1S-sjc&pullRequest=1994
Check warning on line 297 in services/groupware/pkg/groupware/framework.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScBgiFdIOO1S-ski&open=AZwzScBgiFdIOO1S-ski&pullRequest=1994
Check warning on line 384 in pkg/jmap/api_email.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDfiFdIOO1S-slb&open=AZwzScDfiFdIOO1S-slb&pullRequest=1994
Check warning on line 59 in pkg/jmap/api_contact.go
sonarqubecloud / SonarCloud Code Analysis
Group together these consecutive parameters of the same type.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZ0rGN3pxZcaYPBBpiST&open=AZ0rGN3pxZcaYPBBpiST&pullRequest=1994
Check warning on line 1835 in pkg/jscontact/model.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScHKiFdIOO1S-soT&open=AZwzScHKiFdIOO1S-soT&pullRequest=1994
Check warning on line 16 in services/auth-api/pkg/server/debug/option.go
sonarqubecloud / SonarCloud Code Analysis
Remove this 'context.Context' field and pass context as a parameter to methods that need it.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzSb-ZiFdIOO1S-sjd&open=AZwzSb-ZiFdIOO1S-sjd&pullRequest=1994
Check warning on line 479 in pkg/jmap/integration_test.go
sonarqubecloud / SonarCloud Code Analysis
Group together these consecutive parameters of the same type.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScEIiFdIOO1S-sms&open=AZwzScEIiFdIOO1S-sms&pullRequest=1994
Check warning on line 8 in vendor/github.com/gogs/chardet/icu-license.html
sonarqubecloud / SonarCloud Code Analysis
Remove this deprecated "BGCOLOR" attribute.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScH9iFdIOO1S-sop&open=AZwzScH9iFdIOO1S-sop&pullRequest=1994
Check warning on line 196 in services/groupware/pkg/groupware/request.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScB1iFdIOO1S-sk0&open=AZwzScB1iFdIOO1S-sk0&pullRequest=1994
Check warning on line 293 in services/groupware/pkg/groupware/framework.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScBgiFdIOO1S-ske&open=AZwzScBgiFdIOO1S-ske&pullRequest=1994
Check warning on line 19 in services/auth-api/pkg/service/http/v0/service.go
sonarqubecloud / SonarCloud Code Analysis
Rename this interface to follow Go naming conventions for single-method interfaces.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzSb-wiFdIOO1S-sjj&open=AZwzSb-wiFdIOO1S-sjj&pullRequest=1994
Check failure on line 258 in services/groupware/pkg/groupware/framework.go
sonarqubecloud / SonarCloud Code Analysis
Enable server hostname verification on this SSL/TLS connection.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZy5oHjiNERQer0C_bzG&open=AZy5oHjiNERQer0C_bzG&pullRequest=1994
Check warning on line 219 in services/groupware/pkg/groupware/request.go
sonarqubecloud / SonarCloud Code Analysis
Group together these consecutive parameters of the same type.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScB1iFdIOO1S-sk7&open=AZwzScB1iFdIOO1S-sk7&pullRequest=1994
Check warning on line 119 in services/groupware/pkg/groupware/request.go
sonarqubecloud / SonarCloud Code Analysis
Group together these consecutive parameters of the same type.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScB1iFdIOO1S-sk5&open=AZwzScB1iFdIOO1S-sk5&pullRequest=1994
Check warning on line 1307 in pkg/jscontact/model.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScHKiFdIOO1S-soO&open=AZwzScHKiFdIOO1S-soO&pullRequest=1994
Check warning on line 227 in services/groupware/pkg/groupware/framework.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScBgiFdIOO1S-skd&open=AZwzScBgiFdIOO1S-skd&pullRequest=1994
Check failure on line 15 in services/groupware/pkg/middleware/groupware_logger.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScCHiFdIOO1S-sk_&open=AZwzScCHiFdIOO1S-sk_&pullRequest=1994
Check failure on line 402 in tests/groupware/setup.go
sonarqubecloud / SonarCloud Code Analysis
Enable server certificate validation on this SSL/TLS connection.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDFiFdIOO1S-slS&open=AZwzScDFiFdIOO1S-slS&pullRequest=1994
Check warning on line 29 in services/groupware/pkg/groupware/request.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScB1iFdIOO1S-skw&open=AZwzScB1iFdIOO1S-skw&pullRequest=1994
Check warning on line 1 in services/groupware/apidoc-postprocess-html.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `node:fs` over `fs`.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScCkiFdIOO1S-slC&open=AZwzScCkiFdIOO1S-slC&pullRequest=1994
Check failure on line 259 in tests/groupware/setup.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "application/json" 6 times.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDFiFdIOO1S-slE&open=AZwzScDFiFdIOO1S-slE&pullRequest=1994
Check warning on line 10 in tests/groupware/groupware.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import of 'Counter'.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDRiFdIOO1S-slX&open=AZwzScDRiFdIOO1S-slX&pullRequest=1994
Check warning on line 202 in tests/groupware/groupware.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer using an optional chain expression instead, as it's more concise and easier to read.
See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZyfW11CnmZyYEEPc9lc&open=AZyfW11CnmZyYEEPc9lc&pullRequest=1994