Skip to content
CAI
Software that uses CAICheck a score

apache/couchdb

47.0

Weak · 10 November 2026

135.4k

lines of production code

Erlang

with C

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

How this codebase got here

Score

  • CAI 47 → 47 (-0.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 43 → 38 (-5.1)
  • Architecture 94 → 98 (+3.8)
  • Maturity 77 → 82 (+5.2)
  • Readiness 35 → 44 (+8.1)
  • Security 68 → 53 (-15.4)
  • Event-Driven 60 → 60 (+0.0)
  • Event Sourcing 100 → 100 (+0.0)

Resolved (10)

  • Duplicated block (7 lines × 2) (src/mango/src/mango_idx_nouveau.erl)
  • Duplicated block (8–9 lines × 2) (src/couch_pse_tests/src/cpse_test_purge_docs.erl)
  • Edited copy of a member (16 corresponding lines) (src/mango/src/mango_idx_nouveau.erl)
  • HackComment (src/chttpd/src/chttpd.erl)
  • HackComment (src/chttpd/src/chttpd_misc.erl)
  • Hotspot: src/chttpd/src/chttpd_db.erl (src/chttpd/src/chttpd_db.erl)
  • Off-boarding risk: anonymized user #1
  • Off-boarding risk: anonymized user #2
  • Orphaned file (src/couch_pse_tests/src/cpse_test_get_set_props.erl)
  • Orphaned file (src/couch_pse_tests/src/cpse_test_purge_docs.erl)

New (6)

  • Duplicated block (8 lines × 2) (src/couch_pse_tests/src/cpse_test_purge_docs.erl)
  • FileTooLong: src/couch_db_split.erl (src/couch/src/couch_db_split.erl)
  • Hotspot: src/chttpd/src/chttpd.erl (src/chttpd/src/chttpd.erl)
  • Hotspot: src/fabric/src/fabric_doc_update.erl (src/fabric/src/fabric_doc_update.erl)
  • Off-boarding risk: anonymized user #2
  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 35 commits — 33 feature/other, 2 fixes

By area

  • src/couch — 11 commits
  • (repo) — 8 commits
  • src/chttpd — 4 commits
  • build-aux/Jenkinsfile — 3 commits
  • extra/nouveau — 3 commits
  • (root) — 2 commits
  • rel/overlay — 2 commits
  • src/fabric — 1 commit
  • test/elixir — 1 commit

Notable commits

  • fix: Fix stuck mem3 purge checkpoints
  • fix: nouveau: fix glob pattern when cleaning up after db deletion
  • change: Add a batched version of make_docs
  • change: Avoid db and index files auto-closing during initialization
  • change: Backport 3.5.3 version changes to main
  • change: Collapse duplicate revs before stemming
  • change: Handle merging same rev but with a different parent
  • change: Improve _design%2f handling
  • change: Make sure to reset body_time after handling each request
  • change: Merge pull request #6186 from apache/validate-redirect
  • change: Merge pull request #6187 from apache/validate-redirect-2
  • change: Merge pull request #6189 from apache/nouveau-keepalive
  • change: Merge pull request #6190 from apache/remove-local-source-target
  • change: Merge pull request #6191 from apache/nouveau-keepalive-2
  • change: Merge pull request #6194 from apache/nouveau-walkfiletree
  • change: Merge pull request #6197 from apache/nouveau-bugfixes
  • change: Merge pull request #6208 from apache/doc/no-aura-farming
  • change: Persist purge infos limit when set
  • change: Recompute deleted flag properly after purging
  • change: Return stub batch error per document so it's counted towards the quorum
  • …and 15 more

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 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

apache/couchdb 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 10 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 f83dd8d74cf197fd67ff4de7447d5620088c27c1 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — 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.9+preprod-cba156920af5.