Skip to content
CAI
Software that uses CAICheck a score

square/picasso

60.5

Adequate · 13 November 2026

6.8k

lines of production code

Kotlin

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Kotlin-based stats event listener for memory, network, and bitmap metrics

The Picasso stats module now provides a new \StatsEventListener\ implementation in Kotlin that tracks cache hits/misses, download sizes, and bitmap decoding/transformation statistics. Users can access a \Snapshot\ of these metrics via \getSnapshot()\ and log them using \dump()\, enabling deeper insight into image loading performance and memory usage.

picasso-stats/src · high confidence

Add PollexorRequestTransformer for Thumbor image transformations

The Picasso library now includes a new PollexorRequestTransformer that integrates with the Thumbor image processing service. This transformer intercepts image requests and converts them into Thumbor URLs, applying server-side transformations such as resizing, center-cropping, and format conversion (WebP). Users can configure the transformer with a Thumbor host, optional encryption keys, and a callback to apply custom filters, enabling seamless offloading of image processing to Thumbor.

picasso-pollexor/src · high confidence

New Picasso Compose integration for image loading

The Picasso library now includes a new \picasso-compose\ module that provides a \rememberPainter\ extension function, allowing developers to load images as Compose \Painter\ objects. This feature enables dynamic image loading in Jetpack Compose UIs, with the implementation ensuring that requests are aware of state changes and avoiding redundant network calls when the request configuration remains unchanged.

picasso-compose · high confidence

Picasso 3.0 public API surface defined

The public API for Picasso 3.0 is now explicitly defined, introducing a new package structure under com.squareup.picasso3. This includes the main Picasso class and its Builder, along with supporting interfaces and classes such as BitmapTarget, Callback, DrawableTarget, EventListener, MemoryPolicy, NetworkPolicy, and Request. The API exposes lifecycle observer capabilities, custom HTTP header support via Request headers, and coroutine-based dispatchers for internal threading control.

picasso/api · high confidence

API

Introduce Picasso Stats API for monitoring image loading

A new API contract file (picasso-stats.api) is added to the picasso-stats/api location, defining the public interface for the StatsEventListener and its nested Snapshot class. This establishes the stable API surface for accessing image loading statistics, including cache metrics, download counts, and bitmap size data, enabling users to programmatically monitor Picasso's internal performance and state.

picasso-stats/api · high confidence

Behavioural changes

Added API signature file for Picasso Pollexor

A new API signature file (picasso-pollexor.api) was added to define the public surface of the Picasso Pollexor module. This establishes the ABI contract for the PollexorRequestTransformer class and its associated Callback interface, enabling ABI validation to ensure future changes remain compatible with existing users.

picasso-pollexor/api · high confidence

New website layout and theme

