https://github.com/oclint/oclint
A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C
https://github.com/oclint/oclint
Last synced: 27 days ago
JSON representation
A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C
- Host: GitHub
- URL: https://github.com/oclint/oclint
- Owner: oclint
- License: bsd-3-clause
- Created: 2012-12-14T03:48:18.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-11-29T02:30:22.000Z (over 1 year ago)
- Last Synced: 2025-12-20T08:12:11.019Z (3 months ago)
- Language: C++
- Homepage: http://oclint.org
- Size: 1.75 MB
- Stars: 3,861
- Watchers: 124
- Forks: 489
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - OCLint - Static code analysis tool for improving quality and reducing defects. (Code Quality / Linter)
- awesome-ios-star - OCLint - Static code analysis tool for improving quality and reducing defects. (Code Quality / Linter)
- awesome-linters - oclint - Static analysis for C, C++ and (Linters / C/C++)
- fucking-awesome-ios - OCLint - Static code analysis tool for improving quality and reducing defects. (Code Quality / Linter)
README
# OCLint - https://oclint.org
[](https://github.com/oclint/oclint/actions)
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
* ...
For more information, visit https://oclint.org