ClickHouse/tests/instructions/pvs-studio.txt
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

16 lines
507 B
Plaintext

https://www.viva64.com/ru/m/0036/
# Analyze project with 4 threads. It takes about six minutes.
pvs-studio-analyzer analyze -o pvs-studio.log -e contrib -j 4
# Generate a report with "general" diagnostics of severity 1 and 2, in "tasks" format (simple text file):
plog-converter -a GA:1,2 -t tasklist -o project.tasks pvs-studio.log
# Generate an HTML report:
plog-converter -a GA:1,2 -t fullhtml -o ./pvs-studio-html-report pvs-studio.log
# Open ./pvs-studio-html-report/index.html in your browser.