LinuxCommandLibrary

pio-check

performs static code analysis on PlatformIO projects

TLDR

Run static analysis

$ pio check
copy
Check specific environment
$ pio check -e [native]
copy
Check with specific tool
$ pio check --tool [cppcheck]
copy
Check with severity filter
$ pio check --severity [high]
copy

SYNOPSIS

pio check [options]

DESCRIPTION

pio check performs static code analysis on PlatformIO projects. Detects bugs, security issues, and code style problems. Supports multiple analysis tools including Cppcheck and Clang-Tidy.

PARAMETERS

-e, --environment name

Check specific environment.
--tool name
Analysis tool (cppcheck, clangtidy, pvs-studio).
--severity level
Minimum severity (low, medium, high).
--pattern pattern
Source file patterns.
--skip-packages
Skip package source files.
-v, --verbose
Verbose output.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community