The website received a new layout and visual theme. A new \app-theme.css\ file defines a red color scheme (primary color \#b94948) for headers, links, and syntax highlighting. A new \app.css\ file provides the structural styles, including a fixed header, sidebar navigation, and responsive breakpoints for mobile and tablet views. Additionally, the site now includes \bootstrap-combined.min.css\ (v2.3.1) to provide base styling for grid, forms, and components.

website/static · high confidence

Picasso core library converted to Kotlin

The Picasso core library has been converted from Java to Kotlin. This change affects the internal implementation of the image loading and caching logic, including the dispatcher, bitmap handling, and request processing. Users of the library will not see changes to the public API, but the internal codebase is now written in Kotlin.

picasso/src/main · high confidence

Picasso library is deprecated and no longer receiving public releases

The README has been updated to announce that Picasso is deprecated and users should migrate to alternatives like Coil. The project will no longer publish new public releases to Maven Central, though existing versions will continue to function. The release process has been formalized in a new RELEASING.md file, and the CHANGELOG has been updated to include version 2.71828. Additionally, the project migrated its CI from Travis to GitHub Actions, and updated the Gradle wrapper and build configuration.

(repo-wide) · high confidence

Picasso website receives a complete layout overhaul

The website's index page has been completely redesigned with a new layout, updated navigation, and refreshed content structure. The page now features a more modern header, improved sidebar navigation, and updated code examples. Links to the Javadoc and community resources have been updated to point to the new locations.

website · high confidence

Rewrite the Picasso sample app in Kotlin with a Compose UI

The sample application has been converted from Java to Kotlin and now features a new Compose-based UI for browsing images. The app initializes Picasso using AndroidX Startup, and the sample activities (GridView, List/Detail, Gallery, Contacts, and Compose) are all implemented in Kotlin, providing a modern, idiomatic example of using the library.

picasso-sample/src/main/java · high confidence

Test coverage

Add Paparazzi snapshot test for Picasso image loading; Added Robolectric configuration for Android tests; Converted core Picasso test classes to Kotlin; Ported unit tests to Android instrumentation; Updated Mockito configuration for inline mocking.

Dependencies

Migrate build system from Maven to Gradle with updated dependencies

The project has been migrated from a Maven-based build system to Gradle, utilizing a version catalog (gradle/libs.versions.toml) to manage dependencies. Key library updates include OkHttp 4.12.0, Okio 3.9.0, Kotlin 2.0.0, and AndroidX components such as Fragment 1.8.1 and Core 1.13.1. The build configuration now enforces strict null checking with Nullaway and uses Spotless for code formatting. Additionally, the project has been updated to compile against Android SDK 34 and targets a minimum SDK of 21.

(dependencies) · high confidence

Upgraded Gradle wrapper to version 8.10.2

The project's Gradle wrapper has been updated to version 8.10.2, ensuring that builds use this specific distribution. This change affects the build environment and may introduce new build behaviors or compatibility requirements associated with the Gradle 8.x series.

gradle/wrapper · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 59 → 61 (+2.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 94 → 93 (-0.7)
  • Architecture 98 → 98 (-0.1)
  • Maturity 43 → 43 (+0.0)
  • Readiness 69 → 67 (-1.7)
  • Security 77 → 77 (+0.0)

Resolved (5)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Duplicate event names with different semantic meanings across two interfaces. In both EventListener and StatsEventListener, cacheMaxSize and cacheSize are distinct events. However, the naming convention is ambiguous: cacheSize usually implies a current state update, while cacheMaxSize implies a configuration change. More critically, having two separate interfaces (EventListener and StatsEventListener) with identical method signatures for cache events suggests a split in concern that isn't clearly justified by the API surface, or a legacy duplication. If StatsEventListener is intended to be the modern/stats-focused interface, EventListener should likely be deprecated or unified.
  • Duplicated block (10 lines × 2) (picasso-sample/src/main/java/com/example/picasso/SampleComposeActivity.kt)
  • Inconsistent callback handling in into methods. into(target: BitmapTarget) and into(target: DrawableTarget) do not accept a Callback parameter, whereas into(target: ImageView, callback: Callback?) does. This is inconsistent because BitmapTarget and DrawableTarget are themselves callback interfaces (they have onBitmapLoaded, onBitmapFailed, etc.). Users cannot pass an additional Callback for success/error tracking when using these targets, unlike when using ImageView.
  • Inconsistent cancellation API. cancelRequest takes specific target types (ImageView, BitmapTarget, DrawableTarget, RemoteViews), while cancelTag takes a generic Any. This forces the user to know the specific type of the target to cancel it, or rely on tags. While overloading is common, the mix of specific object cancellation and tag-based cancellation without a unified cancel(target: Any) or cancel(request: Request) approach creates a fragmented API for cleanup.

New (122)

  • Dependency hygiene PARTLY measured — Gradle build resolved part of the dependency graph, currency reported but not scored
  • Duplicated block (19 lines × 2) (picasso-sample/src/main/java/com/example/picasso/SampleComposeActivity.kt)
  • Edited copies of one member (3 members, 14+ corresponding lines) (picasso/src/main/java/com/squareup/picasso3/ContactsPhotoRequestHandler.kt)
  • Edited copies of one member (3 members, 14+ corresponding lines) (picasso/src/main/java/com/squareup/picasso3/Picasso.kt)
  • Edited copy of a member (19 corresponding lines) (picasso/src/main/java/com/squareup/picasso3/RequestCreator.kt)
  • Edited copy of a member (25 corresponding lines) (picasso/src/main/java/com/squareup/picasso3/RequestCreator.kt)
  • Edited copy of a member (9 corresponding lines) (picasso/src/main/java/com/squareup/picasso3/BitmapTargetAction.kt)
  • Outdated (compile): app.cash.paparazzi:paparazzi
  • Outdated (compile): com.google.accompanist:accompanist-drawablepainter
  • Outdated (compile): com.google.api.grpc:proto-google-common-protos
  • Outdated (compile): com.google.auto.value:auto-value-annotations
  • Outdated (compile): com.google.code.gson:gson
  • Outdated (compile): com.google.crypto.tink:tink
  • Outdated (compile): com.google.errorprone:error_prone_annotations
  • Outdated (compile): com.google.guava:failureaccess
  • Outdated (compile): com.google.guava:guava
  • Outdated (compile): com.google.j2objc:j2objc-annotations
  • Outdated (compile): com.google.jimfs:jimfs
  • Outdated (compile): com.google.protobuf:protobuf-java
  • Outdated (compile): com.google.truth:truth
  • …and 102 more

Architecture

  • Unchanged — 0 containers · 3 contexts · 2 edges

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

square/picasso 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 a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit e94d6116e3fff99b3932103e0ab22ff5b44a1273 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.63+preprod-4a8cc97a9484.