I am using cppcheck for static analysis. To accelerate review process I want to set up cppcheck to look for some custom rules, for example to check if geter functions defined as a const.
If anyone has experience in writing custom rules for cppcheck please can you provide some example to write custom rules?.
P.S I have done some research to find a tool which will allow me to write custom rules and make review process faster. I have find these links about this topic
What open source C++ static analysis tools are available?
C++ static code analysis tool on Windows
A free tool to check C/C++ source code against a set of coding standards?