I'm not sure exactly what you are looking for, but if I may posit one possibility it is this. Many IDEs like visual studio, or CI tools like jenkins have plugins that can do some white box scanning for things like memory leaks, misformatted code and such. For example, for the .Net stack there is FxCop or StyleCop (which everyone is the more current one these days). There are also many security tools like PMD for Java, Valgrind for C, or tools like VeraCode or HP Fortify that can perform static analysis for security issues. That's allowing automation to scan some of these defects.
I'm not sure if that helps, but it might give you a place to start digging.