# OCLint Reviews
**Vendor:** OCLint  
**Category:** [Strumenti di Analisi del Codice Statico](https://www.g2.com/it/categories/static-code-analysis)  
**Average Rating:** 4.0/5.0  
**Total Reviews:** 1
## About OCLint
OCLint è uno strumento di analisi del codice statico per migliorare la qualità e ridurre i difetti ispezionando il codice C, C++ e Objective-C.




## OCLint Reviews
  ### 1. Good extension for Clang Analyzer, finds more problems, more bothersome to configure

**Rating:** 4.0/5.0 stars

**Reviewed by:** Aleksander B. | iOS Team Technical Lead, Internet, Mid-Market (51-1000 dip.)

**Reviewed Date:** March 01, 2016

**Cosa Le piace di più di OCLint?**

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.

**Cosa non Le piace di OCLint?**

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.

**Raccomandazioni per chi sta considerando OCLint:**

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.

**Quali problemi sta risolvendo OCLint e in che modo La sta aiutando?**

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.


## OCLint Discussions
  - [A cosa serve OCLint?](https://www.g2.com/it/discussions/oclint-what-is-oclint-used-for)
  - [A cosa serve OCLint?](https://www.g2.com/it/discussions/what-is-oclint-used-for)

- [View OCLint pricing details and edition comparison](https://www.g2.com/it/products/oclint/reviews?section=pricing&secure%5Bexpires_at%5D=2026-05-30+11%3A37%3A21+-0500&secure%5Bsession_id%5D=462e6073-467a-440d-9703-ec937ecc5500&secure%5Btoken%5D=ca4882975a0e2479710fef783eb19f71c1a3db574e543a503dde431aaf7be2f2&format=llm_user)

## OCLint Features
**Agentic AI - Analisi del Codice Statico**
- Apprendimento Adattivo
- Interazione in Linguaggio Naturale
- Assistenza Proattiva

## Top OCLint Alternatives
  - [Gearset DevOps](https://www.g2.com/it/products/gearset-devops/reviews) - 4.7/5.0 (290 reviews)
  - [OpsPilot](https://www.g2.com/it/products/opspilot/reviews) - 4.8/5.0 (174 reviews)
  - [SonarQube](https://www.g2.com/it/products/sonarqube/reviews) - 4.4/5.0 (140 reviews)

