3140 - Add copy/paste functionality to workflow editor #4658
Quality Gate failed
Failed conditions
0.8% Coverage on New Code (required ≥ 80%)
5.2% Duplication on New Code (required ≤ 3%)
B 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 123 in client/src/components/ui/context-menu.tsx
sonarqubecloud / [client] SonarCloud Code Analysis
'ElementRef' is deprecated.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8ZcgxGl7hYoeLh5&open=AZ1oa8ZcgxGl7hYoeLh5&pullRequest=4658
Check failure on line 166 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 33 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ0-6LTZMjLd0CEEQmSL&open=AZ0-6LTZMjLd0CEEQmSL&pullRequest=4658
Check warning on line 17 in client/src/components/ui/context-menu.tsx
sonarqubecloud / [client] SonarCloud Code Analysis
'ElementRef' is deprecated.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8ZcgxGl7hYoeLh1&open=AZ1oa8ZcgxGl7hYoeLh1&pullRequest=4658
Check warning on line 38 in client/src/components/ui/context-menu.tsx
sonarqubecloud / [client] SonarCloud Code Analysis
'ElementRef' is deprecated.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8ZcgxGl7hYoeLh2&open=AZ1oa8ZcgxGl7hYoeLh2&pullRequest=4658
sonarqubecloud / [client] SonarCloud Code Analysis
Visible, non-interactive elements with click handlers must have at least one keyboard listener.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ0-6LTBMjLd0CEEQmSJ&open=AZ0-6LTBMjLd0CEEQmSJ&pullRequest=4658
Check warning on line 28 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
Use the "RegExp.exec()" method instead.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ2QxNYQWbCmbFurwcgW&open=AZ2QxNYQWbCmbFurwcgW&pullRequest=4658
Check warning on line 218 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] 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=bytechef_client&issues=AZ1oa8YTgxGl7hYoeLhz&open=AZ1oa8YTgxGl7hYoeLhz&pullRequest=4658
Check warning on line 25 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
`String.raw` should be used to avoid escaping `\`.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ2QxNYQWbCmbFurwcgV&open=AZ2QxNYQWbCmbFurwcgV&pullRequest=4658
Check warning on line 31 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
Prefer `Number.parseInt` over `parseInt`.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ2QxNYQWbCmbFurwcgX&open=AZ2QxNYQWbCmbFurwcgX&pullRequest=4658
Check warning on line 56 in client/src/components/ui/context-menu.tsx
sonarqubecloud / [client] SonarCloud Code Analysis
'ElementRef' is deprecated.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8ZcgxGl7hYoeLh3&open=AZ1oa8ZcgxGl7hYoeLh3&pullRequest=4658
sonarqubecloud / [client] SonarCloud Code Analysis
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ0-6LTBMjLd0CEEQmSI&open=AZ0-6LTBMjLd0CEEQmSI&pullRequest=4658
Check warning on line 217 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
Unexpected negated condition.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8YTgxGl7hYoeLh0&open=AZ1oa8YTgxGl7hYoeLh0&pullRequest=4658
Check warning on line 743 in client/src/pages/platform/workflow-editor/nodes/WorkflowNode.tsx
sonarqubecloud / [client] SonarCloud Code Analysis
This assertion is unnecessary since it does not change the type of the expression.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ0-6LTxMjLd0CEEQmSP&open=AZ0-6LTxMjLd0CEEQmSP&pullRequest=4658
Check warning on line 145 in client/src/components/ui/context-menu.tsx
sonarqubecloud / [client] SonarCloud Code Analysis
'ElementRef' is deprecated.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8ZcgxGl7hYoeLh6&open=AZ1oa8ZcgxGl7hYoeLh6&pullRequest=4658
Check warning on line 23 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
`String.raw` should be used to avoid escaping `\`.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ2QxNYQWbCmbFurwcgU&open=AZ2QxNYQWbCmbFurwcgU&pullRequest=4658
sonarqubecloud / [client] SonarCloud Code Analysis
Refactor this code to not use nested template literals.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8TCgxGl7hYoeLht&open=AZ1oa8TCgxGl7hYoeLht&pullRequest=4658
Check failure on line 68 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ2QxNYQWbCmbFurwcgY&open=AZ2QxNYQWbCmbFurwcgY&pullRequest=4658
Check warning on line 100 in client/src/components/ui/context-menu.tsx
sonarqubecloud / [client] SonarCloud Code Analysis
'ElementRef' is deprecated.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ1oa8ZcgxGl7hYoeLh4&open=AZ1oa8ZcgxGl7hYoeLh4&pullRequest=4658
Check warning on line 23 in client/src/pages/platform/workflow-editor/utils/pasteNode.ts
sonarqubecloud / [client] SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ2QxNYQWbCmbFurwcgT&open=AZ2QxNYQWbCmbFurwcgT&pullRequest=4658