What I want to do is to have a tool run by my CI server to scan the code and detect any coding standard violations present based on a defined guideline. I will use the output to prompt build "fails" until the issue is fixed.
The problem I have is that my engineers are spending most of their time in code reviews looking for coding standards violations and not looking for bugs (70-76% of defects found are standards related). My theory is if they don't need to look for violations of standards they will branch out as to what they are looking for.
Does anything like this exist?