OCLint

4.0
(1)

OCLint is a static code analysis tool for improving quality and reducing defects by inspecting C, C++ and Objective-C code.

Work for OCLint?

Learning about OCLint?

We can help you find the solution that fits you best.

OCLint Reviews

Chat with a G2 Advisor
Write a Review
Filter Reviews
Filter Reviews
Ratings
Company Size
User Role
Industry
Showing 1 OCLint review
LinkedIn Connections
OCLint review by Aleksander B.
Aleksander B.
Validated Reviewer
Verified Current User
Review Source
content

"Good extension for Clang Analyzer, finds more problems, more bothersome to configure"

What do you like best?

There are rules that are finding actual bugs or helping the code be better.

E.g. collapsing if statements, path/cyclometric complexity computation, tautological compares, constant if conditions . Really helpful to keep your codebase clean and working properly.

There are also lint based rules, e.g. number of lines without a comment, number of lines/arguments in a method, number of lines/methods in a class.

Enforces splitting methods into smaller and good code style and quality.

Can be integrated into sonar.

What do you dislike?

The configuration and installation process is problematic.

The homebrew package isn't working (or you have to do additional configuration to make it work).

The command line arguments are hard to use, you have to first create a json file with the compilation database and then run oclint again instead of just having a xcodebuild wrapper.

Matching oclint version with sonar-oclint plugin version is a bother.

Oclint development isn't as fast, so sometimes they don't support newer language constructs.

Recommendations to others considering the product

Really helpful tool, it can work with Sonar to have your pull requests automatically go through oclint and fix all the remaining problems.

Finds more problems than Xcode warnings and Xcode static analyzer. Also has features about code style, e.g. method count, line count.

One of 3 static analyzer I know for Objective-C XCode, oclint, infer.

What business problems are you solving with the product? What benefits have you realized?

Business problem of having a good quality and maintainable codebase. It provides us with automated suggestions to keep the codebase better and more bug-free.

Sign in to G2 to see what your connections have to say about OCLint

What Static Code Analysis solution do you use?

Thanks for letting us know!

There are not enough reviews of OCLint for G2 to provide buying insight. Below are some alternatives with more reviews:

1
ReSharper Logo
ReSharper
4.7
(45)
ReSharper is a productivity tool for visual studio that provides tools and features to help you manage your code.
2
SonarQube Logo
SonarQube
4.4
(18)
SonarSource products have innovative features to maximize quality and manage risk for both small and large software portfolios.
3
Pylint Logo
Pylint
4.2
(18)
Pylint is a tool that checks for errors in Python code, tries to enforce a coding standard and looks for bad code smells.
4
ReSharper C++ Logo
ReSharper C++
4.5
(16)
ReSharper C++ is designed to make Visual Studio a better IDE for C++ developers, providing code analysis, quick-fixes, search and navigation, smart code completion, refactorings, and others.
5
Black Duck Software Composition Analysis Logo
Black Duck Software Composition Analysis
3.9
(14)
Black Duck by Synopsys provides a comprehensive software composition analysis (SCA) solution for managing security, quality, and license compliance risk that comes from the use of open source and third-party code in applications and containers. Black Duck gives you unmatched visibility into third-party code, enabling you to control it across your software supply chain and throughout the application life cycle.
6
Babel Logo
Babel
4.3
(14)
Babel is a JavaScript compiler. It helps shape the future of the JavaScript language itself.
7
Roslyn Logo
Roslyn
4.4
(12)
The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.
8
StyleCop Logo
StyleCop
3.8
(11)
StyleCop analyzes C# source code to enforce a set of style and consistency rules.
9
Java Obfuscator & Android Obfuscator Logo
Java Obfuscator & Android Obfuscator
4.5
(11)
DashO is a Java and Android Obfuscator plus much more. It provides enterprise-grade app hardening and shielding, greatly reducing the risk of intellectual property theft, data theft, piracy, and tampering. Our layered obfuscation, encryption, watermarking, auto-expiry, anti-debug, anti-tampering, anti-rooted device solution provides protection for applications all around the world.
10
Closure Compiler Logo
Closure Compiler
4.0
(11)
The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript.
Show more
Kate from G2

Learning about OCLint?

I can help.
* We monitor all OCLint reviews to prevent fraudulent reviews and keep review quality high. We do not post reviews by company employees or direct competitors. Validated reviews require the user to submit a screenshot of the product containing their user ID, in order to verify a user is an actual user of the product.