Skip to content
forked from oclint/oclint

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

License

Notifications You must be signed in to change notification settings

Lianghuajian/oclint

 
 

Repository files navigation

GitHub Actions 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 https://oclint.org

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.2%
  • Python 5.0%
  • CMake 2.6%
  • Other 0.2%