Its punchline time PR #104
Quality Gate failed
Failed conditions
48.5% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 706 in web/src/components/courses/ModuleLearner.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bAGMf9TAn_2XzyPnd&open=AZ0bAGMf9TAn_2XzyPnd&pullRequest=104
Check failure on line 39 in api/src/tasks/tracking_consumer.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bAGQ99TAn_2XzyPnh&open=AZ0bAGQ99TAn_2XzyPnh&pullRequest=104
Check failure on line 23 in web/src/components/admin/tenant-org-manager/BulkImportModal.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bM7oo_Zt1bhYNImmb&open=AZ0bM7oo_Zt1bhYNImmb&pullRequest=104
Check warning on line 677 in web/src/components/courses/ModuleLearner.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bAGMf9TAn_2XzyPnb&open=AZ0bAGMf9TAn_2XzyPnb&pullRequest=104
Check warning on line 693 in web/src/components/courses/ModuleLearner.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bAGMf9TAn_2XzyPnc&open=AZ0bAGMf9TAn_2XzyPnc&pullRequest=104
Check warning on line 114 in web/src/components/content-manager/modules/module-creation/utils.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not use nested template literals.
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bAGE39TAn_2XzyPnZ&open=AZ0bAGE39TAn_2XzyPnZ&pullRequest=104
Check warning on line 17 in api/src/tasks/tracking_consumer.py
sonarqubecloud / SonarCloud Code Analysis
Remove the unused function parameter "properties".
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bAGQ99TAn_2XzyPng&open=AZ0bAGQ99TAn_2XzyPng&pullRequest=104
Check failure on line 643 in web/src/components/courses/ModuleLearner.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ0bAGMf9TAn_2XzyPna&open=AZ0bAGMf9TAn_2XzyPna&pullRequest=104
Check warning on line 88 in web/src/components/statistics/RiskLevel.tsx
sonarqubecloud / 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=PEI-SecureLearning_core&issues=AZ0bAGMx9TAn_2XzyPne&open=AZ0bAGMx9TAn_2XzyPne&pullRequest=104
Check warning on line 60 in web/src/components/statistics/AssignedTraining.tsx
sonarqubecloud / 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=PEI-SecureLearning_core&issues=AZ0bAGNF9TAn_2XzyPnf&open=AZ0bAGNF9TAn_2XzyPnf&pullRequest=104