A coding standard is a set of rules and agreements used when writing a source code in a particular programming language . Other variants of the name are: code formatting standard, coding convention, programming style, code style guide.
The code formatting standard is usually accepted and used by a group of software developers with the purpose of uniform formatting of the code they are using. This standard depends greatly on the programming language being used. For example, the code formatting standard for C++ differs greatly from that for PHP.
The coding standard defines various aspects of creating and maintaining source codes of programs. For example, among such aspects we can name the rules of variable naming, indent style, bracket arranging methods, using spaces when formatting arithmetic expressions, comment style, etc.
There are many sources devoted to recommendations on code formatting and creating coding standards. But first of all I would like to mention two books: "Code Complete"  and "Enough Rope to Shoot Yourself in the Foot" .
Thanks to flexible settings, most static code analyzers allow you to control adherence to the coding standard accepted in the company. In this case, the warnings received from the static code analyzer can be considered not only as diagnosis but as a breach of the accepted coding standard as well.
However, sometimes it is impossible to define all the necessary rules to check the coding standard using only settings provided by static code analysis tools. If you need a specialized control system, our company OOO "Program Verification Systems" is ready to develop such a system to order. We specialize in developing static C/C++ code analysis tools and possess the necessary experience. You may see more information about possible ways of collaboration in section "Service".
- Wikipedia. Programming style. https://en.wikipedia.org/wiki/Programming_style
- Steve McConnell, "Code Complete, 2nd Edition" Microsoft Press, Paperback, 2nd edition, Published June 2004, 914 pages, ISBN: 0-7356-1967-0.
- Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming (Unix/C) by Allen I. Holub. ISBN 0070296898.
- Google C++ Style Guide. https://google.github.io/styleguide/cppguide.html
- Geotechnical Software Services. C++ Programming Style Guidelines. http://geosoft.no/development/cppstyle.html
- CERT C++ Secure Coding Standard. https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=637
- David Abrahams and Nathan Myers. C++ Coding Guidelines. http://files.rsdn.ru/19450/coding_guidelines.html
- Mozilla Coding Style Guide. https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style