All apps/Qodana

Qodana

qodana

JetBrains code quality platform CLI for static analysis.

Runs as qodana|macOS, Linux, Windows|www.jetbrains.com

Command form

ai-draft · 2 tasks · 10 fields

Run Qodana static analysis on a project. Only the scan job is covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui qodana

qodana scan

Scan a project

Run Qodana inspections on a project directory. Cloud tokens, profiles and container tuning are mostly left out.

Scan a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Project directory
directory
Linter
string
Print problems
--print-problems
Advanced
Fail threshold
string
Skip pulling container
--skip-pull
TasksEach one presets the form for one job
Scan and print problems
project_dirlinterprint_problemsskip_pullfail_threshold
Scan and serve report
project_dirlintershow_reportport
ParametersOnly these flags are editable in the form
Project directory
path
-i--project-dir
Linter
string
-l--linter
Results directory
path
-o--results-dir
Serve HTML report
boolean
-w--show-report
Print problems
boolean
--print-problems
Fail threshold
string
--fail-threshold
Baseline SARIF
path
-b--baseline
Skip pulling container
boolean
--skip-pull
Clear cache first
boolean
--clear-cache
Report port
integer
--port
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed qodana against its version. A form that does not match your version is not offered.