Skip to content
SPECIFICTION
Get listed

cpplint vs ShellCheck

cpplint

github.com

ShellCheck

shellcheck.net

Side by side

FigurecpplintShellCheck
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
Plans published11
Spec score · Linters7.9 (#12)7.6 (#24)
LicenseThe package is distributed under the BSD-3-Clause license.ShellCheck is available under the GPLv3 license.
PurposeCpplint is a command-line tool that checks C/C++ files for style issues according to Google’s C++ style guide.ShellCheck is a static analysis tool that gives warnings and suggestions for Bash and sh scripts.

Plans

cpplint

  • cpplintFree

cpplint pricing →

ShellCheck

  • ShellCheckFree

ShellCheck pricing →

In their own words

cpplint

cpplint has no write-up on Specifiction yet; its figures are above.

Visit github.com

ShellCheck

ShellCheck is a free static analysis tool for Bash and sh scripts. It flags syntax problems, semantic issues, and subtle pitfalls that could make scripts fail in future circumstances, then offers warnings and suggestions. You can paste a script into ShellCheck.net or run it from a terminal with `shellcheck yourscript`.

The project lists integrations for Vim, Emacs, Sublime, Pulsar Edit, and VS Code, along with GCC-compatible warnings for other editors. It can also be added to builds or test suites, with support listed for services including Travis CI, Codacy, Code Climate, CodeFactor, CircleCI, GitHub Actions, and Trunk. Output options include JSON, CheckStyle-compatible XML, GCC-compatible warnings, and readable text with or without ANSI colors. Installation routes include package managers, precompiled binaries, Docker, and source compilation. ShellCheck is licensed under GPLv3; its wiki documents the tool, and bugs can be reported through GitHub issues. There are no official Apple Silicon binaries, and compiling from source requires 2 GB of RAM.

Visit shellcheck.net