WhatsApp/edb
50.8
Adequate · 15 November 2026
11.3k
lines of production code
Erlang
primary language
5
measurements over time
What this system is
Features
Introduce DAP adapter for debugging Erlang applications
Adds a new Debug Adapter Protocol (DAP) implementation to the Erlang debugger, enabling IDEs and editors to connect to and debug Erlang nodes. This includes modules for encoding/decoding DAP messages, handling standard requests (launch, attach, continue, disconnect, evaluate, breakpoints, etc.), managing session events (initialized, stopped, output, terminated), and parsing request arguments. It also introduces a configurable language module system with a default Erlang implementation to map source files to modules for breakpoint resolution.
apps/edb/src · high confidence
New rebar3 plugin to copy edb binary to test data directories
A new rebar3 plugin, \prepare\_edb\_tests\, has been added to automate test setup for the edb application. When invoked via \rebar3 prepare\_edb\_tests\, it locates the compiled \edb\ binary and copies it into the \\_data\ subdirectories of all discovered test suites within the \test\ directory, ensuring the binary is available for test execution.
_rebar3\_plugins/prepare\_edb\tests · high confidence
edb launcher script for automatic OTP version dispatch
A new \edb\ launcher script has been added to the \scripts\ directory. This Bash script detects the installed Erlang/OTP version and automatically dispatches to the correct bundled escript (either the OTP 28 or OTP 29+ variant), ensuring compatibility without requiring users to manually select the binary. It also includes logic to resolve symlinks and verify that the \erl\ command is available on the system path.
scripts · high confidence
Removals
Removal of the Erlang debugger (edb) and DAP adapter
The \src\ directory's Erlang debugger (\edb\) and its Debug Adapter Protocol (DAP) implementation (\edb\_dap\) have been completely removed. This eliminates the ability to attach to Erlang nodes, set breakpoints, step through code, and inspect stack frames via the DAP interface.
src · high confidence
Behavioural changes
Add rebar3 plugin to handle edb test dependencies
The edb application now includes a rebar.config file that registers pre-build hooks for Common Test (ct). Specifically, it configures the system to escriptize tests and run a custom prepare\_edb\_tests step before test execution, ensuring that test dependencies are correctly handled during the build process.
apps/edb · high confidence
Restructure into umbrella apps and remove OTP submodule
The project is restructured into an umbrella layout with separate \edb\ and \edb\core\ applications, updating the \rebar.config\ to reflect the new \apps/\\ directory structure for formatting and dependencies. The custom Erlang/OTP fork, previously managed as a git submodule, is removed, and the minimum required OTP version is raised to 27. Additionally, the \warn\_export\_vars\ compiler warning is disabled, the \assert\ testing library is added to the test profile, and documentation generation is switched to \ex\_doc\ with the DAP guide included as an extra.
(repo-wide) · high confidence
edb\_core: adds function breakpoints, multi-node support, and restructures project layout
The edb debugger now supports function-level breakpoints in addition to existing line breakpoints, allowing users to pause execution when specific module/function/arity combinations are called. The debugger also supports multi-node debugging, enabling reverse attachments to child nodes and managing breakpoints across a cluster. Internally, the project has been restructured into a standard rebar3 umbrella layout (files moved to apps/edb\_core/src), and the bootstrap process now allows injecting custom code into child nodes via ERL\_AFLAGS.
_apps/edb\core/src · high confidence
Test coverage
Added comprehensive Common Test suites for the EDB DAP adapter; Added comprehensive test suite for EDB debugger core; Removal of legacy EDB and DAP test suites.
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 51 → 51 (-0.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 76 → 76 (-0.8)
- Architecture 97 → 97 (+0.5)
- Maturity 59 → 59 (+0.0)
- Readiness 58 → 58 (+0.0)
- Security 81 → 81 (+0.0)
- Event-Driven 35 → 35 (+0.0)
Resolved (1)
- No ADRs found
New (11)
- Edited copies of one member (3 members, 6+ corresponding lines) (apps/edb/src/edb_dap_request_next.erl)
- Edited copies of one member (6 members, 9+ corresponding lines) (apps/edb_core/src/edb_server.erl)
- Edited copy of a member (35 corresponding lines) (apps/edb_core/src/edb_server.erl)
- Edited copy of a member (4 corresponding lines) (apps/edb/src/edb_dap_request_evaluate.erl)
- Edited copy of a member (42 corresponding lines) (apps/edb_core/src/edb_expr.erl)
- Edited copy of a member (5 corresponding lines) (apps/edb/src/edb_dap_request.erl)
- Edited copy of a member (6 corresponding lines) (apps/edb_core/src/edb_server.erl)
- Edited copy of a member (8 corresponding lines) (apps/edb_core/src/edb_server.erl)
- Edited copy of a member (8 corresponding lines) (apps/edb_core/src/edb_server_break.erl)
- Edited copy of a member (8 corresponding lines) (apps/edb_core/src/edb_server_break.erl)
- No ADRs found (rebar.config)
Changes since last survey
- 9 commits — 9 feature/other, 0 fixes
By area
- apps/edb — 6 commits
- apps/edb_core — 3 commits
Notable commits
- change: Add missing specs for edb debugger and DAP tests
- change: Delete or suppress unused exported types
- change: Narrow dynamic() and map() specs across util/edb
- change: Point unused-type suppressions at W0092
- change: Remove redundant Common Test callbacks (policy_zones, policy_zones_thrift_hooks, wa_crawler, wa_security, wa_traffanon, erlclient/erlclient_logger, util/edb/apps/edb)
- change: Remove redundant Common Test callbacks (util/edb/apps/edb_core, notifyd, wa_notifyd, camd, camd_api, certd, keytranspd)
- change: type edb_dap_parse:atom/1 and atoms/1 parsers by the atoms they are given
- change: type the send payload of handle_cast/2 and send/2
- change: use edb_dap_request_next types instead of local mirrors
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
WhatsApp/edb 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 c9b95f0fc1f4050f145c12a01300a21bd7aa5d50 — 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.