build/pvs-studio.sh
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -euf |
| 4 | |
| 5 | pvs-studio-analyzer analyze -a "GA;OP;CS" -s .pvs-suppress -j8 -o PVS-Studio.log |
| 6 | plog-converter -a 'GA:1,2,3;64:1,2,3;OP:1,2,3' -d V1032,V1042,V597,V809,V802 -t errorfile PVS-Studio.log |
| 7 | plog-converter -a 'GA:1,2,3;64:1,2,3;OP:1,2,3' -d V1032,V1042,V597,V809,V802 -t csv -o pvs-report.csv PVS-Studio.log |
| 8 | |
| 9 | ./build/count-pvs-bugs.py pvs-report.csv 98 |