While checking Java code for adherence to coding standards is relatively straightforward with tools like Checkstyle and JCSC, finding similar tools for C/C can be more challenging. This article explores the options available for verifying C/C source code against coding standards.
In contrast to lint-like static code analyzers that focus on identifying potential coding issues, the search here is specifically for tools that validate coding standards related to variable naming, capitalization, spacing, indentation, and bracket placement.
Despite the absence of numerous dedicated tools for C/C code standard verification, one known option is Vera. Despite the lack of personal experience with Vera, the tool's demo appears promising and may be worth investigating further.
The above is the detailed content of What are the Best Tools for Verifying C/C Coding Standards?. For more information, please follow other related articles on the PHP Chinese website!