Skip to content
CAI
Software that uses CAICheck a score

apache/pouchdb

56.5

Adequate · 15 November 2026

180

lines of production code

JavaScript

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

New build, release, and test automation scripts in bin/

The repository now includes a comprehensive set of new shell and Node.js scripts in the bin/ directory to manage the build, release, and testing workflows. Key additions include build-module.js and build-pouchdb.js for generating library bundles via Rollup and Browserify, a new dev-server.js for local development with live reloading, and updated test runners (test-browser.js using Playwright, test-node.sh, test-webpack.sh) to execute unit, integration, and performance tests. Release management is handled by new scripts like release.sh, publish-packages.sh, and update-package-json-for-publish.js, which automate versioning, dependency resolution, and npm publishing. Additional utilities such as verify-build.sh, verify-bundle-size.sh, and verify-dependencies.js ensure build integrity, while down-server.js and wait-for-couch.sh support test infrastructure.

bin · high confidence

Behavioural changes

Project restructured for Apache Software Foundation incubation

The repository has been reorganized to support its new status as an Apache Software Foundation (ASF) incubating project. This includes adding ASF-specific configuration files (.asf.yaml, DISCLAIMER, NOTICE, LICENSE), updating the README and CONTRIBUTING guides to reflect the new governance and community channels (such as Slack and Mastodon), and implementing a new Eleventy-based build system for the documentation website. Additionally, legacy build artifacts and configuration files (like fileserver.js) have been removed, and the project now enforces stricter code quality standards via a new ESLint configuration.

(repo-wide) · high confidence

Test coverage

Added WebSQL storage limit stress test; Added browser integration tests for database info, migration, and worker contexts; Added browser-based test for PouchDB capacity limits; Added browser-based test runner for find functionality; Added browser-based test runner for map/reduce views; Added component tests for HTTP adapter behavior and replication edge cases; Added comprehensive test suites for PouchDB find queries; Added deterministic fuzzy replication tests; Added integration test for large image handling; Added memory leak detection tests for PouchDB; Added test infrastructure for PouchDB and Sync Gateway configurations; Added tests for find queries with and without indexes (issues \#7810, \#8389); Expanded test coverage for PouchDB find queries; Expanded unit test coverage for core PouchDB utilities and modules; New performance test suite for core database operations; Standardized test environment configuration and utilities.

Dependencies

Initial monorepo dependency lockfiles and manifests

The repository now includes \package-lock.json\ and individual \package.json\ files for the monorepo structure, establishing the baseline dependency tree for version 7.0.0-prerelease. This change introduces specific runtime dependencies such as \level\ 6.0.1, \leveldown\ 6.1.1, and \node-fetch\ 2.6.9, while setting up development tooling including \mocha\ 10.8.2, \eslint\ 8.7.0, and \@11ty/eleventy\ 3.1.2 for site generation.

(dependencies) · 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 57 → 57 (-0.2)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 48 → 48 (+0.0)
  • Readiness 51 → 49 (-1.6)
  • Security 69 → 71 (+2.2)
  • Performance 100 → 100 (+0.0)

Resolved (1)

  • Off-boarding risk: anonymized user #1

New (3)

  • Disclosure policy has no reporting contact (SECURITY.md)
  • Off-boarding risk: anonymized user #1
  • redundant comment (tests/integration/test.attachments.js)

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • (root) — 1 commit
  • .github/workflows — 1 commit

Notable commits

  • change: ci: lock ubuntu to 24.04 LTS (#9292)
  • change: doc: document security model

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

Survey your own repository

apache/pouchdb 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 15 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 0ec5a68736e306814f491081eaf31692211af007 — 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-3c33c1882dc1.