OCLint is a static source code analysis utility designed to improve software reliability and maintainability across C, C++, and Objective-C projects. It examines source code for potential defects that conventional compiler diagnostics may overlook. Its analysis rules identify unused variables, unnecessary statements, empty conditional blocks, and problematic exception handling. Integrated complexity metrics evaluate cyclomatic complexity, NPath complexity, and non-commenting source statements. The utility also identifies excessively long methods, extensive parameter lists, and problematic programming practices. Customizable analysis rules enable developers to adapt inspections to project requirements. Its command-line architecture facilitates integration into automated code quality checks and continuous integration workflows.

Features

  • Static source code analysis supporting C, C++, and Objective-C programming languages
  • Automated identification of potential defects overlooked by conventional compiler diagnostics
  • Unused code detection covering unnecessary local variables, parameters, and redundant statements
  • Comprehensive complexity measurements including cyclomatic complexity, NPath complexity, and source statement counts
  • Maintainability assessments identifying excessively long methods, parameter lists, and problematic coding practices
  • Customizable analysis rules with command-line reporting and automated development workflow integration

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow OCLint

OCLint Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OCLint!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

C++

Related Categories

C++ Source Code Analysis Tool, C++ Static Code Analysis Tool

Registered

19 hours ago