inaka/shotgun
64.5
Adequate · 15 November 2026
896
lines of production code
Erlang
primary language
5
measurements over time
What this system is
Features
Added default system configuration for the shotgun application
A new rel/sys.config file has been introduced to define the default configuration for the shotgun application. The file initializes the shotgun application with an empty configuration list, establishing the baseline settings for the release environment.
rel · high confidence
Initial release of Shotgun HTTP client
This change introduces the Shotgun library, an HTTP client built on top of Gun. It provides a high-level API for making HTTP requests (GET, POST, PUT, DELETE, etc.) and handling Server-Sent Events (SSE). The package includes the main \shotgun\ module implementing a \gen\_statem\ behavior for connection management, along with application (\shotgun\_app\) and supervisor (\shotgun\_sup\) modules to manage the process tree. Users can now open connections, send requests with various options (async, timeout, SSL), and parse SSE events.
src · high confidence
Test coverage
Added comprehensive test suite for Shotgun HTTP client
Added Common Test (CT) suites and supporting test infrastructure to verify the Shotgun HTTP client library. The new tests cover core HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH), basic authentication, and error handling for invalid URIs. Additionally, the suite includes tests for asynchronous operations, specifically Server-Sent Events (SSE) and binary streaming, including event parsing, custom event handlers, and connection drop scenarios with and without reconnection enabled.
test · high confidence
Dependencies
Migrate to rebar3 and upgrade Gun dependency to v2
The project has switched its build system from erlang.mk to rebar3, introducing a new rebar.config and lockfile while removing legacy build artifacts. The underlying HTTP client dependency, Gun, has been upgraded to version 2.2 (resolved to 2.4.1 in the lockfile), requiring users to update their environment accordingly. Additionally, the project now requires Erlang 17 or later due to the use of maps in the API.
(repo-wide) · 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
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 56 → 64 (+8.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 98 → 98 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 49 → 56 (+7.3)
- Readiness 46 → 61 (+14.9)
- Security 98 → 100 (+2.0)
Resolved (2)
- Medium CVE: [GHSA redacted] (rebar.lock)
- Off-boarding risk: anonymized user #1
New (6)
- Dependency not covered by the lockfile: katana_code
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Workflow token permissions not restricted (.github/workflows/ci.yml)
Changes since last survey
- 2 commits — 1 feature/other, 1 fixes
By area
- (root) — 2 commits
Notable commits
- fix: Fix SSE disconnect notification when reconnection is disabled (#207)
- change: Add HTTP/2 async streaming support while preserving HTTP/1 behavior (#206)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
inaka/shotgun 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 14644769173088b32030ac06036f62be301b6d8a — 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.