test: add multiple bad code files to trigger Quality Gate failure #4
Quality Gate failed
Failed conditions
3 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 22 in src/utils/duplication.js
sonarqubecloud / SonarCloud Code Analysis
Update this function so that its implementation is not identical to the one on line 4.
See more on https://sonarcloud.io/project/issues?id=Lforlinux_diffctl&issues=AZrbog6IOmmgFjkdQZpJ&open=AZrbog6IOmmgFjkdQZpJ&pullRequest=4
Check warning on line 60 in src/utils/codeSmells.js
sonarqubecloud / SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=Lforlinux_diffctl&issues=AZrbog7_OmmgFjkdQZpR&open=AZrbog7_OmmgFjkdQZpR&pullRequest=4
Check warning on line 47 in src/utils/duplication.js
sonarqubecloud / SonarCloud Code Analysis
Update this function so that its implementation is not identical to the one on line 31.
See more on https://sonarcloud.io/project/issues?id=Lforlinux_diffctl&issues=AZrbog6IOmmgFjkdQZpL&open=AZrbog6IOmmgFjkdQZpL&pullRequest=4
Check warning on line 39 in src/utils/duplication.js
sonarqubecloud / SonarCloud Code Analysis
Update this function so that its implementation is not identical to the one on line 31.
See more on https://sonarcloud.io/project/issues?id=Lforlinux_diffctl&issues=AZrbog6IOmmgFjkdQZpK&open=AZrbog6IOmmgFjkdQZpK&pullRequest=4
Check warning on line 13 in src/utils/duplication.js
sonarqubecloud / SonarCloud Code Analysis
Update this function so that its implementation is not identical to the one on line 4.
See more on https://sonarcloud.io/project/issues?id=Lforlinux_diffctl&issues=AZrbog6IOmmgFjkdQZpI&open=AZrbog6IOmmgFjkdQZpI&pullRequest=4
Check failure on line 27 in src/utils/codeSmells.js
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 47 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Lforlinux_diffctl&issues=AZrbog7_OmmgFjkdQZpQ&open=AZrbog7_OmmgFjkdQZpQ&pullRequest=4
Check warning on line 9 in src/utils/codeSmells.js
sonarqubecloud / SonarCloud Code Analysis
Function 'processUserData' has too many parameters (12). Maximum allowed is 7.
See more on https://sonarcloud.io/project/issues?id=Lforlinux_diffctl&issues=AZrbog7_OmmgFjkdQZpP&open=AZrbog7_OmmgFjkdQZpP&pullRequest=4