priestjim/gen_rpc
67.9
Adequate · 15 November 2026
2.4k
lines of production code
Erlang
primary language
5
measurements over time
What this system is
Features
Initial release of gen\_rpc with TCP and SSL transport drivers
This change introduces the initial working version of the gen\_rpc library, providing a scalable RPC framework for Erlang/OTP applications. It adds core client and server components, including a gen\_statem-based acceptor for handling incoming connections and a gen\_server-based client for outgoing calls. The library supports both plain TCP and SSL transports via dedicated driver modules (gen\_rpc\_driver\_tcp and gen\_rpc\_driver\_ssl), enabling secure remote procedure calls, casts, and broadcast operations across a cluster.
src · high confidence
Behavioural changes
1 commit (0 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 1 commit, 29 files: “Project Phoenix (\#80)” (refs \#80).
priv · medium confidence · unverified
1 commit (0 fixes) modifying include, src/driver, src/supervisor
A change to existing behaviour in include, src/driver, src/supervisor — 1 commit, 8 files: “AI-driven code review and expansion (\#94)” (refs \#94). Also in this area: 1 commit (1 fix) fixing include, src/driver; Initial release of gen\_rpc with TCP and SSL transport drivers.
src/driver · low confidence · unverified
Introduction of standardized include files for configuration and types
This change introduces a new set of Erlang header files (app.hrl, guards.hrl, ssl.hrl, tcp.hrl, types.hrl) that centralize default options and type definitions. Users benefit from consistent default TCP and SSL socket configurations (such as keepalive, nodelay, and cipher suites) and reusable guard macros for validation, which standardize how the library handles network connections and data types across the application.
include · high confidence
New TCP and SSL server architecture with dedicated supervisors
The system now uses a new supervision tree to manage TCP and SSL server connections. A new root supervisor (gen\_rpc\_sup) starts permanent workers for TCP and SSL servers, alongside supervisors for acceptors and clients. This allows for better management of server processes and client connections, improving stability and resource handling.
src/supervisor · high confidence
gen\_rpc 2.0.0: Major refactor with Erlang 19+ requirement, SSL support, and per-key sharding
This release introduces a significant architectural overhaul of the gen\_rpc library. The server and acceptor finite state machines have been converted from gen\_fsm to gen\_statem, which requires a minimum Erlang/OTP version of 19.1 and drops support for older releases. New features include SSL support for secure inter-node communication, per-key sharding to allow multiple connections per node using arbitrary keys, and module version control to restrict RPC calls to specific module versions. Additionally, the library now uses the \hut\ logging backend instead of \lager\ for better Elixir compatibility, and ports are no longer dynamically assigned, favoring static port listeners to reduce supervision complexity.
(repo-wide) · high confidence
Test coverage
Add Common Test configuration header; Added comprehensive Common Test suites for gen\_rpc functionality; Added test infrastructure for gen\_rpc SSL and TCP configurations.
Dependencies
2 commits updating dependencies (2 manifests)
A dependency / build maintenance change in (dependencies) — 2 commits, 2 files: “AI-driven code review and expansion (\#94)”; “Remove coveralls and references to develop branch” (refs \#94).
(dependencies) · medium confidence · unverified
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
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 55 → 68 (+13.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 100 → 80 (-19.5)
- Architecture 100 → 100 (+0.0)
- Maturity 58 → 65 (+6.8)
- Readiness 38 → 72 (+33.8)
- Security 66 → 63 (-2.5)
Resolved (14)
- Dependency hygiene PARTLY measured — rebar3 pinning read, dependency currency not (no rebar.lock-pinned Hex declaration to grade)
- Duplicated block (5 lines × 2) (src/driver/gen_rpc_driver_ssl.erl)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Leaked secret: private-key (priv/ssl/ca.key.pem)
- Leaked secret: private-key (priv/ssl/[e-mail redacted])
- Leaked secret: private-key (priv/ssl/[e-mail redacted])
- No dependency lockfile committed (rebar.config)
- Orphaned file (include/ssl.hrl)
- Orphaned file (src/gen_rpc.erl)
- Orphaned file (src/gen_rpc_dispatcher.erl)
- Orphaned file (src/gen_rpc_helper.erl)
- Orphaned file (src/supervisor/gen_rpc_client_sup.erl)
- Orphaned files with no living knowledge
New (24)
- Edited copy of a member (3 corresponding lines) (src/driver/gen_rpc_driver_ssl.erl)
- Edited copy of a member (4 corresponding lines) (src/gen_rpc_client.erl)
- Edited copy of a member (4 corresponding lines) (src/supervisor/gen_rpc_acceptor_sup.erl)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Leaked secret: private-key (priv/ec_ssl/[e-mail redacted])
- Leaked secret: private-key (priv/ec_ssl/[e-mail redacted])
- Medium: security finding (details withheld)
- No dependency advisory monitoring
- Off-boarding risk: anonymized user #1
- …and 4 more
Changes since last survey
- 8 commits — 7 feature/other, 1 fixes
By area
- (root) — 7 commits
- test/ct — 1 commit
Notable commits
- fix: Fix acceptor crash, integration and flaky tests
- change: AI-driven code review and expansion (#94)
- change: Add unnamed acceptor support to prevent atom table bloat
- change: Project Phoenix (#80)
- change: Release 3.0.0
- change: Release 3.0.1
- change: Remove coveralls and references to develop branch
- change: Update README
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
priestjim/gen_rpc 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 fac656421fd1cefff7f33e26a0c7a0ecd51273af — 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.