I came across this interesting product recently: viva64.com/en/a/0084/
It claims to be able to warn about potential coding errors that aren’t technically actual errors. Things like copy & pasted code where an trivial modification was missed, duplicated conditions in big if-statements, etc. Unfortunately it’s only available for Visual Studio non-express, so I don’t have the skills or resources to try it out on ROOT.
I am wondering if any ROOT developers regularly use Microsoft’s compiler and would be interested in trying it out. They apparently give out a free license to open-source projects because they use the output as marketing: “hey look we found a bug in glibc!” is pretty convincing!
Jean-François