Skip to content

Update ps1-bare-metal VS Code extension templates

7cb57ad
Select commit
Loading
Failed to load commit list.
Open

VS Code extension: fix/update templates based on ps1-bare-metal #1970

Update ps1-bare-metal VS Code extension templates
7cb57ad
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Code Health Review (main) failed Oct 11, 2025 in 34s

CodeScene PR Check

Quality Gate Failed

Gates Failed
Enforce advisory code health rules (1 file with Complex Method)

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce advisory code health rules Violations Code Health Impact
main.c 1 advisory rule 9.52 → 9.51 Suppress

Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.

Details

🚩 Declining Code Health (highest to lowest):

  • Complex Method main.c: main

Annotations

Check warning on line 197 in tools/vscode-extension/templates/bare-metal/cmake-cube/src/main.c

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (main)

❌ Getting worse: Complex Method

main already has high cyclomatic complexity, and now it increases in Lines of Code from 87 to 88. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.