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.
- Established community: 3,900 GitHub stars
- Code changes are reviewed before merging
- Downloads come straight from the project's own GitHub releases
- Around since 2012
- Listed in Homebrew, which reviews submissions
Things to watch:
- The latest release is more than 18 months old
- Weak automated security checks (OpenSSF Scorecard 3.4/10)
- macOS Gatekeeper rejects this app (not notarized by Apple); you'll need to approve it manually
- No checksums or signatures published: you can't verify the download
3,900 GitHub stars · 653k downloads · OpenSSF Scorecard 3.4/10.
Download OCLint
- oclint-24.11-llvm-16.0.4-x86_64-linux-ubuntu-24.04.tar.gz (Linux, 42.5 MB)
- oclint-24.11-llvm-16.0.5-arm64-darwin-macos-15.1.1-xcode-16.1.tar.gz (macOS, 67.5 MB)
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
- scrcpy (v5.0.1): Display and control your Android device (High trust, 81/100)
- Tauri: Build smaller, faster, and more secure desktop and mobile applications with a web frontend. (High trust, 75/100)
- Neovim: Vim-fork focused on extensibility and usability (Good, 71/100)
- Ghidra: Ghidra is a software reverse engineering (SRE) framework (Good, 66/100)
- Zed: Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. (Good, 73/100)
- Bitcoin: Bitcoin Core integration/staging tree (Good, 66/100)
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).