square/okhttp
This system is a modern, modular HTTP client library for Java and Android that provides a comprehensive suite of networking capabilities. It supports advanced features such as HTTP/2, Server-Sent Events, and DNS over HTTPS, while offering robust testing utilities and a mock server for development. The architecture is split into platform-specific and common modules, with full support for Java 9+ modules, GraalVM native images, and Kotlin coroutines.
46.0
Weak · 5 August 2026
54k
lines of production code
Kotlin
with Java
3
bus factor · 353 authors in all
4
measurements over time
How it got here
2012–2020 · Kotlin migration and testing expansion
This period was defined by the comprehensive migration of the OkHttp codebase to Kotlin, including the implementation of new features like Brotli support, Server-Sent Events, and DNS over HTTPS. The team significantly expanded test coverage by modernizing the test suite to JUnit 5 and Kotlin, while also introducing extensive sample applications and documentation to guide developers.
45 changes
2021–2023 · API stabilization and test expansion
This period focused on formalizing public APIs across multiple OkHttp modules, including SSE, TLS, and DNS over HTTPS, while introducing new features like GraalVM native image support and Brotli compression. Significant effort was also directed toward expanding test coverage, particularly for Android, HTTP/2, and logging components, alongside migrating test suites to Kotlin.
29 changes
2024–2026 · Multi-platform architecture and test modernization
This period focused on restructuring OkHttp's codebase to support distinct Android and JVM targets, introducing Kotlin coroutine integration, and modernizing the test suite with JUnit 5 and containerized integration tests. The work also included adding Java 9+ module support and refactoring the Gradle build system for improved reliability and cacheability.
23 changes
Survey your own repository
square/okhttp was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 5 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 127cfe2516 — the exact code this score is about.
- Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.