jlouis/fuse
65.3
Adequate · 23 September 2026
2.9k
lines of production code
Erlang
primary language
5
measurements over time
What this system is
This system is an Erlang-based circuit breaker library designed to manage the state of external dependencies and prevent cascading failures. It provides core APIs for installing, querying, and resetting circuit breakers, along with a server for state management and event handling. The system supports pluggable statistics backends for monitoring and includes comprehensive test coverage for state transitions and timing behavior.
Features
Added stress test for fuse\_stats\_plugin
A new stress test module (stress/stress.erl) was added to the project. It sets up the 'fuse' application and runs a concurrent workload using 8 cores, each performing 3 million calls to the fuse plugin. This change introduces a new capability for evaluating the plugin's performance and stability under load.
stress · high confidence
Introduce circuit breaker functionality with stats plugins and event handling
The \src\ directory now contains the core implementation of the fuse circuit breaker, including the main \fuse\ module with \install\, \ask\, \run\, \melt\, \remove\, and \reset\ APIs. This release adds a \fuse\_server\ for state management, a \fuse\_event\ module for handling circuit state changes, and a \fuse\_monitor\ for periodic state synchronization. Additionally, the system now supports pluggable statistics backends, introducing a \fuse\_stats\_plugin\ behavior with implementations for \fuse\_stats\_ets\, \fuse\_stats\_exometer\, \fuse\_stats\_folsom\, and \fuse\_stats\_prometheus\.
src · high confidence
Behavioural changes
Add initial documentation overview for the circuit breaker
A new documentation file (doc/overview.edoc) has been added, providing an overview of the Erlang circuit breaker application, including author, copyright, title, and a brief description of the system's purpose.
doc · high confidence
Migrate build system from erlang.mk to rebar3
The project has switched its build system from erlang.mk to rebar3, introducing a new rebar.config and rebar.lock while removing the legacy Makefile and erlang.mk. This change updates the build process and dependencies, requiring users to use rebar3 for compilation and testing. The README has also been updated to reflect the new build instructions and includes a comprehensive changelog and documentation of the circuit breaker's features.
(repo-wide) · high confidence
Test coverage
Added Common Test suite for fuse lifecycle and state management; Expanded EQC test coverage for fuse timing and state management.
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
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 → 65 (+10.4)
- Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.
Lenses
- Code Health 95 → 97 (+2.4)
- Architecture 100 → 100 (+0.0)
- Maturity 34 → 46 (+12.2)
- Readiness 57 → 67 (+10.5)
- Security 85 → 97 (+12.1)
Resolved (10)
- Coverage not included — suite not readable by the collector
- Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
- High: security finding (details withheld)
- High: security finding (details withheld)
- No exposed public API
- Test reliability not included
- The Alternative implementations section lists breaky and circuit_breaker but does not explain what makes fuse different from each of them in terms of behavior. (README.md)
- The README begins by stating it implements a circuit breaker for Erlang but does not describe what kind of service or API it protects (e.g. HTTP endpoints, RPC calls) in the first paragraph. (README.md)
- complexity unreadable for .erl — churn × complexity hotspots could not be measured
- dormant codebase — no living knowledge left to concentrate
New (16)
- Coverage not measured — no coverage collector is wired up
- Documentation: no usage examples (README.md)
- Duplicated block (4–6 lines × 6) (eqc_test/fuse_statem_eqc.erl)
- Duplicated block (5 lines × 2) (eqc_test/fuse_eqc.erl)
- Duplicated block (5 lines × 2) (eqc_test/fuse_eqc.erl)
- Duplicated block (5 lines × 2) (eqc_test/fuse_eqc.erl)
- Duplicated block (5 lines × 2) (eqc_test/fuse_eqc.erl)
- Duplicated block (5 lines × 2) (eqc_test/fuse_eqc.erl)
- Duplicated block (5 lines × 2) (eqc_test/fuse_eqc.erl)
- Duplicated block (6 lines × 2) (eqc_test/fuse_eqc.erl)
- Duplicated block (9 lines × 2) (eqc_test/fuse_eqc.erl)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Hotspot: eqc_test/eqc_lib.erl (eqc_test/eqc_lib.erl)
- Medium: security finding (details withheld)
- Workflow token permissions not restricted
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
jlouis/fuse 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 23 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 79d0817d5a2f97e9951fd736f1ba6a08c7b52b03 — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-955b9cee9818.