Skip to content
A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C
Branch: master
Clone or download
ryuichis Merge pull request #497 from ob/master
Don't overinitialize the CompilerInstance
Latest commit 2e5e9ad Jul 12, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Added template for creating new issues Nov 23, 2016
oclint-driver Merge branch 'master' into master Jul 10, 2018
oclint-metrics Try to fix the linking issue for google test Jan 27, 2018
oclint-reporters Try to fix the linking issue for google test Jan 27, 2018
oclint-rules Try to make googletest back working on Linux Jan 27, 2018
oclint-scripts Fix build and test ignoring -j flag for ninja Jun 29, 2018
.gitignore Script for cloning and building countly-cpp Sep 11, 2016
.travis.yml Allow gcc5 to be installed Jun 16, 2018 Add Coveralls badge to Readme Jan 31, 2016

OCLint -

Travis CI Status Coverage Status

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

You can’t perform that action at this time.