cpplint VS uncrustify

Compare cpplint vs uncrustify and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
cpplint uncrustify
2 5
1,457 2,797
2.0% 0.6%
8.6 9.2
12 days ago 6 days ago
Python C++
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cpplint

Posts with mentions or reviews of cpplint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-04.
  • Configuring Cppcheck, Cpplint, and JSON Lint
    3 projects | dev.to | 4 Mar 2024
    I was configuring them as I was reading. I have done this before, but we had some months of use since then, and I have seen it working in real-time. I got a lot out of this second read and configuration round. I discovered that I over-configured Cppcheck; there is much more to get out of Cpplint, and I reviewed the JSON Schema versions.
  • C/C++ pre-commit hooks for static analyzers and linters
    9 projects | /r/cpp | 13 Sep 2021
    and five C/C++ static code analyzers: * clang-tidy * oclint * cppcheck * cpplint (recently added!) * include-what-you-use (recently added!)

uncrustify

Posts with mentions or reviews of uncrustify. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-13.

What are some alternatives?

When comparing cpplint and uncrustify you can also consider the following projects:

Cppcheck - static analysis of C/C++ code

latexindent.pl - Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customisable through its YAML interface.

cmake-lint - Fork of https://github.com/richq/cmake-lint to continue maintenance

include-what-you-use - A tool for use with clang to analyze #includes in C and C++ source files

OCLint - A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C

pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.

vformat-time

cpp-linter-action - A Github Action for linting C/C++ code integrating clang-tidy and clang-format to collect feedback provided in the form of file-annotations, thread-comments, workflow step-summary, and Pull Request reviews.