Skip to content
CAI
Software that uses CAICheck a score

leanovate/play-mockws

63.4

Adequate · 20 September 2026

866

lines of production code

Scala

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

This is a Scala library that provides a mocking framework for the Play web application framework. It enables developers to test HTTP controllers by mocking underlying web services, supporting both legacy Play 2.x and the newer Play 3.x versions. The system manages its own code style through automated formatting hooks and maintains compatibility across multiple Scala and Play versions.

Features

Automated Scala code formatting via pre-commit hook

Developers now benefit from automatic code formatting enforcement through a new pre-commit hook. When a commit is attempted, the system runs a validation script that checks Scala code style using Scalafmt; if formatting issues are detected, the hook automatically triggers a reformatting pass before allowing the commit to proceed, ensuring consistent code style without manual intervention.

scripts · high confidence

Project initialization and documentation overhaul

The repository has been initialized with a new MIT license, a comprehensive README detailing usage and compatibility for Play Framework versions 2.3 through 3.0, and a dedicated RELEASE-NOTES.md file. Configuration files for the scalafmt code formatter (v3.11.5), .gitignore, and Renovate bot have been added to standardize development workflows and dependency management.

(repo-wide) · high confidence

Behavioural changes

Play 3.0 support with Apache Pekko migration

The library now provides a dedicated module for Play 3.0, migrating the underlying actor system from Akka to Apache Pekko (evidenced by the import changes from \akka.\\ to \org.apache.pekko.\\ in the Play 3 source files). This allows users to use MockWS with Play 3.0 applications, while the existing Play 2.9 module remains available for older versions.

play-mockws · high confidence

Dependencies

Update Play framework dependencies to 2.9.11 and 3.0.11

The build configuration has been updated to use Play framework versions 2.9.11 and 3.0.11 for the respective module builds. Additionally, test dependencies have been upgraded to ScalaTest 3.2.20, ScalaCheck 1.20.0, and Mockito 5.23.0, while the default Scala version remains 2.13.18 with support for Scala 3.3.8.

(dependencies) · high confidence

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

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 63.

Lenses

  • Code Health 97
  • Architecture 69
  • Maturity 54
  • Readiness 67
  • Security 75

Changes since last survey

  • 300 commits — 293 feature/other, 7 fixes

By area

  • (root) — 113 commits
  • (repo) — 58 commits
  • .github/workflows — 51 commits
  • project/build.properties — 36 commits
  • project/plugins.sbt — 36 commits
  • .devcontainer/devcontainer.json — 3 commits
  • .github/renovate-config.js — 2 commits
  • play-mockws/src — 1 commit

Notable commits

  • fix: Merge pull request #346 from leanovate/ci/fix-publish
  • fix: Merge pull request #347 from leanovate/ci/fix-publish
  • fix: ci: fix CI by using setup-sbt action
  • fix: renovate: fix github token
  • fix: 📝 docs(changelog): fix for 3.0.8 and 3.0.9
  • fix: 📝 docs: fix changelog for 3.0.8
  • fix: 📦 ci: fix publish settings
  • change: Add 'Reformat with scalafmt 3.9.7' to .git-blame-ignore-revs
  • change: Add devcontainer config file
  • change: Add renovate.json
  • change: Configure RenovateBot via GHA
  • change: Merge branch 'master' into update/play-3.0.3
  • change: Merge branch 'master' into update/sbt-scoverage-2.0.10
  • change: Merge branch 'master' into update/scalatest-3.2.18
  • change: Merge pull request #345 from leanovate/docs/readme
  • change: Merge pull request #348 from leanovate/docs/readme
  • change: Merge pull request #349 from scala-steward/update/mockito-core-5.8.0
  • change: Merge pull request #352 from scala-steward/update/sbt-1.9.8
  • change: Merge pull request #353 from scala-steward/update/mockito-core-5.9.0
  • change: Merge pull request #354 from leanovate/upgradeplay
  • …and 280 more

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

Survey your own repository

leanovate/play-mockws 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 20 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d13b93135d2967d8c1ae0a97138e04ccd8870ffc — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-b51f968c9b10.