[WIP] Toger5/element call react component - #34935
Quality Gate failed
Failed conditions
E Security 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 failure on line 262 in apps/web/src/components/views/voip/ElementCallMock.tsx
sonarqubecloud / SonarCloud Code Analysis
Remove this use of the "void" operator.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO43ViRG22x82B4K&open=AaBspO43ViRG22x82B4K&pullRequest=34935
Check warning on line 51 in apps/web/src/stores/DocumentPipStore.ts
sonarqubecloud / SonarCloud Code Analysis
Mark these members as `readonly`.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO5zViRG22x82B4N&open=AaBspO5zViRG22x82B4N&pullRequest=34935
Check warning on line 732 in apps/web/playwright/e2e/voip/element-call.spec.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this unit test or explain why it is ignored.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO8LViRG22x82B4Q&open=AaBspO8LViRG22x82B4Q&pullRequest=34935
Check warning on line 38 in apps/web/playwright/e2e/voip/element-call-full-call.spec.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this unit test or explain why it is ignored.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO7mViRG22x82B4P&open=AaBspO7mViRG22x82B4P&pullRequest=34935
Check warning on line 19 in apps/web/src/components/views/voip/ElementCallComponentTypes.ts
sonarqubecloud / SonarCloud Code Analysis
'@element-hq/element-call-component' imported multiple times.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO4-ViRG22x82B4L&open=AaBspO4-ViRG22x82B4L&pullRequest=34935
Check warning on line 72 in apps/web/playwright/services.ts
sonarqubecloud / SonarCloud Code Analysis
`new Error()` is too unspecific for a type check. Use `new TypeError()` instead.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO8kViRG22x82B4S&open=AaBspO8kViRG22x82B4S&pullRequest=34935
Check warning on line 20 in apps/web/src/components/views/voip/ElementCallComponentTypes.ts
sonarqubecloud / SonarCloud Code Analysis
'@element-hq/element-call-component' imported multiple times.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO4-ViRG22x82B4M&open=AaBspO4-ViRG22x82B4M&pullRequest=34935
Check failure on line 65 in apps/web/src/components/views/rooms/RoomHeader/RoomHeader.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspOpyViRG22x82B4J&open=AaBspOpyViRG22x82B4J&pullRequest=34935
Check warning on line 57 in apps/web/src/stores/DocumentPipStore.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer using nullish coalescing operator (`??=`) instead of an assignment expression, as it is simpler to read.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO5zViRG22x82B4O&open=AaBspO5zViRG22x82B4O&pullRequest=34935
Check failure on line 1 in apps/web/playwright/testcontainers/res/matrix-rtc/tls.key
sonarqubecloud / SonarCloud Code Analysis
Make sure this private key gets revoked, changed, and removed from the code.
See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBspO8VViRG22x82B4R&open=AaBspO8VViRG22x82B4R&pullRequest=34935