Blame synfig-studio/analyze_cppcheck.sh

4db159
#!/bin/sh
4db159
4db159
# The possible severities for messages are:
4db159
# error             used when bugs are found
4db159
# warning           suggestions about defensive programming to prevent bugs
4db159
# style             stylistic issues related to code cleanup (unused functions, redundant code, constness, and such)
4db159
# performance       Suggestions for making the code faster. These suggestions are only based on common knowledge.  It  is  not  certain  you'll  get  any  measurable  difference  in  speed  by  fixing these messages.
4db159
# portability       portability warnings. 64-bit portability. code might work different on different compilers. etc.
4db159
# information       Configuration problems. The recommendation is to only enable these during configuration
4db159
4db159
#cppcheck ./ --enable=warning 2> cpp_check_errors.txt
4db159
cppcheck ./ --enable=performance 2> cpp_check_performance.txt