ml setup: config, polygon, kernel DNA - #147
Quality Gate failed
Failed conditions
C 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 warning on line 510 in static/js/devices-belt.js
sonarqubecloud / SonarCloud Code Analysis
Method 'createTinyGrid' has too many parameters (9). Maximum allowed is 7.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1tpgaP9OIbfq6_o&open=AZ-QW1tpgaP9OIbfq6_o&pullRequest=147
Check warning on line 442 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Prefer `Number.parseInt` over `parseInt`.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1urgaP9OIbfq6_0&open=AZ-QW1urgaP9OIbfq6_0&pullRequest=147
Check warning on line 2963 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq6_9&open=AZ-QW1usgaP9OIbfq6_9&pullRequest=147
Check failure on line 225 in kernel_ai/ml/polygon.py
sonarqubecloud / SonarCloud Code Analysis
LLMs running this code with faulty CLI arguments can escape from shell sandboxes. Refactor this code to validate untrusted data before passing them to OS commands.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1slgaP9OIbfq6_n&open=AZ-QW1slgaP9OIbfq6_n&pullRequest=147
Check failure on line 428 in static/js/kernel-dna.js
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=devops-stack_ring-0&issues=AZ-QW1urgaP9OIbfq6_x&open=AZ-QW1urgaP9OIbfq6_x&pullRequest=147
Check warning on line 2965 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not use nested template literals.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq7AC&open=AZ-QW1usgaP9OIbfq7AC&pullRequest=147
Check warning on line 2965 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq7AA&open=AZ-QW1usgaP9OIbfq7AA&pullRequest=147
Check warning on line 440 in static/js/kernel-dna.js
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=devops-stack_ring-0&issues=AZ-QW1urgaP9OIbfq6_y&open=AZ-QW1urgaP9OIbfq6_y&pullRequest=147
Check warning on line 481 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq6_6&open=AZ-QW1usgaP9OIbfq6_6&pullRequest=147
Check warning on line 476 in static/js/kernel-dna.js
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=devops-stack_ring-0&issues=AZ-QW1urgaP9OIbfq6_3&open=AZ-QW1urgaP9OIbfq6_3&pullRequest=147
Check warning on line 541 in static/js/devices-belt.js
sonarqubecloud / SonarCloud Code Analysis
Make sure that using this pseudorandom number generator is safe here.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1tpgaP9OIbfq6_t&open=AZ-QW1tpgaP9OIbfq6_t&pullRequest=147
Check warning on line 446 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Unnecessary use of conditional expression for default assignment.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1urgaP9OIbfq6_1&open=AZ-QW1urgaP9OIbfq6_1&pullRequest=147
Check warning on line 521 in static/js/devices-belt.js
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1tpgaP9OIbfq6_r&open=AZ-QW1tpgaP9OIbfq6_r&pullRequest=147
Check warning on line 2963 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq6_-&open=AZ-QW1usgaP9OIbfq6_-&pullRequest=147
Check warning on line 446 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1urgaP9OIbfq6_2&open=AZ-QW1urgaP9OIbfq6_2&pullRequest=147
Check warning on line 2956 in static/js/kernel-dna.js
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=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq6_7&open=AZ-QW1usgaP9OIbfq6_7&pullRequest=147
Check warning on line 442 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1urgaP9OIbfq6_z&open=AZ-QW1urgaP9OIbfq6_z&pullRequest=147
Check warning on line 479 in static/js/kernel-dna.js
sonarqubecloud / SonarCloud Code Analysis
Unnecessary use of conditional expression for default assignment.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq6_4&open=AZ-QW1usgaP9OIbfq6_4&pullRequest=147
Check warning on line 2965 in static/js/kernel-dna.js
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=devops-stack_ring-0&issues=AZ-QW1usgaP9OIbfq7AB&open=AZ-QW1usgaP9OIbfq7AB&pullRequest=147
Check failure on line 378 in kernel_ai/ml/polygon.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 26 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1slgaP9OIbfq6_l&open=AZ-QW1slgaP9OIbfq6_l&pullRequest=147
Check failure on line 89 in kernel_ai/ml/proc_baseline.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 44 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1sbgaP9OIbfq6_g&open=AZ-QW1sbgaP9OIbfq6_g&pullRequest=147
Check warning on line 80 in kernel_ai/ml/polygon.py
sonarqubecloud / SonarCloud Code Analysis
Replace this constructor call with a literal.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1slgaP9OIbfq6_h&open=AZ-QW1slgaP9OIbfq6_h&pullRequest=147
Check warning on line 234 in kernel_ai/ml/polygon.py
sonarqubecloud / SonarCloud Code Analysis
Make sure this permission is safe.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1slgaP9OIbfq6_k&open=AZ-QW1slgaP9OIbfq6_k&pullRequest=147
Check warning on line 542 in static/js/devices-belt.js
sonarqubecloud / SonarCloud Code Analysis
Make sure that using this pseudorandom number generator is safe here.
See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-QW1tpgaP9OIbfq6_v&open=AZ-QW1tpgaP9OIbfq6_v&pullRequest=147
Check failure on line 252 in kernel_ai/ml/worker.py
sonarqubecloud / 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=devops-stack_ring-0&issues=AZ-QW1pfgaP9OIbfq6_d&open=AZ-QW1pfgaP9OIbfq6_d&pullRequest=147