Results are at
https://lxnt.wtf/sca/oxc- means SupSuper's repo
oxem- means Meridian's repo
clang is clang-llvm scan-build tool
callcatcher reports methods that aren't called
cppcheck is older and cargo-culty, and doesn't add much substantial info.
Some of the result are false positives, the tools have their limitations.
Basically I want to assign 9th mouse button to drag-scroll and can't, since SDL1.2' s SDL_GetMouseState() is limited to 8, so it's either move to SDL2 or reimplement SDL_GetMouseState() to support more that 8.
I went with the latter, but still was very frustrated refactoring code only to discover that it was sitting unused for like 3 years already, and that was very time consuming.
To cut down on work, dead code should be eliminated. Callcatcher helps with this. Clang shows mostly non-obvious call graph paths that might result in a crash, this might help in pinning down if someone reports one.