ClickHouse/dbms/tests/instructions/pvs-studio.txt
2018-06-04 22:35:02 +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.