Open
Description
Issue №1350 opened by illume at 2019-09-28 21:53:12
PVS studio is a static analyzer of C/C++ code.
It's possible to request a free license to PVS studio for use on FLOSS projects like pygame (https://www.viva64.com/en/b/0600/) at the time of writing. It takes time for them to respond to your request.
You can use bear (the build ear) tool to record a compilation database (compile_commands.json).
To download PVS studio (https://www.viva64.com/en/pvs-studio-download/)
Instructions for mac/linux are here: https://www.viva64.com/en/m/0036/
# brew install bear
bear python3 setup.py build
pvs-studio-analyzer analyze -o project.log
# plog-converter -a GA:1,2 -t tasklist -o project.tasks project.log
plog-converter -a GA:1,2 -t fullhtml project.log -o /path/report_dir
Comments
# # illume commented at 2019-09-28 22:55:23
I've attached the fullhtml report from PVS-Studio as a zip file.