Difference between revisions of "HOWTO-Static Analysis Tools"

Jump to navigation Jump to search
(Added PVS-Studio)
 
(2 intermediate revisions by 2 users not shown)
Line 19: Line 19:
== PVS-Studio ==
== PVS-Studio ==


We use Open Source license from [https://pvs-studio.com/en/pvs-studio/?utm_source=github&utm_medium=organic&utm_campaign=open_source PVS-Studio) - static analyzer for C, C++, C#, and Java code. They were generous in providing us with free access.
We use Open Source license from [https://pvs-studio.com/en/pvs-studio/?utm_source=github&utm_medium=organic&utm_campaign=open_source PVS-Studio] - static analyzer for C, C++, C#, and Java code. They were generous in providing us with free access.


<font color=red>IMPORTANT:</font> Per our license requirement, you must mention PVS-Studio in your commit log messages. Please, use the following format:
<font color=red>IMPORTANT:</font> Per our license requirement, you must mention PVS-Studio in your commit log messages. Please, use the following format:


   SUBSYSTEM: Description. PVS-Studio VXXXX
   SUBSYSTEM: Description. PVS-Studio VXXXX, VXXXX, ...


Where VXXXX is the diagnostics number of PVS-Studio.
Where VXXXX is the diagnostics number of PVS-Studio. Add more numbers with comma if bulk-fixing them.


The tool is run daily on the buildbot machine, every night at around 2am. The reports are available at [https://analysis.scummvm.org/ https://analysis.scummvm.org/].
The tool is run daily on the buildbot machine, every night at around 2am. The reports are available at [https://analysis.scummvm.org/ https://analysis.scummvm.org/].
Line 38: Line 38:
* scummvm.xml These are consumed by PVS-Studio internal tools
* scummvm.xml These are consumed by PVS-Studio internal tools


 
In general, read [https://pvs-studio.com/en/docs/ their manuals], they are comprehensive and nicely written.


== Codacy ==
== Codacy ==

Navigation menu