Home >Backend Development >C++ >How Can I Verify C/C Code Against Coding Standards?
Identifying a tool that can check C/C source code against a defined set of coding standards can be challenging. Unlike Java, which offers tools like Checkstyle and JCSC, finding a comprehensive solution for C/C compliance can be more difficult.
This question from a Stack Overflow user highlights the need for a tool that focuses specifically on enforcing coding standards, excluding general-purpose static code analyzers. The user requires a solution that checks for adherence to guidelines such as variable naming conventions, capitalization, spacing, indentation, and bracket placement.
One potential tool that might meet these requirements is Vera. Vera is a tool designed to verify C/C code against a set of coding standards. While the user indicated they had not personally used the tool, the demo at the official website suggests it may offer the desired functionality.
The above is the detailed content of How Can I Verify C/C Code Against Coding Standards?. For more information, please follow other related articles on the PHP Chinese website!