pio-check
performs static code analysis on PlatformIO projects
TLDR
Run static analysis
$ pio check
Check specific environment$ pio check -e [native]
Check with specific tool$ pio check --tool [cppcheck]
Check with severity filter$ pio check --severity [high]
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.
