Skip to content
CAI
Software that uses CAICheck a score

lpgauth/anchor

69.3

Adequate · 2 October 2026

806

lines of production code

Erlang

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is an Erlang-based Memcached client library named Anchor, designed to provide high-performance synchronous and asynchronous access to Memcached servers. It implements the full Memcached protocol, including standard operations like get, set, and delete, while leveraging the Shackle library for connection management and supervision. The project includes comprehensive telemetry instrumentation for request-level metrics and is supported by a modernized build infrastructure and extensive test coverage.

Features

Initial release of Anchor Memcached client (v0.3.10)

This change introduces the Anchor library, a high-performance Erlang client for Memcached. It provides a full set of synchronous and asynchronous API functions for standard Memcached operations including get, set, add, replace, delete, increment, decrement, flush, noop, quit, and version. The client is built on the Shackle library for connection management and includes a supervision tree for starting the application and managing the connection pool.

src · high confidence

Introduce Anchor client protocol definitions and types

The new \include/anchor.hrl\ header defines the core data structures and constants for the Anchor Memcached client. It establishes the request and response record schemas, maps Memcached opcodes (such as GET, SET, ADD, REPLACE, DELETE, INCREMENT, DECREMENT, FLUSH, NOOP, QUIT, and VERSION) and status codes to Erlang terms, and exports type definitions for errors, options, and responses. This header serves as the foundational interface for the client's protocol handling.

include · high confidence

Behavioural changes

3 commits (0 fixes) modifying bin

A change to existing behaviour in bin — 3 commits, 1 file.

bin · medium confidence · unverified

Test coverage

Added comprehensive EUnit tests for the anchor module

Added a new test suite (test/anchor\_tests.erl) that validates the anchor module's functionality, including synchronous and asynchronous operations (add, set, get, delete, replace, increment, decrement, flush, noop, version) and verifies that telemetry events are correctly emitted for request sent metrics.

test · high confidence

Dependencies

Modernize build infrastructure and upgrade Shackle dependency

The project has migrated its build system from rebar2/Travis to rebar3/GitHub Actions, removing legacy tooling like edown, elvis, and fprofx. The core dependency shackle has been upgraded to version 0.7.3, which pulls in foil 0.1.6 and knot 0.1.2 transitively. Additionally, telemetry 1.4.2 is now a direct dependency to support request-level instrumentation.

(repo-wide) · 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

Score

  • CAI 69 → 69 (+0.6)
  • Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 97 → 97 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 59 → 59 (+0.0)
  • Readiness 78 → 80 (+2.2)
  • Security 92 → 96 (+4.0)

Resolved (3)

  • Coverage not measured — no coverage collector is wired up
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)

New (1)

  • Outdated: shackle

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

Survey your own repository

lpgauth/anchor 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 2 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 0d5d1acc940d03ee3c057408c0f1494643b62286 — the exact code this score is about.
  • Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.