System & Utilities

OCLint

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

By oclint. Free and open source for macOS, Linux. Latest version v24.11, released 2024-11-29.

Is OCLint safe?

Trust score 46/100: Use caution. Some warning signs. Read the notes, check the reviews, and verify the file before you run it.

Things to watch:

3,900 GitHub stars · 653k downloads · OpenSSF Scorecard 3.4/10.

Download OCLint

brew install --cask oclint

Downloads come straight from github.com/oclint/oclint.

About OCLint

OCLint is a static code analysis tool for improving quality and reducing defects by inspecting C, C++ and Objective-C code.

It looks for potential problems that aren't visible to compilers, for example: • Possible bugs - empty if/else/try/catch/finally statements • Unused code - unused local variables and parameters • Complicated code - high cyclomatic complexity, NPath complexity and high NCSS • Redundant code - redundant if statement and useless parentheses • Code smells - long method and long parameter list • Bad practices - inverted logic and parameter reassignment

Similar apps

Questions

Is OCLint safe to download?

OCLint has an OpenShelf trust score of 46/100 (Use caution). Some warning signs. Read the notes, check the reviews, and verify the file before you run it. Main thing to watch: The latest release is more than 18 months old.

Is OCLint free?

Yes. OCLint is free and open source under the BSD-3-Clause license. The source code is public at github.com/oclint/oclint.

Does OCLint work on macOS and Linux?

OCLint is available for macOS, Linux. Ready-made downloads exist for macOS, Linux.

How do I install OCLint?

Download the official file from the project's GitHub releases (for example oclint-24.11-llvm-16.0.4-x86_64-linux-ubuntu-24.04.tar.gz) and run it. Or install it with: brew install --cask oclint.

What are alternatives to OCLint?

Similar open-source apps: scrcpy (v5.0.1) (trust 81/100), Tauri (trust 75/100), Neovim (trust 71/100), Ghidra (trust 66/100).