Skip to content
CAI
Software that uses CAICheck a score

ThoughtWorksInc/Binding.scala

54.9

Adequate · 14 November 2026

2.3k

lines of production code

Scala

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

193 commits (3 fixes) modifying project

A change to existing behaviour in project — 193 commits (3 fixs), 4 files: “Update sbt to 1.8.2 in template (\#27)”; “Update sbt-scalajs, scalajs-compiler to 0.6.31”; “Revert "Use stable version of sbt-release"”; and 151 more (refs \#27, \#506, \#382, \#458, \#381, …).

project · medium confidence · unverified

243 commits (4 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 243 commits (4 fixs), 9 files: “Update badge label”; “Ignore secret directory”; “Update README.md”; and 111 more (refs \#29, \#36, \#447, \#448, \#22, …).

(repo-wide) · low confidence · unverified

Deprecation of BindingInstances for Scala 3 users

The \BindingInstances\ object, which provided Scalaz-style Monad typeclass instances for \Binding\, is now deprecated in version 12.2.0. While the underlying implementation remains available for backward compatibility with existing code, the library no longer provides these instances out-of-the-box for Scala 3. Users relying on these implicit instances will see a deprecation warning and should migrate to standard Scala 3 idioms or alternative libraries.

Binding/shared/src/main/scala-3 · high confidence

Refactor Scala 2 macros and remove Scala.js-specific JVM/JS cache implementations

The Scala 2-specific macro implementations for \BindingSeq\ operations (foreach, map, flatMap, withFilter) and the \bind\ method have been moved into a new \Binding2Or3\ source file, separating them from the main \Binding\ object. Additionally, the platform-specific \Jvm\ and \Js\ objects within \Binding.scala\, which previously handled distinct caching logic for Scala.js (using \scalajs.js.Array\) versus the JVM (using \Vector\), have been removed. This change eliminates the runtime dependency on Scala.js-specific types for cache management, simplifying the core binding logic and preparing the codebase for better cross-compilation support. Also in this area: Documentation typo fix in Stable trait; Code style reformatting in Binding.scala; Introduce Stable binding trait and fix MultiMountPoint type parameter; Deprecation of BindingInstances for Scala 3 users; Refactors WithFilter implementation and adds Scala 3 support.

Binding/shared/src/main/scala, Binding/shared/src/main/scala-2 · high confidence

Replace enableif-based platform detection with dedicated platform-specific source files

The library has removed its dependency on the \enableif\ compiler plugin for detecting Scala.js versus JVM environments. Instead of using conditional compilation annotations in shared code, the codebase now uses dedicated \BindingJvmOrJs.scala\ and \SafeBufferJvmOrJs.scala\ files in \js\ and \jvm\ source directories to provide platform-specific implementations for cache data structures and buffer operations. This change simplifies the build configuration by eliminating the need for the external \enableif\ plugin while maintaining the same cross-platform behavior for internal caching and buffer management.

(repo-wide) · high confidence

SafeBuffer now supports adding elements during iteration

The SafeBuffer implementation has been updated to allow elements to be added to the buffer while it is being iterated over. Previously, modifying the buffer during a foreach loop could cause exceptions; the new internal logic iterates by index to safely handle elements added during the traversal, ensuring stability for dynamic data structures. Also in this area: Replace enableif-based platform detection with dedicated platform-specific source files.

SafeBuffer/shared · high confidence

Test coverage

Update Binding.scala tests for Scala 3 compatibility

The test suite in Binding/shared/src/test has been updated to support Scala 3. This includes removing the scalaz dependency and its associated syntax imports (such as \BindingInstances.apply2\), replacing them with native Binding.scala constructs like \Binding { ... }\ and direct \.map\ calls. Additionally, syntax errors were fixed by adding explicit type parameters to generic classes (e.g., \SingleMountPoint\[Int\]\) and adjusting lambda parameter syntax to comply with Scala 3 standards. Also in this area: Refactors WithFilter implementation and adds Scala 3 support.

Binding/shared/src/test · high confidence

Dependencies

76 commits updating dependencies (7 manifests)

A dependency / build maintenance change in (dependencies) — 76 commits (3 fixs), 7 files: “Rename directory route to upper case”; “Add missing comma”; “Inject coreJs into Play resources”; and 71 more (refs \#470, \#501, \#467, \#482, \#360, …).

(dependencies) · medium confidence · unverified

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 53 → 55 (+2.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 75 → 69 (-5.4)
  • Architecture 100 → 100 (+0.0)
  • Maturity 44 → 56 (+11.9)
  • Readiness 50 → 46 (-3.9)
  • Security 62 → 62 (+0.0)

Resolved (7)

  • Further orphaned files (smaller)
  • Orphaned file (Binding/js/src/main/scala/com/thoughtworks/binding/BindingJvmOrJs.scala)
  • Orphaned file (Binding/jvm/src/main/scala/com/thoughtworks/binding/BindingJvmOrJs.scala)
  • Orphaned file (Binding/shared/src/main/scala-2/com/thoughtworks/binding/Binding2Or3.scala)
  • Orphaned file (Binding/shared/src/main/scala-3/com/thoughtworks/binding/Binding2Or3.scala)
  • Orphaned file (SafeBuffer/shared/src/main/scala/com/thoughtworks/binding/SafeBuffer.scala)
  • Orphaned knowledge (Binding/shared/src/main/scala/com/thoughtworks/binding/Binding.scala)

New (1)

  • Edited copy of a member (8 corresponding lines) (Binding/shared/src/main/scala-2/com/thoughtworks/binding/Binding2Or3.scala)

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • (repo) — 1 commit

Notable commits

  • change: Merge pull request #592 from scala-steward/update/scalatest-3.2.20

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

Survey your own repository

ThoughtWorksInc/Binding.scala 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 14 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 a079b0ad8c1924ac16bc4beb4326c1751cca311a — the exact code this score is about.
  • Scored under rubric-2026.11.4 — 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.65+preprod-36d4cd83012f.