A static analyzer for Java, C, C++, and Objective-C
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/facebook/infer?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/facebook/infer?utm_source=readme_badge) [](https://githubrepo.cloud/repo/facebook/infer?utm_source=readme_badge) [](https://githubrepo.cloud/repo/facebook/infer?utm_source=readme_badge)
Momentum
+393
STARS · LAST 30 DAYS
13
PER DAY
#1
MOST-STARRED OCaml
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +91 | +393 | +1.2K |
| Per day | 13 | 13 | 13 |
| Forks gained | +10 | +42 | +105 |
infer gained 393 stars in the last 30 days, about 13 a day, and now has 15.7K. It is about 12 years old and has averaged roughly 1.3K stars a year. It ranks #1 among OCaml repositories and #623 across all languages on GitHubRepo.
Trending Record
1
DAYS ON TRENDING
#1997
BEST RANK
Sep 30, 2026
FIRST APPEARANCE
Active
STATUS TODAY
infer has maintained a continuous presence across global trending indexes, peaking at #1997. Below is the 30-day activity profile:
💡 Overview
infer is an open-source project written in OCaml: A static analyzer for Java, C, C++, and Objective-C.
Engineered for speed, consistency, and developer ease, it solves common hurdles in c, code-quality, cpp. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in OCaml for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/facebook/infer.git
cd infer
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
OCaml environment and standard tooling
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
infer coordinates its core functionality through a modular OCaml pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed infer into OCaml backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open MIT license.
🚀 Getting Started
Install infer using your package manager: `git clone https://github.com/facebook/infer.git`
Initialize your project workspace or configuration file for infer.
Import infer into your codebase or invoke it directly from your terminal.
Execute your test suite or run `infer --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with OCaml, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
facebook/infer is currently ranked #623 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #618 | remarkjs/react-markdown | JavaScript | ★ 15.9K | Compare ↗ |
| #619 | zaproxy/zaproxy | Java | ★ 15.8K | Compare ↗ |
| #620 | jasmine/jasmine | JavaScript | ★ 15.8K | Compare ↗ |
| #621 | OrcaSlicer/OrcaSlicer | C++ | ★ 15.8K | Compare ↗ |
| #622 | spree/spree | Ruby | ★ 15.7K | Compare ↗ |
| #623 | facebook/infer This Project | OCaml | ★ 15.7K | |
| #624 | ifixai-ai/iFixAi | Python | ★ 15.7K | Compare ↗ |
| #625 | getgrav/grav | PHP | ★ 15.7K | Compare ↗ |
| #626 | PCSX2/pcsx2 | C++ | ★ 15.6K | Compare ↗ |
| #627 | Homebrew/homebrew-core | Ruby | ★ 15.6K | Compare ↗ |
| #628 | opensandbox-group/OpenSandbox | Python | ★ 15.5K | Compare ↗ |
Frequently Asked Questions
What does infer do? +
A static analyzer for Java, C, C++, and Objective-C
What language is infer written in? +
The primary language is OCaml. Topics include: c, code-quality, cpp, java, objective-c.
Is infer actively maintained? +
Yes, the last recorded push was on Sep 30, 2026 with 208 open issues being tracked.
How many stars does infer have? +
infer has 15,712 stars and 2,098 forks on GitHub.
How does infer rank among GitHub repositories? +
With 15,712 stars, facebook/infer is ranked #623 globally across all repositories tracked on GitHubRepo and #1 among OCaml projects.
What license is infer distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.