Tweak cppcheck settings and make arguments extendable