Public report of aeternity/aeternity, published 23 October 2026. It has the same score, grades and number of
findings as the full report. The details of security findings (where they are in the code, which known
vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive reportMeasured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.10.5). Watchdog signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey →
Signed and filed in the standard's public register, 23 October 2026, 18:40 UTC · Survey ID cd_c5950497888646d4aacf8220b6f473d7
aeternity/aeternity
Measured 23 October 2026, 18:38 UTC, at code version fa2a6d7
A regression is a drop of 0.5 points or more in the score, or of 2.5 or more out of 10 in a dimension, since the last survey.
Knowledge freshness is not measured: Freshness signal contradicted by repo activity.
CAI scoreAdequate
CriticalWeakAdequateStrongExemplary
Up 1 since the last survey
The score is built from these lenses. Each lens grades one area of the code, such as how easy it is to change or how well it is protected. The weakest lens counts most, so one weak area pulls the score down instead of being averaged away.
A medium codebase: 97,201 lines of product code in 20 projects, tests not counted · Estimated rebuild effort: about 1.6 person-years · Weakest lens: Production Readiness, 62
Findings by how serious they are
7 critical569 serious45 minor
29 dimensions are left out of the score. For each one, Watchdog either couldn't measure it in this code, or found no evidence of the safeguard it looks for, such as a tested backup restore. They count neither for nor against the score, and Limitations lists each one with its reason.
This survey was produced by
Watchdog
Producer
Canine Development
Analyzer
Watchdog engine 1.0.0
Measured
23 October 2026, 18:38 UTC
A measurement, not a certificate. The Code Assurance Index records a number
together with the evidence it was worked out from, so anyone can recalculate it, but it doesn't certify or guarantee
the code. The standard was written by Canine Development, which also builds Watchdog. It is open to any tool that
implements it, and today Watchdog is the only one that does.
The score is deterministic, which means the same code always gets the same score. Watchdog works it out with tools that follow published rules, and an AI model never decides it, so anyone who applies the same rules to the same code gets the same number. How it is done is explained under Methodology ▸
45of 48 dimensions measured by tools. The other 3 are advisory notes from an AI model, which explain the code but don't count towards the score.
600of 621 findings point to an exact file and line, so you can open each one in the code. The other 21 concern the repository as a whole, such as missing documentation.
48dimensions across 6 lenses, read from 97,201 lines of product code in 20 projects.
aeternity/aeternity scores 67 out of 100 and is rated Adequate, while three of its six lenses score higher still: Event Sourcing at 100 and Architecture at 98, both rated Exemplary, and Security and Compliance at 76, rated Adequate.
The score is lower than those three because the weakest lens counts most, and here that is Production Readiness, which scores 62 and is rated Adequate. Its DR & Backup dimension scores 3 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 No ADRs found finding(s) in ADR Quality and to codify backups + geo-recovery in IaC (snapshot/replication/geo-redundant) to back the DR plan, and if Production Readiness rose to 70, the score would rise from 67 to about 69.
Seven findings are critical: four in Static Analysis (SAST), one in Change Coupling, one in IaC & Container Security and one in Secrets (history).
Watchdog couldn't measure 29 dimensions in this code, among them Code Coverage, Test Reliability and Internal API Consistency, so they are left out of the score. The product code is 97,201 lines, which would take an estimated 1.6 person-years, around €240,000, to rebuild.
A lens is capped at Adequate while one of its dimensions scores below 4 out of 10, however well the rest of the lens does. That way a serious problem in one place always shows in the lens's rating.
How the score is built: what each lens counts forThe lenses don't count equally. The weakest lens counts most, the next weakest a little less, and so on, so a weak area pulls the score down instead of being averaged away. In the bar below, each part's width shows how much that lens counts and its colour shows its rating. Improving the widest part moves the score most, and as that lens improves, it counts for less, because another lens becomes the weakest.
If Production Readiness rose from 62 to 70, the lowest score rated Strong, the score would rise from 67 to about 69.
Code composition: what the lines of code are
Product code 50%Tests 50%
New since the last survey: 281 findings
These 281 critical or serious findings weren't in the previous survey, on 9 October 2026. The first 100 are listed here, and the findings file in the download package lists them all.
God Classes · FileTooLong: src/aesc_fsm.erl apps/aechannel/src/aesc_fsm.erl
God Classes · FileTooLong: src/aefa_fate_op.erl apps/aefate/src/aefa_fate_op.erl
God Classes · FileTooLong: src/aeprimop.erl apps/aeprimop/src/aeprimop.erl
God Classes · FileTooLong: src/aec_db.erl apps/aecore/src/aec_db.erl
God Classes · FileTooLong: src/aec_peers.erl apps/aecore/src/aec_peers.erl
God Classes · FileTooLong: src/aec_peer_connection.erl apps/aecore/src/aec_peer_connection.erl
God Classes · FileTooLong: src/aesc_chain_watcher.erl apps/aechannel/src/aesc_chain_watcher.erl
God Classes · FileTooLong: src/aec_tx_pool.erl apps/aecore/src/aec_tx_pool.erl
God Classes · FileTooLong: src/aec_peers_pool.erl apps/aecore/src/aec_peers_pool.erl
God Classes · FileTooLong: src/aec_conductor.erl apps/aecore/src/aec_conductor.erl
God Classes · FileTooLong: src/aec_chain_state.erl apps/aecore/src/aec_chain_state.erl
God Classes · FileTooLong: src/aec_sync.erl apps/aecore/src/aec_sync.erl
God Classes · FileTooLong: src/aec_consensus_hc.erl apps/aecore/src/aec_consensus_hc.erl
God Classes · TooManyFunctions: aec_consensus_bitcoin_ng apps/aecore/src/aec_consensus_bitcoin_ng.erl
God Classes · TooManyFunctions: aesc_session_noise apps/aechannel/src/aesc_session_noise.erl
God Classes · FileTooLong: src/aevm_eeevm.erl apps/aevm/src/aevm_eeevm.erl
God Classes · FileTooLong: src/aehttp_dispatch_ext.erl apps/aehttp/src/aehttp_dispatch_ext.erl
God Classes · FileTooLong: src/aesc_utils.erl apps/aechannel/src/aesc_utils.erl
God Classes · FileTooLong: src/aehttp_helpers.erl apps/aehttp/src/aehttp_helpers.erl
God Classes · FileTooLong: src/aeu_mp_trees.erl apps/aeutils/src/aeu_mp_trees.erl
God Classes · TooManyFunctions: aec_blocks apps/aecore/src/aec_blocks.erl
God Classes · TooManyFunctions: aec_eoe_gen_vote apps/aecore/src/aec_eoe_gen_vote.erl
God Classes · TooManyFunctions: aeo_state_tree apps/aeoracle/src/aeo_state_tree.erl
God Classes · TooManyFunctions: aec_metrics apps/aecore/src/aec_metrics.erl
God Classes · FileTooLong: src/sc_ws_api_jsonrpc.erl apps/aehttp/src/sc_ws_api_jsonrpc.erl
God Classes · FileTooLong: src/aefa_chain_api.erl apps/aefate/src/aefa_chain_api.erl
God Classes · FileTooLong: src/aec_headers.erl apps/aecore/src/aec_headers.erl
God Classes · FileTooLong: src/aehttp_dispatch_rosetta.erl apps/aehttp/src/aehttp_dispatch_rosetta.erl
God Classes · TooManyFunctions: aec_consensus_on_demand apps/aecore/src/aec_consensus_on_demand.erl
God Classes · TooManyFunctions: aec_keys apps/aecore/src/aec_keys.erl
God Classes · TooManyFunctions: aeprimop_state apps/aeprimop/src/aeprimop_state.erl
God Classes · FileTooLong: src/aevm_ae_primops.erl apps/aevm/src/aevm_ae_primops.erl
God Classes · FileTooLong: src/aec_trees.erl apps/aecore/src/aec_trees.erl
God Classes · FileTooLong: src/aec_vm_chain.erl apps/aecore/src/aec_vm_chain.erl
God Classes · FileTooLong: src/aeu_env.erl apps/aeutils/src/aeu_env.erl
God Classes · FileTooLong: src/aefa_engine_state.erl apps/aefate/src/aefa_engine_state.erl
God Classes · FileTooLong: src/aefa_fate.erl apps/aefate/src/aefa_fate.erl
God Classes · TooManyFunctions: aec_tx_pool_sync apps/aecore/src/aec_tx_pool_sync.erl
God Classes · FileTooLong: src/aefa_stores.erl apps/aefate/src/aefa_stores.erl
God Classes · FileTooLong: src/aec_chain.erl apps/aecore/src/aec_chain.erl
God Classes · TooManyFunctions: aevm_eeevm_store apps/aevm/src/aevm_eeevm_store.erl
God Classes · TooManyFunctions: aesc_state_cache apps/aechannel/src/aesc_state_cache.erl
God Classes · TooManyFunctions: aevm_eeevm_store_vm3 apps/aevm/src/aevm_eeevm_store_vm3.erl
God Classes · FileTooLong: src/aesc_codec.erl apps/aechannel/src/aesc_codec.erl
God Classes · TooManyFunctions: aect_state_tree apps/aecontract/src/aect_state_tree.erl
God Classes · TooManyFunctions: aens_state_tree apps/aens/src/aens_state_tree.erl
God Classes · TooManyFunctions: aec_block_insertion apps/aecore/src/aec_block_insertion.erl
God Classes · TooManyFunctions: aeu_mtrees apps/aeutils/src/aeu_mtrees.erl
God Classes · FileTooLong: src/aestratum_session.erl apps/aestratum/src/aestratum_session.erl
God Classes · TooManyFunctions: aetx_env apps/aetx/src/aetx_env.erl
God Classes · FileTooLong: src/aetx.erl apps/aetx/src/aetx.erl
God Classes · FileTooLong: src/aevm_eeevm_state.erl apps/aevm/src/aevm_eeevm_state.erl
God Classes · TooManyFunctions: aesc_listeners apps/aechannel/src/aesc_listeners.erl
God Classes · TooManyFunctions: aesc_offchain_update apps/aechannel/src/aesc_offchain_update.erl
God Classes · TooManyFunctions: aec_governance apps/aecore/src/aec_governance.erl
God Classes · TooManyFunctions: aefa_stores_lima apps/aefate/src/aefa_stores_lima.erl
God Classes · TooManyFunctions: aeu_plugins apps/aeutils/src/aeu_plugins.erl
God Classes · FileTooLong: src/aeapi.erl apps/aeapi/src/aeapi.erl
God Classes · FileTooLong: src/aesc_channels.erl apps/aechannel/src/aesc_channels.erl
God Classes · TooManyFunctions: aect_call apps/aecontract/src/aect_call.erl
God Classes · FileTooLong: src/aehttp_dispatch_int.erl apps/aehttp/src/aehttp_dispatch_int.erl
God Classes · TooManyFunctions: aehttpc_doge apps/aehttp/src/aehttpc_doge.erl
Watchdog compares every finding with the previous survey's. A finding that has only moved to another line in the same file counts as the same finding, so only new findings appear here. Advisory notes from the AI model are left out, because the model words them afresh in every survey.
Fixed since the last survey: 16 findings
These 16 critical or serious findings were in the previous survey, on 9 October 2026, and are gone from this one.
Exception handling · Swallowed exception (caught, then discarded) apps/aehttp/src/aehttp_helpers.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aehttp/src/aehttp_helpers.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aehttp/src/aehttp_helpers.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aehttp/src/aehttp_helpers.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aehttp/src/aehttp_dispatch_int.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aehttp/src/aehttp_dispatch_ext.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_mp_trees.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_mp_trees.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_mp_trees.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_mp_trees.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_ext_scripts.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_ets_cache.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_ets_cache.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_ets_cache.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_env.erl
Exception handling · Swallowed exception (caught, then discarded) apps/aeutils/src/aeu_env.erl
Rebuild cost: about €240,000 · Estimate
Cost to rebuild
€79,000 to €390,000, for 1,311 to 4,158 hours of work, about 1.6 person-years for 1 to 4 engineers
Difficulty of the problem
Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write.
Quality factor
×0.9 at a score of 67. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it.
Size
Medium: 97,201 lines of product code
How the estimate is made: Watchdog prices the hours a team would need to write this code again, at €60 to €95 an hour. Declarations and boilerplate are priced at a fast rate and logic at a slower one, and the logic is then multiplied by the difficulty of the problem and by the quality factor. The estimate can be about 30% off either way, and it moves most with the hourly rate and the difficulty. For this code, every line is priced as straight logic, which keeps the estimate on the low side.
Top priorities
The three actions that raise the score most for the work they take. The full ranked list is in the Roadmap.
1
Resolve the 1 No ADRs found finding(s) in ADR Quality.
Raises the score by about 4 points · Low effort · ADR Quality
2
Codify backups + geo-recovery in IaC (snapshot/replication/geo-redundant) to back the DR plan.
Raises the score by about 3 points · Medium effort · DR & Backup
3
Record your significant design decisions.
Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Each conclusion below combines several dimensions into one point that no single dimension shows, and lists the measurements it rests on.
Where the investment is most exposed · Value at risk
This code would cost about €240,000 to build again, about 1.6 person-years of work. Its weakest lens is Production Readiness, at 62 (Adequate). Production Readiness is about whether the product is ready to run in production and to change without breaking. Because the weakest lens counts most in the score, work on Production Readiness also moves the score most.
Based on: the rebuild estimate · the Production Readiness grade · how much each lens counts
What to do: Start with the Production Readiness actions in Top priorities.
If you do one thing first · First action
Resolve the 1 No ADRs found finding(s) in ADR Quality. Of all the actions in this report, it raises the score most for the work it takes: about 4 points for low effort, because it clears the 1 ADR Quality findings. The next survey will show the change in the score.
Based on: the ranked actions in Top priorities, by score gain and effort
Architecture — module dependency graph
Project dependencies, layered top-to-bottom; arrows show direction. Any dashed red edge points upward or sideways — a layering smell or cycle. A clean layered graph has none.
Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).
OWASP category
Findings
Severity
A02:2025 — Security Misconfiguration
7
High / Critical
A05:2025 — Injection
4
High / Critical
A03:2025 — Software Supply Chain Failures
4
Medium
A07:2025 — Authentication Failures
2
High / Critical
Roadmap
First, address the critical gap in architectural governance by resolving the missing Architecture Decision Records and documenting significant design choices in a dedicated folder. Simultaneously, strengthen operational resilience by codifying backups and geo-recovery strategies into infrastructure as code to support the disaster recovery plan. Finally, improve code reliability and onboarding by fixing the 56 instances of swallowed exceptions and adding clear instructions for running the test suite to the project README.
Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.
Do this
Helps
Effort
Dimension
Resolve the 1 No ADRs found finding(s) in ADR Quality.
Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
Per-file score 0–10 — a quality signature. Of 169 files carrying findings, judged against the Production bar: 1% slop · 59% mixed · 40% near-clean.
File
Score
Band
Worst signal
REDACTED
2.2
Slop
IaC & Container Security: High IaC: REDACTED
apps/aehttp/src/aehttp_dispatch_ext.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aehttp/src/sc_ws_api_jsonrpc.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aehttp/src/aehttp_dispatch_rosetta.erl
6.0
Mixed
Explicit Debt: FixmeComment
apps/aehttp/src/aehttp_dispatch_int.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aechannel/src/aesc_fsm.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aecore/src/aec_tx_pool.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aecore/src/aec_peer_connection.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aechannel/src/aesc_chain_watcher.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aehttp/src/aehttp_helpers.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aecore/src/aec_consensus_on_demand.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aecore/src/aec_consensus_bitcoin_ng.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aecore/src/aec_chain_state.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aevm/src/aevm_eeevm_state.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aevm/src/aevm_eeevm_store_vm3.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aefate/src/aefa_fate_op.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aeprimop/src/aeprimop.erl
6.0
Mixed
Explicit Debt: FixmeComment
apps/aecore/src/aec_db.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aecore/src/aec_peers.erl
6.0
Mixed
Explicit Debt: TodoComment
apps/aecore/src/aec_peers_pool.erl
6.0
Mixed
Explicit Debt: TodoComment
How the grades work
Every finding carries one of four grades. Three say how serious it is. The fourth says this
survey could not settle it — and it is a grade, not a gap.
Critical — 7
A definite problem that already costs you something and drags the score down: a
missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here
tends to cause failures elsewhere.
Serious — 569
Likely wrong, but not failing yet. It degrades
the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to
carry for two years either.
Minor — 45
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved — 29
Something this survey could not settle
from the outside, and which could be critical or serious. Either a control was required and no
positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves
nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean
result. These are excluded from the score rather than awarded a pass, so the number on the cover neither
rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each
one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 45 of 48 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.
What we checked — 48 dimensions across the health lenses
Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.
How to trust any code-health report — three questions
Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 600 of 621 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
This report answers yes to all three. That's the bar to hold any assessment to.
Tools & methods
The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.
D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.erl) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (`rebar3 do eunit --cover, cover` (or covertool for Cobertura XML)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (`rebar3 do eunit --cover, cover` (or covertool for Cobertura XML)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.erl) and this repository declares a rebar3 project (repository root, 95 test files, 64 Common Test suites), but it was not re-run: the analyzer environment could not run it. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
D14 License Compliance — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This repository declares a Python pyproject.toml/requirements.txt (pip/uv/Poetry), but the licence verdict published here was taken over its Hex package dependencies. Nothing was read about its Python dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (apps/aeapi/src/aeapi.app.src), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
D34 Knowledge Freshness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. File-level freshness contradicts repo activity: 40 commits in the last 90 days, yet 191 of 224 significant files carry no living knowledge. Those two readings cannot both be true, so the per-file recency signal is treated as unreliable here and freshness is not scored for this run.
AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via REDACTED (REDACTED). docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/bui…; runtime evidence skipped.
C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's Erlang is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and no C#, JavaScript/TypeScript, Java, Dart, Ruby or Scala was found, and this repository's Erlang is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Scala, Rust, Swift, Ruby, Dart, PHP, Python and Go source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Scala, Rust, Swift, Ruby, Dart, PHP, Python or Go was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Scala, PHP, Ruby, Python, Go, Rust and Dart source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Scala, PHP, Ruby, Python, Go, Rust or Dart was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, PHP, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Java, PHP, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Dart, Ruby, Scala and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Dart, Ruby, Scala or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, Dart, Ruby, Scala and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Python, Dart, Ruby, Scala or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded and no JavaScript/TypeScript, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python or Rust was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, F#, Python, Dart, Ruby, Scala, Kotlin and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, F#, Python, Dart, Ruby, Scala, Kotlin or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Scala, Ruby and Python source only, and no C# was loaded and no JavaScript/TypeScript, Java, Scala, Ruby or Python was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Rust, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Java, Rust, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X3 Exception handling — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 16 further occurrence(s) are not listed individually; the score already reflects all 56.
X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Scala, JavaScript/TypeScript, Java, Kotlin, Python, PHP, Go, Rust, Dart and Ruby source only, and no C# was loaded and no Scala, JavaScript, TypeScript, Java, Kotlin, Python, PHP, Go, Rust, Dart or Ruby was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala or Rust was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X7 Silent fallback defaults — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C#, Python, TypeScript/JavaScript, Rust, Go, Java, Kotlin, Scala, PHP, Ruby, Swift and Dart syntax only, and no C#, Python, TypeScript/JavaScript, Rust, Go, Java, Kotlin, Scala, PHP, Ruby, Swift or Dart was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared — every source file was scored.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.
D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
LLM-set scores this run (3): D19, D21, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score; each names its own sample and method on its card. They are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.
What it measures: How tangled the control flow is — methods with many branches are hard to test and change.
Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.
20 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was aehttp_dispatch_ext.handle_request_ at 209. A further 35 function(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being aec_coinbase.coinbase_at_height_ at 949 — they are counted neither in the figure above nor in this dimension's score. 16 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold functions was excluded, so the exclusion is disclosed nowhere in the file itself: apps/aecore/src/aec_coinbase.erl (aec_coinbase.coinbase_at_height_ at 949), apps/aefate/src/aefa_fate.erl (aefa_fate.abort at 39), apps/aecore/src/aec_governance.erl (aec_governance.name_claim_size_fee at 31), apps/aecore/src/aec_peer_messages.erl (aec_peer_messages.deserialize at 29), apps/aetx/src/aetx.erl (aetx.swagger_name_to_type at 28), and 11 more not listed here. They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
+ 15 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 3 bodies over 60 down to 60 or less in Cyclomatic Complexity — start with aehttp_dispatch_ext.handle_request_ (cyclomatic 209), sc_ws_api_jsonrpc.process_request (cyclomatic 123), aehttp_dispatch_rosetta.handle_request_ (cyclomatic 93). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 3 together lifts Cyclomatic Complexity from 5.6 to about 6.9/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: How hard the code is for a person to follow, beyond raw branching.
Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.
+ 13 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 3 bodies over 30 down to 30 or less in Cognitive Complexity — start with aehttp_dispatch_ext.handle_request_ (cognitive 164), aehttp_dispatch_rosetta.handle_request_ (cognitive 136), sc_ws_api_jsonrpc.process_request (cognitive 54). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 3 together lifts Cognitive Complexity from 6.1 to about 7.8/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.
Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D3 · God Classes6.1 / 10Adequate✓ Tool-verified
What it measures: Over-large classes that try to do too much ("god classes").
Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.
Resolve the 41 FileTooLong finding(s) in God Classes — start with aesc_fsm.erl, aefa_fate_op.erl, aeprimop.erl. — One of this dimension's main actionable groups (41 warning-level).
Resolve the 37 TooManyFunctions finding(s) in God Classes — start with aec_consensus_bitcoin_ng.erl, aesc_session_noise.erl, aec_blocks.erl. — One of this dimension's main actionable groups (37 warning-level).
Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Copy-pasted code that should be shared instead.
Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.
156 duplicated block group(s) detected. A further 2 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted. 10 of the 158 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
+ 33 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 20 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with aefa_stores.erl (3), aevm_data.erl (2), aest_api.erl (2). — One of this dimension's main actionable groups (20 warning-level).
Resolve the 16 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with aevm_eeevm_store.erl (4), aehttpc_btc.erl (3), aesc_deposit_tx.erl (2). — One of this dimension's main actionable groups (16 warning-level).
Resolve the 16 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with aevm_data.erl (3), aesc_fsm.erl (2), aefa_stores.erl (2). — One of this dimension's main actionable groups (16 warning-level).
Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D5 · Coupling7.9 / 10Strong✓ Tool-verified
What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.
Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.
Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.
19 production modules (OTP), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 5 module(s) off the main sequence.
Off the main sequence: aecli · ×5
What to do
Resolve the 5 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (5 warning-level).
Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d5_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether a class's methods are focused on a single responsibility.
Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.
Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.
What it measures: Whether dependencies are current, secure, and not bloated.
Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.
5 outdated, 0 retired direct Hex dependencies declared by rebar3, 0 pinning defect(s). 7 of 10 Hex declarations were graded against hex.pm (0 not published there, 3 not resolved to a release by a committed `rebar.lock`). A dependency declared at an EXACT version — rebar3's own idiom — is graded against the current release and its remedy is an edit to the `rebar.config` declaration, because `rebar3 upgrade` cannot move past the version the manifest names; a `~>` or bounded requirement that EXCLUDES the newest release is reported as nothing, because that bound is a deliberate constraint. A `{ref, …}`, `{tag, …}` or branch-tracked git dependency is not graded for currency at all: its version is a revision, not a Hex release. Whether any of these packages is UNMAINTAINED is not graded — hex.pm publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: a large idiomatic class of BEAM dependencies — runtime adapters, codec plugins, protocol implementations and OTP applications the release starts — is correctly declared and never referenced in source. Known CVEs in this dependency graph are D30's question.
Outdated: gproc · ×5
What to do
Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d12_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.
Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.
What it measures: Whether the licenses of third-party packages are compatible with your policy.
Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.
0 of 19 shipped Hex package(s) use a banned license. Licences were resolved from hex.pm over the packages a consumer installs — this repository's rebar.lock, which is already the transitive closure a consumer installs. rebar3 writes that lock for the DEFAULT profile ONLY, so a dependency declared inside `{profiles, [{test, [{deps, […]}]}]}` has no entry in it and is excluded here for the reason the Mix arm excludes an `only: [:dev, :test]` declaration: it is not installed by anything that depends on this repository. Each licence is the one hex.pm publishes for the package's current release. A further 27 package(s) the closure reaches resolve from git, a path or a local override and publish no licence this pass can read; they are outside this verdict. ★ COVERAGE OF THIS VERDICT: it grades this repository's Hex package dependencies and nothing else. The repository also declares a Python pyproject.toml/requirements.txt (pip/uv/Poetry), and the licences of those dependencies were NOT read by this pass — a gap in this engine's coverage, not a statement about them. So this result says the graded closure carries no banned licence; it does NOT say this repository's licensing is clear.
What it measures: Files that change often and are also complex — the riskiest hotspots.
Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.
Resolve the 2 Hotspot finding(s) in Churn × Complexity Hotspots — start with aehttp_dispatch_ext.erl, aec_tx_pool.erl. — One of this dimension's main actionable groups (2 warning-level).
Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D16 · Bus Factor9.5 / 10Exemplary✓ Tool-verified
What it measures: Whether knowledge is concentrated in too few people (the "bus factor").
Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.
8 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is apps/aefate/src/aefa_stores.erl. Counted over 167 of the 304 production source files in this repository: 80 are under the ~2,400-byte size floor this dimension measures over, and the remaining 57 have no attributable history left to measure.
Off-boarding risk: anonymized user #1
Further sole-owners (lower concentration)
✓ On the Gold path — maintain.
Detailed fixes: d16_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.
Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.
241 deducted task-comment markers across 97201 LoC (0.2/KLoC) → score 9.5. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
TodoComment · ×230apps/aeapi/src/aeapi.erl:118
FixmeComment · ×11apps/aeapi/src/aeapi.erl:347
What to do
Resolve the 230 TodoComment finding(s) in Explicit Debt — start with aesc_fsm.erl (27), aec_consensus_hc.erl (15), aestratum_session.erl (10). — One of this dimension's main actionable groups (230 warning-level).
Resolve the 11 FixmeComment finding(s) in Explicit Debt — start with aehttp_parent_connector_tests.erl (2), aeprimop.erl (2), aeapi.erl. — One of this dimension's main actionable groups (11 warning-level).
Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.
The repository's root README (Aeternity node) and its docs/ subdirectory are both excellent: the former gives a clear overview of what the project is (a new blockchain for æpps), its main features (smart-contract state-channels, built-in oracle, naming system, Erlang), and an overview of installation and usage; the latter documents the repository as a whole with a comprehensive index covering every directory's README. The OTP_patches/README, rosetta/, data/aecore/.lima/, and SUMMARY.md are focused docs for the otp_patches/ and rosetta/ directories (emergency patching, Rosetta API implementation, token migration contract), each complete with usage examples and an outline of what follows. The repository's documentation is comprehensive: the READMEs for each directory are complete (installation, usage examples) and cross-reference architecture/Docs markdown files. The Debian packaging guide is thorough with a note that it implies Ubuntu and an explicit list of Debian docs to read; the Docker guide is well written with install steps and links to networking docs; fork-resistance, garbage collection, hacking, hardware requirements, hyperchains, and installation are all fully present and cross-referenced. The only unifying gap is the absence of a single overview document (the root README) for the project as a whole, but each directory's own README explains what it does. This repository is well documented: the READMEs describe each directory's purpose and install/usage for readers, while architecture/design docs (133 markdown files) cover the project's structure, build system, dependency model, and testing strategy. The alpha note in stratum.md and the clipped test-suite sections are consistent with the document's own status; no missing overview, installation, or contribution guidance is shown by any document.
✓ On the Gold path — maintain.
Detailed fixes: d19_recommendation.md.
Do you agree with this assessment?
D20 · ADR Quality0.0 / 10Critical✓ Tool-verified
What it measures: Whether architecture decisions are recorded well (context, decision, consequences).
Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.
What it measures: Whether names — types, methods, variables — are clear and consistent.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.
What it measures: How far you must trace to follow a call — low indirection and co-located slices read easier.
Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps. C# also names each pass-through layer (a class whose every public method only forwards its own parameters to one collaborator) as a located finding; the score is not affected.
Coverage: Slice locality from the first namespace segments, SAMPLED (≤400 methods) — not exhaustive.
0 % of calls cross a namespace and 0 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.
Method: REDACTED scan via TWO gitleaks detect passes in an isolated checkout — the full git history, then a second --no-git pass over the working tree as it stands — merged and de-duplicated by (rule, file, line); each match flagged High. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side — unscored and excluded from the lens, never a hedged middling score.
1 finding(s): 0 critical, 1 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
REDACTED
REDACTED
What to do
Resolve the 1 REDACTED finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d28_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.
Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.
Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).
4 finding(s): 0 critical, 4 high, 0 medium, 0 low. semgrep hit a parse error in 1 file(s) — `scripts/aeternity_bin` (line 567) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
REDACTED
REDACTED
What to do
Resolve the 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any dependency has a known published vulnerability (CVE), direct or transitive, in ANY ecosystem the repository declares — Dart pub, Elixir and Erlang via Hex, Go modules, Java and Kotlin via Maven/Gradle, JavaScript/npm, .NET/NuGet, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift.
Method: Dependency-CVE scan across every ecosystem the repository declares, scored ONCE. Three sources are unioned and deduplicated by advisory identity (rule id + alias closure, CVE<->GHSA) scoped to package+version, keeping the worst severity: `osv-scanner --recursive` over osv.dev for Dart pub, Elixir/Hex (and Erlang, whose `rebar.lock` syft first converts to a CycloneDX SBOM the scanner reads, with rows attributed back to the lock), Go, Java and Kotlin via Maven/Gradle (and Scala, whose sbt build's pinned direct declarations are written into a CycloneDX SBOM the scanner reads, with rows attributed back to the build file), npm, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift; `trivy fs --scanners vuln` for npm lockfiles; and `dotnet list package --vulnerable --include-transitive` for NuGet (with per-advisory collapse of the project x target-framework fan-out), plus a DECLARED-dependency arm that resolves a published gem's gemspec against rubygems.org where no Gemfile.lock is committed. `SeverityScore(c,h,m,l, normalizer 8.0)`. NotApplicable only when NO ecosystem is readable; if any applicable ecosystem could not be scanned the findings are REPORTED and the score is withheld. Supersedes the npm and OSV arms, retired 2026-09-05.
Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
Resolve the 4 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4). — One of this dimension's main actionable groups (4 warning-level).
Resolve the 2 Low IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-level).
Detailed fixes: d31_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling. A non-source file is never a coupling PARTICIPANT either: documentation, schemas, config and data files are dropped with the rest, so a code↔docs pair — a command and the reference page that restates it — is not reported however strongly the two co-change; nor is coupling that runs THROUGH a build step or config file.
Resolve the 1 Boundary-crossing change coupling finding(s) in Change Coupling — start with aec_parent_chain_cache.erl. — One of this dimension's main actionable groups (1 issue-level).
Resolve the 2 Change coupling finding(s) in Change Coupling — start with aehttpc_aeternity.erl, aec_conductor.erl. — One of this dimension's main actionable groups (2 warning-level).
Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the build pipeline provides supply-chain integrity — generated provenance/attestation, signed artifacts (cosign/sigstore), an SBOM, and pinned build actions. Presence of the configuration, not a runtime guarantee.
Method: Supply-chain provenance/signing read deterministically from CI/build config (.github/workflows, .gitlab-ci.yml, azure-pipelines, Jenkinsfile, .circleci) + the release surface: four signals — generated provenance/attestation (SLSA/in-toto/actions-attest), artifact signing (cosign/sigstore/gitsign), an SBOM (syft/sbom-action/*.spdx.json/*.cdx.json), and SHA-pinned build actions — scored 10·present/denom. NotApplicable without a build pipeline. Detects configuration presence, not runtime enforcement.
What it measures: Whether any dependency the repository declares is published as MALICIOUS rather than merely vulnerable — a package that is an attacker's work, in any ecosystem osv-scanner reads. Scored apart from D30 because the answer is binary: there is no safe version to upgrade to, and the fix is to remove the package and rotate every credential it could have read.
Method: The same dependency scan D30 reads, partitioned on the scanner's own classification rather than rescanned: a row is MALICIOUS when its id is in the `MAL-` space (the ossf/malicious-packages feed) OR its `database_specific.cwe_ids` carries `CWE-506` ("Embedded Malicious Code"). Both channels are structural; the summary text is deliberately NOT read, because a malicious-package record whose summary says only "Critical severity vulnerability" is a real shape ([GHSA redacted]) and a text matcher misses it. Scored BINARY: any surviving row is 0, whatever its severity and however many CVEs sit beside it — a hostile dependency is not a quantity. Applicability and degradation are D30's: NotApplicable only when no ecosystem is readable, and an unscannable ecosystem degrades rather than reading clean. SCORED, not informational.
What it measures: Whether anyone still ships security patches for the platform this repository RUNS ON — the runtime it pins and the framework majors its own constraints hold it to. Separate from D12 because the question differs: a current Django on an end-of-life Python is perfectly up to date and completely unsupported, and the fix is a migration rather than a version bump. What the repository says it merely SUPPORTS is never charged.
Method: End-of-life PLATFORM read from the repository's own declarations and graded against a FROZEN, dated table of vendor support dates — no network, no feed, no API, so this dimension answers identically inside a closed scan fence. Two subjects: a RUNTIME the project pins (a single or all-end-of-life TargetFramework, a .nvmrc or .python-version, a requires-python CAP) and a FRAMEWORK major a dependency constraint cannot move off (a caret, tilde or exact version; `vue@^2.7.16` pins Vue 2). A FLOOR is deliberately never charged — `requires-python = ">=3.8"` states what a package SUPPORTS, not what it runs on — and a multi-target project is charged only when EVERY target is out of support. Runtime 4.0/product capped 8.0, framework 1.5 capped 4.5. The table is safe to freeze because a statement about support that ended in the past cannot become false: it loses recall as it ages, never precision, and a test asserts every entry predates the freeze date. Disjoint from D31 (a container image's OS layer) and D29 (the toolchain a CI workflow installs). Abstains when the repository declares no platform this pass reads — never scores it clean.
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified. How each file's role is decided, because the split is only as good as that: a generated name or a build-output tree makes it Generated, a test project makes it Test, and otherwise the file's NAMESPACE and PATH words are matched against fixed vocabularies in a fixed ORDER — domain, then infrastructure, then application — so a file whose words hit two layers is counted under the earlier one. A production file matching none of them counts as application, so that share reads 'application or unclassified' rather than a measured application layer. Roles come from naming convention, never from what the code does. On this repository the split was taken from the source tree on disk rather than from a loaded .NET workspace, so a file's role is decided by its PATH segments alone — no declared namespace was available to add to the evidence — and generated output is excluded from the census entirely rather than counted as a generated share.
Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.
Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.
What to do
The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).
Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.
Other · Architecture — Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) — the clean-architecture dependency rule, checked across the project graph.
Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.
Do you agree with this assessment?
AX8 · Test isolation10.0 / 10Exemplary✓ Tool-verified
Other · Architecture — Whether production projects stay free of references to test projects — tests may depend on production, never the reverse.
Method: Csproj graph: each production project checked for references to test projects (identified by test-framework presence, not name). Zero violations is clean. Deterministic.
Other · Architecture — Whether read (query) handlers stay side-effect-free — a query that writes persistent state or raises events breaks CQS and makes reads unsafe to retry, cache, or route to a read replica.
Method: Roslyn scan: CQRS handlers classified query-vs-command by interface (IQueryHandler/ICommandHandler/IRequestHandler<TQuery,TResult>) and name convention (*Query/Get*/Find* vs *Command); each query handler's body checked for persistent-state writes (SaveChanges/repository Add-Update) or event publishes by resolved invocation. Deterministic, type-level, exhaustive over the detected handlers.
Coverage: Population: CQRS handlers identified by IQueryHandler/ICommandHandler/IRequestHandler interface + *Query/Get*/Find*/*Command NAME convention; query purity then checked exhaustively within that set — a query handler using neither convention is invisible, and mutation is a resolved persistence/publish CALL, not full dataflow.
Other · Event Sourcing — Whether the event-sourcing replay fold reconstructs state purely from the event (no wall clock, UUID or randomness) so replay is reproducible.
Method: Roslyn syntax scan (event-sourcing gated): Apply/When folds checked for forbidden tokens (DateTime.Now, Guid.NewGuid, Random, IO), stripped of comments/strings. Deterministic, hard fact per fold.
Other · Event Sourcing — Whether persisted events stay immutable (never rewritten in place).
Method: Roslyn scan (event-sourcing gated): persisted events checked for public setters; immutability verified per property/field. Deterministic, hard fact.
Maturity · Maturity — Whether the repo and its projects have a README, and whether it's substantive and current.
Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.
58 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
What to do
Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
Add a README to the 2 of 3 project(s) that lack one — worth up to 1.3 pts.
Review the README against recent changes; refresh the parts that drifted.
Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.
Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.
No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Maturity · Maturity — Whether the README actually describes the code that exists (LLM-judged, advisory).
Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.
docs/build-windows.md names `scripts/windows/msys2_prepare.bat`, but no file or folder `scripts/windows/msys2_prepare.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:46
docs/build-windows.md names `scripts\windows\install_msys2.bat`, but no file or folder `scripts/windows/install_msys2.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:59
docs/build-windows.md documents the environment variable `WIN_MSYS2_ROOT`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:64
docs/build-windows.md names `scripts\windows\install_erlang.bat`, but no file or folder `scripts/windows/install_erlang.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:94
docs/build-windows.md names `scripts/windows/msys2_prepare`, but no file or folder `scripts/windows/msys2_prepare` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:133
docs/build-windows.md documents the environment variable `MSYS_INCLUDE_PATH`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:169
docs/build-windows.md names `scripts/windows/msys2_shell.bat`, but no file or folder `scripts/windows/msys2_shell.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:183
docs/build-windows.md documents the environment variable `WIN_OTP_PATH`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:189
docs/build-windows.md documents the environment variable `ERTS_VERSION`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:191
docs/build-windows.md names `.circleci\windows\build.cmd`, but no file or folder `.circleci/windows/build.cmd` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/build-windows.md:205
docs/debian_ubuntu_packaging.md documents the environment variable `DEB_BUILD_MAINT_OPTIONS`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/debian_ubuntu_packaging.md:204
docs/hyperchains.md runs `npm run dev`, but no package.json declares a `dev` script. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/hyperchains.md:85
docs/rebar.md names `apps/app1/`, but no file or folder `apps/app1` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/rebar.md:66
docs/rebar.md names `apps/app2/`, but no file or folder `apps/app2` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/rebar.md:67
docs/testing.md links to `../tree/master/apps/aecore/test/`, but `tree/master/apps/aecore/test` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/testing.md:30
docs/testing.md links to `../tree/master/apps/aecore/test/aec_peers_tests.erl`, but `tree/master/apps/aecore/test/aec_peers_tests.erl` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/testing.md:52
docs/testing.md links to `../tree/master/test/`, but `tree/master/test` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/testing.md:54
docs/testing.md links to `User-Acceptance-testing`, but `docs/User-Acceptance-testing` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/testing.md:152
What to do
Reconcile the README with reality: docs/build-windows.md names `scripts/windows/msys2_prepare.bat`, but no file or folder `scripts/windows/msys2_prepare.bat` exists; docs/build-windows.md names `scripts\windows\install_msys2.bat`, but no file or folder `scripts/windows/install_msys2.bat` exists; docs/build-windows.md documents the environment variable `WIN_MSYS2_ROOT`, but no code, script or configuration file names it; docs/build-windows.md names `scripts\windows\install_erlang.bat`, but no file or folder `scripts/windows/install_erlang.bat` exists; docs/build-windows.md names `scripts/windows/msys2_prepare`, but no file or folder `scripts/windows/msys2_prepare` exists.
Readiness · Readiness — Whether an automated pipeline builds and tests every change.
Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.
Do you agree with this assessment?
P10 · Library API & versioning10.0 / 10Exemplary○ Nothing flagged
Readiness · Readiness — For a library: a deliberate (small) public API surface and explicit semantic versioning so consumers can depend on it safely.
Method: Roslyn scan: public API surface area and semantic-versioning markers (SemVer attributes, changelog entries) for libraries; off .NET, a library is the ecosystem's publication act (an npm package that is not private and names an entry point, a PyPI distribution with a build system, a Rust library crate, a Maven/Gradle module that publishes, a Go module with no package main, a gemspec, a Composer library, a SwiftPM library product, a pub.dev or Hex package), its surface is the share of types the language model records as public (Rust, Swift, Java, Kotlin, Go, Dart; not measured where the model records no type visibility or, as in TypeScript, only module-level export), and its version is read from the manifest, a semver CHANGELOG, release tooling or semver git tags. Exhaustive, deterministic.
Do you agree with this assessment?
P2 · Observability7.5 / 10Strong✓ Tool-verified
Readiness · Readiness — Whether the code is diagnosable in production — structured logging, tracing/metrics, health checks.
Only 1/2 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `apps/aefate`.
What to do
Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
Add a health-check endpoint (a /health handler in your cowboy dispatch) so orchestrators and load balancers can probe liveness/readiness.
Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).
Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step — in this repository's own ecosystem. Exhaustive, deterministic.
What to do
Enable Dependabot/Renovate or a dependency-review gate.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
Readiness · Readiness — Whether releases are automated and safely reversible (probes, rolling updates, approval gates) — from manifests/pipeline files, not the live environment.
Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.
Do you agree with this assessment?
P5 · DR & Backup3.0 / 10Weak✓ Tool-verified
Readiness · Readiness — Whether disaster recovery is planned and codified — backups, geo-recovery, RTO/RPO, persistence guarantees — from IaC + container manifests + docs, never the live cloud.
Method: Filesystem scan: disaster recovery, backup, geo-recovery, RTO/RPO, persistence guarantees from IaC, manifests, and docs. Exhaustive, deterministic, never a live environment.
What to do
Codify backups + geo-recovery in IaC (snapshot/replication/geo-redundant) to back the DR plan.
Enable purge protection / soft-delete (and prevent_destroy on critical resources) so data stores can't be lost to an accidental or malicious delete.
Readiness · Readiness — Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.
Method: Source scan: outbound HTTP clients and what bounds them — resilience handlers (Polly, AddStandardResilienceHandler) on .NET; on Go, the JVM, Python, JavaScript/TypeScript, Ruby, PHP, Rust, Elixir, Swift, Dart and Erlang, a timeout, deadline, retry or breaker beside each call, or a process-wide client default (a framework-wide deadline such as Drupal core's, Laravel's or actix's awc counts). Exhaustive, deterministic.
Other · Code Health — Whether a value the caller is invited to supply is the value the type actually uses — a constructor parameter stored in a private field that nothing ever reads while the default it was given is spelled out a second time at the site that should have read it, a keyed lookup that falls back to a different setting than the one its key names while the same type falls back to the matching one for that same key, or a culture-sensitive parse given no format provider by a type that feeds its own settable culture to the same kind of parse elsewhere, or a number an entry point writes to standard output under the host's culture while the same entry point formats with the invariant culture elsewhere. Either way, every caller who supplies a value silently gets something else.
Method: Roslyn syntax: private instance fields of a non-partial type assigned in a constructor from one of its own parameters with a `??` fallback, checked for whether anything in the type body reads the field and whether that same fallback expression is spelled out again outside the constructor; and `??` fallbacks onto a member access from a lookup call carrying exactly one string literal, grouped by that key across the type and checked for a fallback member whose folded name disagrees with the key while a sibling site for the same key agrees with it. On a repository with no .NET source the first two arms read JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `#x`, `private` or `private` parameter-property instance field filled in the constructor from a parameter (or one member of one) through `??`/`||` or a parameter default, never read anywhere in the file by name, whose constructed default is spelled again in the class body; and `lookup("key") ?? s.member` grouped by key per class, or per module outside every class. The culture arm has no JavaScript counterpart: its parses take no locale. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X27 · Collection changed while being enumerated10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a walk over an ETS table leaves the key it stands on alone — Erlang's own lists and maps are values no body can change, but an ETS key traversal asks the table for the key after the current one, so on a `set`, `bag` or `duplicate_bag` that is not fixed with `ets:safe_fixtable/2`, deleting the current key and then calling `ets:next/2` (or `ets:prev/2`) from it raises `badarg` and the rest of the table is never visited.
Method: Roslyn syntax + semantics: `foreach` statements whose body calls a structural mutator (`Add`/`Remove`/`Clear`/`Insert`/…) on the very expression the loop is enumerating. Two arms. ARM A — the source is a concrete fragile BCL collection, or a live `Keys`/`Values` view over one, and the mutator resolves to that same collection's own member; concurrent and immutable collections and arrays are outside the population by construction, since their enumerators survive a structural change. ARM B — the source is an argument-less accessor CALL on a receiver whose body is in source: the accessor must return a stored field VERBATIM and a sibling member must structurally change that same field, both read off the implementations rather than from the members' names. A mutation the loop provably exits immediately after (`break`/`return`/`throw`/`goto`), or one written inside a nested loop or a lambda, is counted and never reported. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X28 · Index access outside its own emptiness guard10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a condition that tests a value for emptiness indexes that same value only where the test holds — an `||` written one parenthesis too far to the left leaves an index access outside the guard beside it, so the empty case the guard exists to anticipate reaches the index and throws.
Method: Roslyn syntax only, no semantic model: the OUTERMOST `&&`/`||` of every boolean condition, read for a symbol the condition tests for emptiness (`string.IsNullOrEmpty`/`IsNullOrWhiteSpace`, a `Length`/`Count` comparison against a literal, `Any()`, a `Length`/`Count` pattern, or a comparison against `""`) and ALSO indexes. Each `symbol[...]` access is placed by a boolean-reachability walk from the access up to the outermost connective: an access is COVERED when some enclosing step has it in the right operand and the left operand, under the truth value that step forces, proves the symbol non-empty — a recursion over `&&`/`||` whose true- and false-directions are asymmetric. A finding needs BOTH an uncovered access and a covered one on the same symbol in the same condition, which is the agreeing twin that separates a misplaced parenthesis from an unrelated length test. Bare index accesses with no emptiness test in the condition are neither counted nor reported; a non-identifier receiver and a lambda nested inside the condition are outside the population. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.
Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.
`catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×23) — apps/aechannel/src/aesc_utils.erl:156, apps/aechannel/src/aesc_session_noise.erl:422, apps/aecontract/src/aect_contracts.erl:463, …
`catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×14) — apps/aechannel/src/aesc_utils.erl:1185, apps/aecore/src/aecore_env.erl:93, apps/aecore/src/aec_peers.erl:621, …
`catch _Type:_What` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×2) — apps/aecore/src/aec_preset_keys.erl:185, apps/aecore/src/aec_preset_keys.erl:198
`catch _E:_R:_Stack` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — apps/aecore/src/aec_block_generator.erl:76
What to do
Swallowed exception (caught, then discarded)
Do you agree with this assessment?
Reference — by lens
The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.
Unscored — 2 check(s) recorded observations but carry no score
These checks ran and found something, but they do not carry a score — either by design (an advisory check reports evidence rather than grading it) or because they could not be scored here. They are excluded from the score for that reason, not because there was nothing to see.
X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
X31 Test-only surface in a production module — 9 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
These checks grade a working control, and the repository shows no evidence of one. That is deliberately not scored as a zero: a repository cannot show an ops runbook, a database TTL or an infrastructure-side audit log, so absence of evidence here is not evidence the control is missing. It is also not a statement that the check is irrelevant to this codebase — the thing it grades applies; we just could not see it. Excluded from the score either way.
C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
Not included — 70 check(s) not relevant to this codebase
These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.
AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
AX1 Captive dependencies — Not applicable: the BEAM has no dependency-injection container — state lives in processes, and no process is handed an instance whose lifetime another one scopes; this repository's JavaScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
AX2 Stateful singletons — Not applicable: Erlang processes share no mutable memory — state lives in a process's own mailbox — so there is no shared object to race on.
AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
AX7 Slice cohesion — not applicable — not a vertical-slice architecture
AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
AXR1 Runtime accessibility — docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/bui…; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
D10 Test Quality — ~96378 lines of test source are present (.erl) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
D11 Test Reliability — Test reliability not included — the .erl suite was found but not re-run
D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
D24 Comment Value — No inline comments to assess — comment value is not applicable here.
D25 ADR Conformance — no ADRs to check
D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
D8 Code Coverage — Coverage not included — suite not readable by the collector
D9 Test Distribution — Test source is present (.erl) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (212 value object(s))
ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`rebar3 do eunit --cover, cover` (or covertool for Cobertura XML)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for `erlperf:run`/`compare`/`benchmark`/`time` calls, a common_test `benchmark_data` event, `bench_*` functions in a `bench_*.erl` module where rebar.config installs rebar3_bench, or erlperf or rebar3_bench in a rebar.config, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
PF2 Allocation hygiene — Not applicable: Erlang runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
PF3 Async & latency hygiene — Not applicable: Erlang has no async/await function colour, so there is no asynchronous code for a blocking call to stall.
S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X12 Unreachable branch — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X13 Undrained process stream — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X14 Bypassable address classification — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X15 Unvalidated length from an untrusted reader — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X16 Unfloored truncation loop — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X17 Uncapped recursion over a caller-supplied document — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X18 Disposal-pattern correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X19 Unrestored process-global state — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
X21 Side-effecting pattern guard — Not applicable: this check looks for a pattern guard or `case` label that increments, decrements or assigns while the switch is deciding whether it matches, and in this repository's languages none can. An Erlang guard admits only comparisons, arithmetic and guard BIFs — the compiler rejects anything with an effect — and a variable is bound exactly once. Not a gap in the analyzer and not a finding about your code.
X22 Contradicted release guard — Not applicable: this check looks for a method whose returned value contradicts the flag its `finally` reads to decide whether to give back a lock it took, and in this repository's languages the body cannot set a flag that its cleanup reads. Erlang will not compile it: a variable bound inside `try` is "unsafe" in its `after` clause, so the body cannot record a handoff where the cleanup can read it. Not a gap in the analyzer and not a finding about your code.
X23 Unguarded diagnostic materialisation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X24 Document value interpolated into markup unescaped — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. Erlang processes share no heap: a value sent to another process arrives as a copy, so no collection is reachable from two processes at once. Not a gap in the analyzer and not a finding about your code.
X29 Per-element action decided by a fixed element — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X30 Support guard that admits what it rejects — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X5 Nullable reference types — Not applicable: this check asks whether the null-typed discipline a language offers is switched on, and how much of that the assertion operator takes back, and in this repository's languages there is no such switch and no such operator. Erlang has no null: every variable is bound, absence is a value you pattern-match (`undefined`, `nil`, the error tuples), and there is no static type checker whose null warning could be turned on or off. Not a gap in the analyzer and not a finding about your code.
X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X7 Silent fallback defaults — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.
Boundary-crossing change coupling: aec_parent_chain_cache.erl ↔ aehttpc_aeternity.erl apps/aecore/src/aec_parent_chain_cache.erl:1— `apps/aecore/src/aec_parent_chain_cache.erl` (context aecore) and `apps/aehttp/src/aehttpc_aeternity.erl` (context aehttp) sit in DIFFERENT parts of the tree yet change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `9238eb8b` PC/CC speed sync (#4406); `cc51f948` #4394 Removed all HC Commitment code (#4409); `bfef4889` Initial version of epochs (#4379) — run `git show` on any of them.
TodoComment apps/aeapi/src/aeapi.erl:118— %% TODO: check hardcoding — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/bench/aesc_bench_SUITE.erl:398— %% TODO: Refactor remaining check_info calls - this one needed to be refactored together — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/test/aesc_fsm_SUITE.erl:1155— %% TODO: Refactor remaining check_info calls - this one needed to be refactored together — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/bench/aesc_bench_SUITE.erl:399— %% TODO: with state cache encryption because the tests failed randomly because of it — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/test/aesc_fsm_SUITE.erl:1156— %% TODO: with state cache encryption because the tests failed randomly because of it — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/bench/aesc_bench_SUITE.erl:621— %% TODO: Somehow there is a CI only race condition which rarely occurs in — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/test/aesc_fsm_SUITE.erl:2522— %% TODO: Somehow there is a CI only race condition which rarely occurs in — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_state_cache.erl:9— %%% TODO: Protect the state in case of an unexpected power failure — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_state_cache.erl:10— %%% TODO: for instance allow the user or a delegate to provide the missing state — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_session_noise.erl:88— %% TODO: improve type spec — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_session_noise.erl:485— %% TODO: extract/check something from FinalState? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_offchain_tx.erl:118— %% TODO: implement checks relevant to off-chain — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_fsm.erl:418— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_fsm.erl:5464— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_fsm.erl:5468— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_fsm.erl:5469— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aehttp/src/aehttp_dispatch_ext.erl:730— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aehttp/src/aehttp_dispatch_ext.erl:735— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aehttp/test/aehttp_integration_SUITE.erl:412— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aehttp/test/aehttp_devmode_SUITE.erl:387— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aevm/src/aevm_opcodes.erl:68— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aevm/src/aevm_opcodes.erl:69— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aevm/src/aevm_opcodes.erl:162— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aevm/src/aevm_opcodes.erl:164— %% TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment apps/aechannel/src/aesc_fsm.erl:591— %% TODO: try posting the co-signed tx — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FileTooLong: src/aesc_fsm.erl apps/aechannel/src/aesc_fsm.erl— FileTooLong — 5052 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 372 functions. The bar is 500 significant lines; this is 4552 over it, 10.10× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aefa_fate_op.erl apps/aefate/src/aefa_fate_op.erl— FileTooLong — 2810 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 153 functions. The bar is 500 significant lines; this is 2310 over it, 5.62× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aeprimop.erl apps/aeprimop/src/aeprimop.erl— FileTooLong — 2136 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 134 functions. The bar is 500 significant lines; this is 1636 over it, 4.27× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_db.erl apps/aecore/src/aec_db.erl— FileTooLong — 1598 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 191 functions. The bar is 500 significant lines; this is 1098 over it, 3.20× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_peers.erl apps/aecore/src/aec_peers.erl— FileTooLong — 1558 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 150 functions. The bar is 500 significant lines; this is 1058 over it, 3.12× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_peer_connection.erl apps/aecore/src/aec_peer_connection.erl— FileTooLong — 1465 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 153 functions. The bar is 500 significant lines; this is 965 over it, 2.93× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aesc_chain_watcher.erl apps/aechannel/src/aesc_chain_watcher.erl— FileTooLong — 1411 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 145 functions. The bar is 500 significant lines; this is 911 over it, 2.82× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_tx_pool.erl apps/aecore/src/aec_tx_pool.erl— FileTooLong — 1400 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 157 functions. The bar is 500 significant lines; this is 900 over it, 2.80× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_peers_pool.erl apps/aecore/src/aec_peers_pool.erl— FileTooLong — 1344 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 121 functions. The bar is 500 significant lines; this is 844 over it, 2.69× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_conductor.erl apps/aecore/src/aec_conductor.erl— FileTooLong — 1322 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 123 functions. The bar is 500 significant lines; this is 822 over it, 2.64× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_chain_state.erl apps/aecore/src/aec_chain_state.erl— FileTooLong — 1305 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 131 functions. The bar is 500 significant lines; this is 805 over it, 2.61× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_sync.erl apps/aecore/src/aec_sync.erl— FileTooLong — 1239 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 127 functions. The bar is 500 significant lines; this is 739 over it, 2.48× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_consensus_hc.erl apps/aecore/src/aec_consensus_hc.erl— FileTooLong — 1166 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 126 functions. The bar is 500 significant lines; this is 666 over it, 2.33× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aevm_eeevm.erl apps/aevm/src/aevm_eeevm.erl— FileTooLong — 1111 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 611 over it, 2.22× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aehttp_dispatch_ext.erl apps/aehttp/src/aehttp_dispatch_ext.erl— FileTooLong — 1061 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 561 over it, 2.12× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aesc_utils.erl apps/aechannel/src/aesc_utils.erl— FileTooLong — 1058 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 71 functions. The bar is 500 significant lines; this is 558 over it, 2.12× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aehttp_helpers.erl apps/aehttp/src/aehttp_helpers.erl— FileTooLong — 1027 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 73 functions. The bar is 500 significant lines; this is 527 over it, 2.05× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aeu_mp_trees.erl apps/aeutils/src/aeu_mp_trees.erl— FileTooLong — 1025 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 98 functions. The bar is 500 significant lines; this is 525 over it, 2.05× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/sc_ws_api_jsonrpc.erl apps/aehttp/src/sc_ws_api_jsonrpc.erl— FileTooLong — 849 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 349 over it, 1.70× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aefa_chain_api.erl apps/aefate/src/aefa_chain_api.erl— FileTooLong — 832 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 332 over it, 1.66× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_headers.erl apps/aecore/src/aec_headers.erl— FileTooLong — 829 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 73 functions. The bar is 500 significant lines; this is 329 over it, 1.66× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aehttp_dispatch_rosetta.erl apps/aehttp/src/aehttp_dispatch_rosetta.erl— FileTooLong — 820 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 320 over it, 1.64× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aevm_ae_primops.erl apps/aevm/src/aevm_ae_primops.erl— FileTooLong — 776 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 276 over it, 1.55× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_trees.erl apps/aecore/src/aec_trees.erl— FileTooLong — 755 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 85 functions. The bar is 500 significant lines; this is 255 over it, 1.51× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
FileTooLong: src/aec_vm_chain.erl apps/aecore/src/aec_vm_chain.erl— FileTooLong — 746 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 80 functions. The bar is 500 significant lines; this is 246 over it, 1.49× the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them.
Swallowed exception (caught, then discarded) apps/aechannel/src/aesc_utils.erl:156— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aechannel/src/aesc_utils.erl:1185— `catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aechannel/src/aesc_session_noise.erl:422— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecontract/src/aect_contracts.erl:463— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aecore_env.erl:93— `catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_vm_chain.erl:381— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_vm_chain.erl:413— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_vm_chain.erl:499— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_tx_pool_sync.erl:352— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_tx_pool_sync.erl:397— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_preset_keys.erl:185— `catch _Type:_What` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_preset_keys.erl:198— `catch _Type:_What` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_poi.erl:113— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_poi.erl:124— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_peers.erl:621— `catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_peer_connection.erl:821— `catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_peer_connection.erl:1247— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_peer_connection.erl:1274— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_peer_connection.erl:1415— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_peer_connection.erl:1431— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_peer_connection.erl:1434— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_metrics_lib.erl:71— `catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_metrics.erl:72— `catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_headers.erl:676— `catch _:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) apps/aecore/src/aec_db_gc.erl:761— `catch error:_` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
TooManyFunctions: aec_consensus_bitcoin_ng apps/aecore/src/aec_consensus_bitcoin_ng.erl:7— TooManyFunctions — 69 functions. The bar is 30 functions; this is 39 over it, 2.30× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aesc_session_noise apps/aechannel/src/aesc_session_noise.erl:2— TooManyFunctions — 68 functions. The bar is 30 functions; this is 38 over it, 2.27× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_blocks apps/aecore/src/aec_blocks.erl:8— TooManyFunctions — 58 functions. The bar is 30 functions; this is 28 over it, 1.93× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_eoe_gen_vote apps/aecore/src/aec_eoe_gen_vote.erl:8— TooManyFunctions — 54 functions. The bar is 30 functions; this is 24 over it, 1.80× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aeo_state_tree apps/aeoracle/src/aeo_state_tree.erl:8— TooManyFunctions — 54 functions. The bar is 30 functions; this is 24 over it, 1.80× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_metrics apps/aecore/src/aec_metrics.erl:1— TooManyFunctions — 51 functions. The bar is 30 functions; this is 21 over it, 1.70× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_consensus_on_demand apps/aecore/src/aec_consensus_on_demand.erl:7— TooManyFunctions — 47 functions. The bar is 30 functions; this is 17 over it, 1.57× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_keys apps/aecore/src/aec_keys.erl:22— TooManyFunctions — 47 functions. The bar is 30 functions; this is 17 over it, 1.57× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aeprimop_state apps/aeprimop/src/aeprimop_state.erl:8— TooManyFunctions — 47 functions. The bar is 30 functions; this is 17 over it, 1.57× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_tx_pool_sync apps/aecore/src/aec_tx_pool_sync.erl:6— TooManyFunctions — 43 functions. The bar is 30 functions; this is 13 over it, 1.43× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aevm_eeevm_store apps/aevm/src/aevm_eeevm_store.erl:9— TooManyFunctions — 42 functions. The bar is 30 functions; this is 12 over it, 1.40× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aesc_state_cache apps/aechannel/src/aesc_state_cache.erl:30— TooManyFunctions — 41 functions. The bar is 30 functions; this is 11 over it, 1.37× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aevm_eeevm_store_vm3 apps/aevm/src/aevm_eeevm_store_vm3.erl:10— TooManyFunctions — 41 functions. The bar is 30 functions; this is 11 over it, 1.37× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aect_state_tree apps/aecontract/src/aect_state_tree.erl:8— TooManyFunctions — 40 functions. The bar is 30 functions; this is 10 over it, 1.33× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aens_state_tree apps/aens/src/aens_state_tree.erl:8— TooManyFunctions — 40 functions. The bar is 30 functions; this is 10 over it, 1.33× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_block_insertion apps/aecore/src/aec_block_insertion.erl:8— TooManyFunctions — 39 functions. The bar is 30 functions; this is 9 over it, 1.30× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aeu_mtrees apps/aeutils/src/aeu_mtrees.erl:13— TooManyFunctions — 39 functions. The bar is 30 functions; this is 9 over it, 1.30× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aetx_env apps/aetx/src/aetx_env.erl:9— TooManyFunctions — 38 functions. The bar is 30 functions; this is 8 over it, 1.27× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aesc_listeners apps/aechannel/src/aesc_listeners.erl:2— TooManyFunctions — 37 functions. The bar is 30 functions; this is 7 over it, 1.23× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aesc_offchain_update apps/aechannel/src/aesc_offchain_update.erl:1— TooManyFunctions — 37 functions. The bar is 30 functions; this is 7 over it, 1.23× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aec_governance apps/aecore/src/aec_governance.erl:1— TooManyFunctions — 37 functions. The bar is 30 functions; this is 7 over it, 1.23× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aefa_stores_lima apps/aefate/src/aefa_stores_lima.erl:29— TooManyFunctions — 37 functions. The bar is 30 functions; this is 7 over it, 1.23× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aeu_plugins apps/aeutils/src/aeu_plugins.erl:1— TooManyFunctions — 37 functions. The bar is 30 functions; this is 7 over it, 1.23× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aect_call apps/aecontract/src/aect_call.erl:8— TooManyFunctions — 36 functions. The bar is 30 functions; this is 6 over it, 1.20× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
TooManyFunctions: aehttpc_doge apps/aehttp/src/aehttpc_doge.erl:2— TooManyFunctions — 35 functions. The bar is 30 functions; this is 5 over it, 1.17× the bar. The counted members are a module's functions — a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility.
Duplicated block (5 lines × 2) apps/aecore/src/aec_block_hole_candidate.erl:30— apps/aecore/src/aec_block_hole_candidate.erl:30-36 | apps/aecore/src/aec_block_key_candidate.erl:27-31 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (5 lines × 2) apps/aecore/src/aec_peers.erl:1491— apps/aecore/src/aec_peers.erl:1491-1495 | apps/aecore/src/aec_peers.erl:1503-1507 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) apps/aevm/src/aevm_data.erl:108— apps/aevm/src/aevm_data.erl:108-112 | apps/aevm/src/aevm_data_v1.erl:113-117 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) apps/aecontract/src/aect_call.erl:119— apps/aecontract/src/aect_call.erl:119-123 | apps/aeoracle/src/aeo_query.erl:241-245 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (5 lines × 2) apps/aecore/src/aec_block_insertion.erl:261— apps/aecore/src/aec_block_insertion.erl:261-265 | apps/aecore/src/aec_chain_state.erl:1211-1215 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (5 lines × 2) apps/aefate/src/aefa_stores.erl:425— apps/aefate/src/aefa_stores.erl:425-429 | apps/aefate/src/aefa_stores_lima.erl:303-307 — before extracting anything, compare `apps/aefate/src/aefa_stores.erl` and `apps/aefate/src/aefa_stores_lima.erl` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) apps/aefate/src/aefa_stores.erl:686— apps/aefate/src/aefa_stores.erl:686-690 | apps/aefate/src/aefa_stores_lima.erl:417-421 — before extracting anything, compare `apps/aefate/src/aefa_stores.erl` and `apps/aefate/src/aefa_stores_lima.erl` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) apps/aens/src/aens_state_tree.erl:391— apps/aens/src/aens_state_tree.erl:391-395 | apps/aeoracle/src/aeo_state_tree.erl:464-468 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (5 lines × 2) apps/aevm/src/aevm_data.erl:288— apps/aevm/src/aevm_data.erl:288-292 | apps/aevm/src/aevm_data_v1.erl:291-295 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) apps/aechannel/src/aesc_state_tree.erl:109— apps/aechannel/src/aesc_state_tree.erl:109-113 | apps/aecore/src/aec_accounts_trees.erl:118-122 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (5 lines × 2) apps/aecontract/src/aect_call_state_tree.erl:175— apps/aecontract/src/aect_call_state_tree.erl:175-179 | apps/aecontract/src/aect_state_tree.erl:382-386 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (5 lines × 2) apps/aehttp/src/aehttp_dispatch_ext.erl:664— apps/aehttp/src/aehttp_dispatch_ext.erl:664-668 | apps/aehttp/src/aehttp_dispatch_ext.erl:1148-1153 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) apps/aechannel/src/aesc_utils.erl:910— apps/aechannel/src/aesc_utils.erl:910-914 | apps/aechannel/src/aesc_utils.erl:917-921 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) apps/aecore/src/aec_pinning_agent.erl:189— apps/aecore/src/aec_pinning_agent.erl:189-193 | apps/aehttp/src/aehttpc_aeternity.erl:130-134 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (5 lines × 2) apps/aefate/src/aefa_stores.erl:149— apps/aefate/src/aefa_stores.erl:149-153 | apps/aefate/src/aefa_stores_lima.erl:114-118 — before extracting anything, compare `apps/aefate/src/aefa_stores.erl` and `apps/aefate/src/aefa_stores_lima.erl` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) apps/aehttp/src/sc_ws_api_jsonrpc.erl:387— apps/aehttp/src/sc_ws_api_jsonrpc.erl:387-391 | apps/aehttp/src/sc_ws_api_jsonrpc.erl:439-443 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) apps/aevm/src/aevm_ae_primops.erl:782— apps/aevm/src/aevm_ae_primops.erl:782-786 | apps/aevm/src/aevm_ae_primops.erl:819-823 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) system_test/common/helpers/aest_api.erl:176— system_test/common/helpers/aest_api.erl:176-181 | system_test/common/helpers/aest_api.erl:347-351 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) system_test/common/helpers/aest_api.erl:206— system_test/common/helpers/aest_api.erl:206-210 | system_test/common/helpers/aest_api.erl:217-221 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) system_test/common/helpers/aest_docker_api.erl:76— system_test/common/helpers/aest_docker_api.erl:76-80 | system_test/common/helpers/aest_docker_api.erl:88-92 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 2) apps/aechannel/src/aesc_channels.erl:206— apps/aechannel/src/aesc_channels.erl:206-214 | apps/aechannel/src/aesc_channels.erl:225-233 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 2) apps/aechannel/src/aesc_close_solo_tx.erl:172— apps/aechannel/src/aesc_close_solo_tx.erl:172-180 | apps/aechannel/src/aesc_slash_tx.erl:167-175 — before extracting anything, compare `apps/aechannel/src/aesc_close_solo_tx.erl` and `apps/aechannel/src/aesc_slash_tx.erl` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aechannel/src/aesc_codec.erl:207— apps/aechannel/src/aesc_codec.erl:207-215 | apps/aechannel/src/aesc_codec.erl:226-234 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 2) apps/aechannel/src/aesc_deposit_tx.erl:190— apps/aechannel/src/aesc_deposit_tx.erl:190-198 | apps/aechannel/src/aesc_withdraw_tx.erl:186-194 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (9 lines × 2) apps/aechannel/src/aesc_fsm.erl:2355— apps/aechannel/src/aesc_fsm.erl:2355-2363 | apps/aechannel/src/aesc_fsm.erl:2522-2530 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 2) apps/aehttp/src/aehttp_dispatch_ext.erl:157— apps/aehttp/src/aehttp_dispatch_ext.erl:157-165 | apps/aehttp/src/aehttp_dispatch_ext.erl:180-188 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 2) apps/aehttp/src/aehttp_dispatch_ext.erl:210— apps/aehttp/src/aehttp_dispatch_ext.erl:210-218 | apps/aehttp/src/aehttp_dispatch_ext.erl:283-291 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 2) apps/aehttp/src/aehttpc_btc.erl:146— apps/aehttp/src/aehttpc_btc.erl:146-154 | apps/aehttp/src/aehttpc_doge.erl:174-182 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aehttp/src/aehttpc_btc.erl:212— apps/aehttp/src/aehttpc_btc.erl:212-220 | apps/aehttp/src/aehttpc_doge.erl:260-268 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aehttp/src/aehttpc_btc.erl:223— apps/aehttp/src/aehttpc_btc.erl:223-231 | apps/aehttp/src/aehttpc_doge.erl:271-279 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aevm/src/aevm_data.erl:91— apps/aevm/src/aevm_data.erl:91-99 | apps/aevm/src/aevm_data_v1.erl:96-104 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:148— apps/aevm/src/aevm_eeevm_store.erl:148-156 | apps/aevm/src/aevm_eeevm_store_vm3.erl:145-153 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:312— apps/aevm/src/aevm_eeevm_store.erl:312-320 | apps/aevm/src/aevm_eeevm_store_vm3.erl:289-297 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:481— apps/aevm/src/aevm_eeevm_store.erl:481-489 | apps/aevm/src/aevm_eeevm_store_vm3.erl:465-473 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:471— apps/aevm/src/aevm_eeevm_store.erl:471-479 | apps/aevm/src/aevm_eeevm_store_vm3.erl:455-463 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) apps/aechannel/src/aesc_deposit_tx.erl:211— apps/aechannel/src/aesc_deposit_tx.erl:211-219 | apps/aechannel/src/aesc_withdraw_tx.erl:207-215 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (8 lines × 2) apps/aechannel/src/aesc_channels.erl:426— apps/aechannel/src/aesc_channels.erl:426-433 | apps/aechannel/src/aesc_channels.erl:445-452 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) apps/aechannel/src/aesc_fsm.erl:2204— apps/aechannel/src/aesc_fsm.erl:2204-2211 | apps/aechannel/src/aesc_fsm.erl:2760-2767 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) apps/aechannel/src/aesc_fsm.erl:2342— apps/aechannel/src/aesc_fsm.erl:2342-2349 | apps/aechannel/src/aesc_fsm.erl:2616-2623 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) apps/aecore/src/aec_chain_metrics_probe.erl:87— apps/aecore/src/aec_chain_metrics_probe.erl:87-94 | apps/aecore/src/aec_tx_pool_metrics_probe.erl:81-88 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (8 lines × 2) apps/aecore/src/aec_peer_connection.erl:1239— apps/aecore/src/aec_peer_connection.erl:1239-1246 | apps/aecore/src/aec_peer_connection.erl:1257-1264 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) apps/aefate/src/aefa_stores.erl:927— apps/aefate/src/aefa_stores.erl:927-934 | apps/aefate/src/aefa_stores_lima.erl:590-597 — before extracting anything, compare `apps/aefate/src/aefa_stores.erl` and `apps/aefate/src/aefa_stores_lima.erl` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) apps/aehttp/src/aehttpc_btc.erl:55— apps/aehttp/src/aehttpc_btc.erl:55-62 | apps/aehttp/src/aehttpc_doge.erl:51-58 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) apps/aevm/src/aevm_data.erl:320— apps/aevm/src/aevm_data.erl:320-327 | apps/aevm/src/aevm_data_v1.erl:323-330 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:360— apps/aevm/src/aevm_eeevm_store.erl:360-367 | apps/aevm/src/aevm_eeevm_store_vm3.erl:344-351 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) apps/aechannel/src/aesc_fsm_sup.erl:16— apps/aechannel/src/aesc_fsm_sup.erl:16-23 | apps/aechannel/src/aesc_session_noise_sup.erl:17-24 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (8 lines × 2) apps/aefate/src/aefa_stores.erl:605— apps/aefate/src/aefa_stores.erl:605-612 | apps/aefate/src/aefa_stores_lima.erl:395-402 — before extracting anything, compare `apps/aefate/src/aefa_stores.erl` and `apps/aefate/src/aefa_stores_lima.erl` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) apps/aecore/src/aec_spend_tx.erl:143— apps/aecore/src/aec_spend_tx.erl:143-150 | apps/aens/src/aens_transfer_tx.erl:114-122 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (8 lines × 2) apps/aevm/src/aevm_data.erl:216— apps/aevm/src/aevm_data.erl:216-223 | apps/aevm/src/aevm_data_v1.erl:224-231 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) apps/aevm/src/aevm_data.erl:265— apps/aevm/src/aevm_data.erl:265-272 | apps/aevm/src/aevm_data_v1.erl:268-275 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) system_test/common/helpers/aest_nodes.erl:472— system_test/common/helpers/aest_nodes.erl:472-479 | system_test/common/helpers/aest_nodes.erl:488-495 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) eqc_test/src/helpers/aeeqc_eunit.erl:10— eqc_test/src/helpers/aeeqc_eunit.erl:10-17 | eqc_test/src/helpers/aeeqc_props.erl:8-15 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (7 lines × 2) apps/aecore/src/aec_peer_connection.erl:220— apps/aecore/src/aec_peer_connection.erl:220-226 | apps/aecore/src/aec_peer_connection.erl:353-359 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) apps/aecore/src/aec_vm_chain.erl:150— apps/aecore/src/aec_vm_chain.erl:150-156 | apps/aefate/src/aefa_chain_api.erl:217-223 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (7 lines × 2) apps/aehttp/src/aehttpc_doge.erl:286— apps/aehttp/src/aehttpc_doge.erl:286-292 | apps/aehttp/src/aehttpc_doge.erl:312-318 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_data.erl:73— apps/aevm/src/aevm_data.erl:73-79 | apps/aevm/src/aevm_data_v1.erl:78-84 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_data.erl:233— apps/aevm/src/aevm_data.erl:233-239 | apps/aevm/src/aevm_data_v1.erl:241-247 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_data.erl:354— apps/aevm/src/aevm_data.erl:354-360 | apps/aevm/src/aevm_data_v1.erl:357-363 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_data.erl:362— apps/aevm/src/aevm_data.erl:362-368 | apps/aevm/src/aevm_data_v1.erl:365-371 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:212— apps/aevm/src/aevm_eeevm_store.erl:212-218 | apps/aevm/src/aevm_eeevm_store_vm3.erl:209-215 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:353— apps/aevm/src/aevm_eeevm_store.erl:353-359 | apps/aevm/src/aevm_eeevm_store_vm3.erl:337-343 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aehttp/src/aehttpc_btc.erl:286— apps/aehttp/src/aehttpc_btc.erl:286-292 | apps/aehttp/src/aehttpc_doge.erl:365-371 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aehttp/src/aehttpc_btc.erl:307— apps/aehttp/src/aehttpc_btc.erl:307-313 | apps/aehttp/src/aehttpc_doge.erl:382-388 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:160— apps/aevm/src/aevm_eeevm_store.erl:160-166 | apps/aevm/src/aevm_eeevm_store_vm3.erl:157-163 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aechannel/src/aesc_state_tree.erl:100— apps/aechannel/src/aesc_state_tree.erl:100-106 | apps/aecore/src/aec_accounts_trees.erl:109-115 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (7 lines × 2) apps/aecore/src/aec_peers.erl:1071— apps/aecore/src/aec_peers.erl:1071-1077 | apps/aecore/src/aec_peers.erl:1090-1096 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_data.erl:124— apps/aevm/src/aevm_data.erl:124-130 | apps/aevm/src/aevm_data_v1.erl:129-135 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 2) apps/aevm/src/aevm_eeevm_memory.erl:63— apps/aevm/src/aevm_eeevm_memory.erl:63-69 | apps/aevm/src/aevm_eeevm_utils.erl:63-69 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (6 lines × 2) apps/aecore/src/aec_conductor.erl:1131— apps/aecore/src/aec_conductor.erl:1131-1136 | apps/aecore/src/aec_conductor.erl:1173-1178 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) apps/aecore/src/aec_peers_pool.erl:1356— apps/aecore/src/aec_peers_pool.erl:1356-1361 | apps/aecore/src/aec_peers_pool.erl:1391-1396 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) apps/aehttp/src/aehttpc_btc.erl:94— apps/aehttp/src/aehttpc_btc.erl:94-99 | apps/aehttp/src/aehttpc_doge.erl:122-127 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aehttp/src/aehttpc_btc.erl:175— apps/aehttp/src/aehttpc_btc.erl:175-180 | apps/aehttp/src/aehttpc_doge.erl:223-228 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aevm/src/aevm_data.erl:142— apps/aevm/src/aevm_data.erl:142-147 | apps/aevm/src/aevm_data_v1.erl:147-152 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aevm/src/aevm_data.erl:280— apps/aevm/src/aevm_data.erl:280-285 | apps/aevm/src/aevm_data_v1.erl:283-288 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:221— apps/aevm/src/aevm_eeevm_store.erl:221-226 | apps/aevm/src/aevm_eeevm_store_vm3.erl:218-223 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:303— apps/aevm/src/aevm_eeevm_store.erl:303-308 | apps/aevm/src/aevm_eeevm_store_vm3.erl:280-285 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:346— apps/aevm/src/aevm_eeevm_store.erl:346-351 | apps/aevm/src/aevm_eeevm_store_vm3.erl:330-335 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aecore/src/aec_chain_metrics_probe.erl:76— apps/aecore/src/aec_chain_metrics_probe.erl:76-81 | apps/aecore/src/aec_tx_pool_metrics_probe.erl:70-75 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (6 lines × 2) apps/aens/src/aens_state_tree.erl:397— apps/aens/src/aens_state_tree.erl:397-402 | apps/aeoracle/src/aeo_state_tree.erl:470-475 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (6 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:61— apps/aevm/src/aevm_eeevm_store.erl:61-66 | apps/aevm/src/aevm_eeevm_store_vm3.erl:62-67 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:427— apps/aevm/src/aevm_eeevm_store.erl:427-432 | apps/aevm/src/aevm_eeevm_store_vm3.erl:411-416 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aehttp/src/aehttpc_btc.erl:279— apps/aehttp/src/aehttpc_btc.erl:279-284 | apps/aehttp/src/aehttpc_doge.erl:358-363 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) apps/aecore/src/aec_consensus_hc.erl:1377— apps/aecore/src/aec_consensus_hc.erl:1377-1382 | apps/aecore/src/aec_consensus_hc.erl:1411-1416 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) system_test/common/helpers/aest_docker_api.erl:378— system_test/common/helpers/aest_docker_api.erl:378-383 | system_test/common/helpers/aest_nodes.erl:872-877 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (10 lines × 2) apps/aechannel/src/aesc_codec.erl:130— apps/aechannel/src/aesc_codec.erl:130-139 | apps/aechannel/src/aesc_codec.erl:205-214 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10 lines × 2) apps/aechannel/src/aesc_fsm.erl:1114— apps/aechannel/src/aesc_fsm.erl:1114-1123 | apps/aechannel/src/aesc_fsm.erl:1369-1378 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10 lines × 2) apps/aechannel/src/aesc_fsm.erl:1826— apps/aechannel/src/aesc_fsm.erl:1826-1835 | apps/aechannel/src/aesc_fsm.erl:5547-5556 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10 lines × 2) apps/aecore/src/aec_chain_metrics_probe.erl:52— apps/aecore/src/aec_chain_metrics_probe.erl:52-61 | apps/aecore/src/aec_tx_pool_metrics_probe.erl:46-55 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (10 lines × 2) apps/aecore/src/aec_consensus_hc.erl:164— apps/aecore/src/aec_consensus_hc.erl:164-173 | apps/aecore/src/aec_consensus_hc.erl:200-209 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10 lines × 2) apps/aefate/src/aefa_stores.erl:414— apps/aefate/src/aefa_stores.erl:414-423 | apps/aefate/src/aefa_stores_lima.erl:292-301 — before extracting anything, compare `apps/aefate/src/aefa_stores.erl` and `apps/aefate/src/aefa_stores_lima.erl` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) apps/aehttp/src/aehttpc_aeternity.erl:63— apps/aehttp/src/aehttpc_aeternity.erl:63-72 | apps/aehttp/src/aehttpc_aeternity.erl:78-87 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10 lines × 2) apps/aehttp/src/aehttpc_btc.erl:124— apps/aehttp/src/aehttpc_btc.erl:124-133 | apps/aehttp/src/aehttpc_doge.erl:152-161 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) apps/aehttp/src/aehttpc_btc.erl:182— apps/aehttp/src/aehttpc_btc.erl:182-191 | apps/aehttp/src/aehttpc_doge.erl:230-239 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) apps/aehttp/src/aehttpc_btc.erl:193— apps/aehttp/src/aehttpc_btc.erl:193-202 | apps/aehttp/src/aehttpc_doge.erl:241-250 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) apps/aeoracle/src/aeo_register_tx.erl:180— apps/aeoracle/src/aeo_register_tx.erl:180-189 | apps/aeoracle/src/aeo_register_tx.erl:193-202 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10 lines × 2) apps/aevm/src/aevm_data.erl:202— apps/aevm/src/aevm_data.erl:202-211 | apps/aevm/src/aevm_data_v1.erl:210-219 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) apps/aecli/src/aecli_sup.erl:22— apps/aecli/src/aecli_sup.erl:22-31 | apps/aecore/src/aec_consensus_sup.erl:19-31 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
FixmeComment apps/aeapi/src/aeapi.erl:347— %% FIXME: Maybe add variants to decode further - aeapi:decode_contract(<<"cb_..">>, [decompile]). — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aehttp/src/aehttpc_doge.erl:253— %% FIXME: Allow this to use a different host/port so users can use a separate offline bitcoind — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aehttp/src/aehttpc_btc.erl:205— %% FIXME: Allow this to use a different host/port so users can use a separate offline bitcoind — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aehttp/src/aehttp_dispatch_rosetta.erl:490— %% FIXME: check network id is same as provided in the request? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aehttp/test/aehttp_rosetta_SUITE.erl:594— %% FIXME: Use a payable entry point to test this non 0 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aehttp/test/aehttp_parent_connector_tests.erl:35— %% FIXME: this would normally be running in the main ae node — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aehttp/test/aehttp_parent_connector_tests.erl:249— %% FIXME: this would normally be running in the main ae node — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aeprimop/src/aeprimop.erl:1911— %% FIXME: Re-evaluate whether we need to track this account for Rosetta — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment apps/aeprimop/src/aeprimop.erl:2512— % FIXME: This metric is disabled due to overload issues when the size is — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment system_test/common/aest_channels_SUITE.erl:118— %% FIXME: Remove this when this is fixed: — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `% REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment system_test/common/helpers/aest_nodes.erl:87— %% FIXME: Temporarily ignore dispatch_worker errors, remove when PT-159071812 fixes it.
Duplicated block (13 lines × 2) apps/aechannel/src/aesc_close_mutual_tx.erl:184— apps/aechannel/src/aesc_close_mutual_tx.erl:184-196 | apps/aechannel/src/aesc_settle_tx.erl:175-187 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (13 lines × 2) apps/aechannel/src/aesc_close_solo_tx.erl:191— apps/aechannel/src/aesc_close_solo_tx.erl:191-203 | apps/aechannel/src/aesc_slash_tx.erl:186-198 — before extracting anything, compare `apps/aechannel/src/aesc_close_solo_tx.erl` and `apps/aechannel/src/aesc_slash_tx.erl` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 2) apps/aehttp/src/aehttp_dispatch_ext.erl:235— apps/aehttp/src/aehttp_dispatch_ext.erl:235-247 | apps/aehttp/src/aehttp_dispatch_ext.erl:261-273 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (13 lines × 2) apps/aehttp/src/aehttpc_btc.erl:157— apps/aehttp/src/aehttpc_btc.erl:157-169 | apps/aehttp/src/aehttpc_doge.erl:185-197 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 2) apps/aehttp/src/aehttpc_btc.erl:262— apps/aehttp/src/aehttpc_btc.erl:262-274 | apps/aehttp/src/aehttpc_doge.erl:339-351 — before extracting anything, compare `apps/aehttp/src/aehttpc_btc.erl` and `apps/aehttp/src/aehttpc_doge.erl` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 2) apps/aevm/src/aevm_data.erl:340— apps/aevm/src/aevm_data.erl:340-352 | apps/aevm/src/aevm_data_v1.erl:343-355 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 2) apps/aecli/src/aecli.erl:399— apps/aecli/src/aecli.erl:399-409 | apps/aeutils/src/aeu_info.erl:49-59 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (11 lines × 2) apps/aecore/src/aec_block_fork.erl:230— apps/aecore/src/aec_block_fork.erl:230-240 | apps/aecore/src/aec_block_fork.erl:254-264 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (11 lines × 2) apps/aecore/src/aec_consensus_hc.erl:153— apps/aecore/src/aec_consensus_hc.erl:153-163 | apps/aecore/src/aec_consensus_hc.erl:187-197 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (11 lines × 2) apps/aecore/src/aec_fork_block_settings.erl:143— apps/aecore/src/aec_fork_block_settings.erl:143-154 | apps/aecore/src/aec_fork_block_settings.erl:219-229 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (11 lines × 2) apps/aevm/src/aevm_data.erl:253— apps/aevm/src/aevm_data.erl:253-263 | apps/aevm/src/aevm_data_v1.erl:256-266 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 2) system_test/common/helpers/aest_nodes.erl:661— system_test/common/helpers/aest_nodes.erl:661-671 | system_test/common/helpers/aest_nodes.erl:679-689 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) apps/aechannel/src/aesc_channels.erl:181— apps/aechannel/src/aesc_channels.erl:181-192 | apps/aechannel/src/aesc_channels.erl:199-210 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) apps/aechannel/src/aesc_channels.erl:412— apps/aechannel/src/aesc_channels.erl:412-423 | apps/aechannel/src/aesc_channels.erl:428-439 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) apps/aechannel/src/aesc_channels.erl:470— apps/aechannel/src/aesc_channels.erl:470-481 | apps/aechannel/src/aesc_channels.erl:484-495 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) apps/aecore/src/aec_preset_keys.erl:179— apps/aecore/src/aec_preset_keys.erl:179-190 | apps/aecore/src/aec_preset_keys.erl:192-203 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) apps/aevm/src/aevm_data.erl:294— apps/aevm/src/aevm_data.erl:294-305 | apps/aevm/src/aevm_data_v1.erl:297-308 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Off the main sequence: aecli — aecli: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and depended on by 1 project(s), so it's rigid to change.
Off the main sequence: aefate — aefate: abstractness 0.00, instability 0.00, distance 1.00 — an application entry point, so it is concrete by design — the distance is expected; what is worth checking is that other projects depend on it at all, since a host should be a leaf of the graph.
Off the main sequence: aeutils — aeutils: abstractness 0.04, instability 0.00, distance 0.96 — zone of pain — concrete and depended on by 5 project(s), so it's rigid to change.
Off the main sequence: aevm — aevm: abstractness 0.07, instability 0.00, distance 0.93 — zone of pain — concrete and depended on by 1 project(s), so it's rigid to change.
Off the main sequence: aetx — aetx: abstractness 0.25, instability 0.00, distance 0.75 — zone of pain — concrete and depended on by 6 project(s), so it's rigid to change.
Duplicated block (15 lines × 2) apps/aechannel/src/aesc_close_mutual_tx.erl:148— apps/aechannel/src/aesc_close_mutual_tx.erl:148-162 | apps/aechannel/src/aesc_settle_tx.erl:138-152 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (15 lines × 2) apps/aechannel/src/aesc_close_solo_tx.erl:154— apps/aechannel/src/aesc_close_solo_tx.erl:154-168 | apps/aechannel/src/aesc_slash_tx.erl:149-163 — before extracting anything, compare `apps/aechannel/src/aesc_close_solo_tx.erl` and `apps/aechannel/src/aesc_slash_tx.erl` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (15 lines × 2) apps/aechannel/src/aesc_fsm.erl:1728— apps/aechannel/src/aesc_fsm.erl:1728-1742 | apps/aechannel/src/aesc_fsm.erl:1754-1768 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (15 lines × 2) apps/aevm/src/aevm_data.erl:157— apps/aevm/src/aevm_data.erl:157-171 | apps/aevm/src/aevm_data_v1.erl:165-179 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (9–10 lines × 2) apps/aechannel/src/aesc_force_progress_tx.erl:262— apps/aechannel/src/aesc_force_progress_tx.erl:262-271 | apps/aechannel/src/aesc_force_progress_tx.erl:277-285 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9–10 lines × 2) apps/aechannel/src/aesc_set_delegates_tx.erl:192— apps/aechannel/src/aesc_set_delegates_tx.erl:192-201 | apps/aechannel/src/aesc_set_delegates_tx.erl:206-214 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9–10 lines × 2) apps/aechannel/src/aesc_utils.erl:226— apps/aechannel/src/aesc_utils.erl:226-234 | apps/aechannel/src/aesc_utils.erl:269-278 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9–10 lines × 2) apps/aecontract/src/aect_call_tx.erl:261— apps/aecontract/src/aect_call_tx.erl:261-270 | apps/aecontract/src/aect_call_tx.erl:274-282 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 3) apps/aechannel/src/aesc_deposit_tx.erl:158— apps/aechannel/src/aesc_deposit_tx.erl:158-164 | apps/aechannel/src/aesc_set_delegates_tx.erl:172-178 | apps/aechannel/src/aesc_withdraw_tx.erl:154-160 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once.
Duplicated block (7 lines × 3) apps/aechannel/src/aesc_fsm.erl:972— apps/aechannel/src/aesc_fsm.erl:972-978 | apps/aechannel/src/aesc_fsm.erl:1114-1120 | apps/aechannel/src/aesc_fsm.erl:1369-1375 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (7 lines × 3) apps/aecore/src/aec_consensus_hc.erl:658— apps/aecore/src/aec_consensus_hc.erl:658-664 | apps/aecore/src/aec_consensus_hc.erl:668-674 | apps/aecore/src/aec_consensus_hc.erl:678-684 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (7 lines × 3) system_test/common/helpers/aest_api.erl:326— system_test/common/helpers/aest_api.erl:326-332 | system_test/common/helpers/aest_api.erl:404-410 | system_test/common/helpers/aest_api.erl:440-446 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Hotspot: apps/aehttp/src/aehttp_dispatch_ext.erl apps/aehttp/src/aehttp_dispatch_ext.erl:127— apps/aehttp/src/aehttp_dispatch_ext.erl changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 209 in aehttp_dispatch_ext.handle_request_ at line 127. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-06-09..2026-09-07, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-09 23:18:38 +03:00' --until='2026-09-07 23:18:38 +03:00' --full-history --no-merges -- apps/aehttp/src/aehttp_dispatch_ext.erl`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: apps/aecore/src/aec_tx_pool.erl apps/aecore/src/aec_tx_pool.erl:460— apps/aecore/src/aec_tx_pool.erl changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in aec_tx_pool.handle_call_ at line 460. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-09..2026-09-07, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-09 23:18:38 +03:00' --until='2026-09-07 23:18:38 +03:00' --full-history --no-merges -- apps/aecore/src/aec_tx_pool.erl`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Change coupling: aehttpc_aeternity.erl ↔ aehttpc_btc.erl apps/aehttp/src/aehttpc_aeternity.erl:1— `apps/aehttp/src/aehttpc_aeternity.erl` and `apps/aehttp/src/aehttpc_btc.erl` change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are `80751970` Parent connector pinning refac (#4515); `7c5e5eb7` Parent connector return chain type (#4430); `9238eb8b` PC/CC speed sync (#4406) — run `git show` on any of them.
Change coupling: aec_conductor.erl ↔ aec_preset_keys.erl apps/aecore/src/aec_conductor.erl:1— `apps/aecore/src/aec_conductor.erl` and `apps/aecore/src/aec_preset_keys.erl` change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `8a250b91` Remove old PoS contract logic (#4456); `87a48860` Reverse key-block/micro-block order (#4434); `a5991eb4` HC: Lazy leader (#4183) — run `git show` on any of them.
Duplicated block (17 lines × 2) apps/aehttp/src/sc_ws_api_jsonrpc.erl:369— apps/aehttp/src/sc_ws_api_jsonrpc.erl:369-385 | apps/aehttp/src/sc_ws_api_jsonrpc.erl:414-430 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (17 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:369— apps/aevm/src/aevm_eeevm_store.erl:369-385 | apps/aevm/src/aevm_eeevm_store_vm3.erl:353-369 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (10–11 lines × 2) apps/aechannel/src/aesc_create_tx.erl:198— apps/aechannel/src/aesc_create_tx.erl:198-208 | apps/aechannel/src/aesc_create_tx.erl:236-245 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10–11 lines × 2) apps/aeoracle/src/aeo_query_tx.erl:186— apps/aeoracle/src/aeo_query_tx.erl:186-196 | apps/aeoracle/src/aeo_query_tx.erl:200-209 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 3) apps/aehttp/src/sc_ws_api_jsonrpc.erl:373— apps/aehttp/src/sc_ws_api_jsonrpc.erl:373-381 | apps/aehttp/src/sc_ws_api_jsonrpc.erl:418-426 | apps/aehttp/src/sc_ws_api_jsonrpc.erl:646-655 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (9 lines × 3) system_test/common/helpers/aest_docker_api.erl:306— system_test/common/helpers/aest_docker_api.erl:306-314 | system_test/common/helpers/aest_docker_api.erl:322-330 | system_test/common/helpers/aest_docker_api.erl:344-352 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (7–9 lines × 2) apps/aecore/src/aec_db.erl:760— apps/aecore/src/aec_db.erl:760-768 | apps/aecore/src/aec_db.erl:814-820 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7–9 lines × 2) apps/aeutils/src/aeu_mp_trees.erl:904— apps/aeutils/src/aeu_mp_trees.erl:904-910 | apps/aeutils/src/aeu_mp_trees.erl:938-946 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7–8 lines × 2) apps/aechannel/src/aesc_channels.erl:435— apps/aechannel/src/aesc_channels.erl:435-441 | apps/aechannel/src/aesc_channels.erl:455-462 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7–8 lines × 2) apps/aechannel/src/aesc_utils.erl:237— apps/aechannel/src/aesc_utils.erl:237-243 | apps/aechannel/src/aesc_utils.erl:289-296 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 3) apps/aechannel/src/aesc_close_solo_tx.erl:194— apps/aechannel/src/aesc_close_solo_tx.erl:194-199 | apps/aechannel/src/aesc_slash_tx.erl:189-194 | apps/aechannel/src/aesc_snapshot_solo_tx.erl:177-182 — before extracting anything, compare `apps/aechannel/src/aesc_close_solo_tx.erl` and `apps/aechannel/src/aesc_slash_tx.erl` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 3) system_test/common/helpers/aest_nodes.erl:459— system_test/common/helpers/aest_nodes.erl:459-464 | system_test/common/helpers/aest_nodes.erl:475-480 | system_test/common/helpers/aest_nodes.erl:491-496 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
aehttp_dispatch_ext.handle_request_ (cyclomatic 209) apps/aehttp/src/aehttp_dispatch_ext.erl:127— aehttp_dispatch_ext.handle_request_ has cyclomatic complexity 209 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
sc_ws_api_jsonrpc.process_request (cyclomatic 123) apps/aehttp/src/sc_ws_api_jsonrpc.erl:315— sc_ws_api_jsonrpc.process_request has cyclomatic complexity 123 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aehttp_dispatch_rosetta.handle_request_ (cyclomatic 93) apps/aehttp/src/aehttp_dispatch_rosetta.erl:108— aehttp_dispatch_rosetta.handle_request_ has cyclomatic complexity 93 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aehttp_dispatch_int.handle_request_ (cyclomatic 51) apps/aehttp/src/aehttp_dispatch_int.erl:85— aehttp_dispatch_int.handle_request_ has cyclomatic complexity 51 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aehttp_api_validate.prepare_param_ (cyclomatic 45) apps/aehttp/src/aehttp_api_validate.erl:145— aehttp_api_validate.prepare_param_ has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aesc_fsm.handle_common_event_ (cyclomatic 44) apps/aechannel/src/aesc_fsm.erl:5035— aesc_fsm.handle_common_event_ has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aec_tx_pool.handle_call_ (cyclomatic 31) apps/aecore/src/aec_tx_pool.erl:460— aec_tx_pool.handle_call_ has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aeu_mp_trees.int_iter_next (cyclomatic 31) apps/aeutils/src/aeu_mp_trees.erl:849— aeu_mp_trees.int_iter_next has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aec_peer_connection.handle_info (cyclomatic 29) apps/aecore/src/aec_peer_connection.erl:308— aec_peer_connection.handle_info has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aesc_fsm.open (cyclomatic 28) apps/aechannel/src/aesc_fsm.erl:1206— aesc_fsm.open has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
sc_ws_utils.parse_by_type (cyclomatic 27) apps/aehttp/src/sc_ws_utils.erl:104— sc_ws_utils.parse_by_type has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aestratum.handle_info (cyclomatic 27) apps/aestratum/src/aestratum.erl:119— aestratum.handle_info has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aesc_chain_watcher.check_req (cyclomatic 26) apps/aechannel/src/aesc_chain_watcher.erl:914— aesc_chain_watcher.check_req has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aec_preset_keys.handle_call (cyclomatic 23) apps/aecore/src/aec_preset_keys.erl:151— aec_preset_keys.handle_call has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aehttp_helpers.get_block_hash_optionally_by_hash_or_height (cyclomatic 21) apps/aehttp/src/aehttp_helpers.erl:1019— aehttp_helpers.get_block_hash_optionally_by_hash_or_height has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file's highest cyclomatic complexity: aehttp_helpers.type (cyclomatic 24) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension's figures nor in its score.
aeu_mp_trees.pick_first (cyclomatic 21) apps/aeutils/src/aeu_mp_trees.erl:922— aeu_mp_trees.pick_first has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aeu_mp_trees.int_verify_proof (cyclomatic 19) apps/aeutils/src/aeu_mp_trees.erl:790— aeu_mp_trees.int_verify_proof has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aect_sophia.prepare_for_json (cyclomatic 18) apps/aecontract/src/aect_sophia.erl:46— aect_sophia.prepare_for_json has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aec_consensus_on_demand.client_request (cyclomatic 18) apps/aecore/src/aec_consensus_on_demand.erl:86— aec_consensus_on_demand.client_request has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aeu_mp_trees.visit_reachable_raw (cyclomatic 17) apps/aeutils/src/aeu_mp_trees.erl:663— aeu_mp_trees.visit_reachable_raw has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
aehttp_dispatch_ext.handle_request_ (cognitive 164) apps/aehttp/src/aehttp_dispatch_ext.erl:127— aehttp_dispatch_ext.handle_request_ has cognitive complexity 164 (threshold 15). Drivers by points: match/switch 88 (149 pts), loops 5 (11 pts), boolean chains 2, error handling 2 (nesting depth added 67). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aehttp_dispatch_rosetta.handle_request_ (cognitive 136) apps/aehttp/src/aehttp_dispatch_rosetta.erl:108— aehttp_dispatch_rosetta.handle_request_ has cognitive complexity 136 (threshold 15). Drivers by points: match/switch 62 (96 pts), error handling 35 (38 pts), if/else 1, loops 1 (nesting depth added 37). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
sc_ws_api_jsonrpc.process_request (cognitive 54) apps/aehttp/src/sc_ws_api_jsonrpc.erl:315— sc_ws_api_jsonrpc.process_request has cognitive complexity 54 (threshold 15). Drivers by points: match/switch 26 (33 pts), loops 5 (13 pts), if/else 1 (5 pts), boolean chains 2, error handling 1 (nesting depth added 19). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aeu_mp_trees.int_iter_next (cognitive 27) apps/aeutils/src/aeu_mp_trees.erl:849— aeu_mp_trees.int_iter_next has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 12 (27 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aesc_fsm.handle_common_event_ (cognitive 26) apps/aechannel/src/aesc_fsm.erl:5035— aesc_fsm.handle_common_event_ has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 17 (20 pts), boolean chains 6 (nesting depth added 3). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aehttp_dispatch_int.handle_request_ (cognitive 24) apps/aehttp/src/aehttp_dispatch_int.erl:85— aehttp_dispatch_int.handle_request_ has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 13 (17 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aehttp_api_validate.prepare_param_ (cognitive 23) apps/aehttp/src/aehttp_api_validate.erl:145— aehttp_api_validate.prepare_param_ has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 12 (16 pts), error handling 5, loops 1 (2 pts) (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aec_consensus_bitcoin_ng.force_community_fork (cognitive 21) apps/aecore/src/aec_consensus_bitcoin_ng.erl:102— aec_consensus_bitcoin_ng.force_community_fork has cognitive complexity 21 (threshold 15). Drivers by points: error handling 6 (18 pts), match/switch 2 (3 pts) (nesting depth added 13). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aesc_chain_watcher.check_req (cognitive 20) apps/aechannel/src/aesc_chain_watcher.erl:914— aesc_chain_watcher.check_req has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 10 (14 pts), boolean chains 5, if/else 1 (nesting depth added 4). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aec_dev_reward.parse_beneficiary (cognitive 20) apps/aecore/src/aec_dev_reward.erl:137— aec_dev_reward.parse_beneficiary has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 9 (16 pts), boolean chains 4 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aeu_mp_trees.visit_reachable_raw (cognitive 20) apps/aeutils/src/aeu_mp_trees.erl:663— aeu_mp_trees.visit_reachable_raw has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (20 pts) (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aec_chain_state.find_common_ancestor (cognitive 19) apps/aecore/src/aec_chain_state.erl:254— aec_chain_state.find_common_ancestor has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 9 (19 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aevm_eeevm_state.save_store (cognitive 18) apps/aevm/src/aevm_eeevm_state.erl:381— aevm_eeevm_state.save_store has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (11 pts), error handling 1 (5 pts), boolean chains 1, if/else 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aesc_fsm.open (cognitive 16) apps/aechannel/src/aesc_fsm.erl:1206— aesc_fsm.open has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 11 (15 pts), if/else 1 (nesting depth added 4). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aec_preset_keys.handle_call (cognitive 16) apps/aecore/src/aec_preset_keys.erl:151— aec_preset_keys.handle_call has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 10 (12 pts), error handling 2 (4 pts) (nesting depth added 4). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aec_sync.handle_info (cognitive 16) apps/aecore/src/aec_sync.erl:330— aec_sync.handle_info has cognitive complexity 16 (threshold 15). Drivers by points: loops 2 (6 pts), if/else 2 (5 pts), match/switch 4 (5 pts) (nesting depth added 8). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aeu_mp_trees.int_verify_proof (cognitive 16) apps/aeutils/src/aeu_mp_trees.erl:790— aeu_mp_trees.int_verify_proof has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8 (10 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 3). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
aevm_eeevm_store_vm3.update_ref_counts1 (cognitive 16) apps/aevm/src/aevm_eeevm_store_vm3.erl:302— aevm_eeevm_store_vm3.update_ref_counts1 has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8 (12 pts), loops 2 (4 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
Near-duplicate member pair (47 shared lines) apps/aevm/src/aevm_data.erl:140— apps/aevm/src/aevm_data.erl:140-211 | apps/aevm/src/aevm_data_v1.erl:145-219 — These two members are variants of one another: 47 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members' grain — factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice.
D4 · Code Duplication· Members sharing a duplicated core (4 members, 50+ identical tokens) · ×1
Members sharing a duplicated core (4 members, 50+ identical tokens) apps/aechannel/src/aesc_codec.erl:108— apps/aechannel/src/aesc_codec.erl:108-126 | apps/aechannel/src/aesc_codec.erl:129-146 | apps/aechannel/src/aesc_codec.erl:161-201 | apps/aechannel/src/aesc_codec.erl:204-239 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Duplicated block (25–26 lines × 2) apps/aecore/src/aec_headers.erl:256— apps/aecore/src/aec_headers.erl:256-281 | apps/aecore/src/aec_headers.erl:312-336 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (24 lines × 3) apps/aecore/src/aec_headers.erl:257— apps/aecore/src/aec_headers.erl:257-280 | apps/aecore/src/aec_headers.erl:284-307 | apps/aecore/src/aec_headers.erl:313-336 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (20–21 lines × 2) apps/aecore/src/aec_block_fork.erl:201— apps/aecore/src/aec_block_fork.erl:201-221 | apps/aecore/src/aec_consensus_hc.erl:1328-1347 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (16–17 lines × 2) apps/aevm/src/aevm_eeevm_store.erl:325— apps/aevm/src/aevm_eeevm_store.erl:325-340 | apps/aevm/src/aevm_eeevm_store_vm3.erl:302-318 — before extracting anything, compare `apps/aevm/src/aevm_eeevm_store.erl` and `apps/aevm/src/aevm_eeevm_store_vm3.erl` as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (16 lines × 2) apps/aevm/src/aevm_data.erl:174— apps/aevm/src/aevm_data.erl:174-189 | apps/aevm/src/aevm_data_v1.erl:182-197 — before extracting anything, compare `apps/aevm/src/aevm_data.erl` and `apps/aevm/src/aevm_data_v1.erl` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (14 lines × 2) apps/aecore/src/aec_conductor.erl:1137— apps/aecore/src/aec_conductor.erl:1137-1150 | apps/aecore/src/aec_conductor.erl:1180-1193 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (11–13 lines × 2) apps/aechannel/src/aesc_create_tx.erl:212— apps/aechannel/src/aesc_create_tx.erl:212-224 | apps/aechannel/src/aesc_create_tx.erl:250-260 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10–12 lines × 2) apps/aehttp/src/aehttp_dispatch_ext.erl:66— apps/aehttp/src/aehttp_dispatch_ext.erl:66-77 | apps/aehttp/src/aehttp_dispatch_rosetta.erl:45-54 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (9–10 lines × 3) apps/aehttp/src/aehttp_dispatch_ext.erl:70— apps/aehttp/src/aehttp_dispatch_ext.erl:70-79 | apps/aehttp/src/aehttp_dispatch_int.erl:74-83 | apps/aehttp/src/aehttp_dispatch_rosetta.erl:48-56 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once.
Duplicated block (9 lines × 4) apps/aehttp/src/aehttp_dispatch_rosetta.erl:400— apps/aehttp/src/aehttp_dispatch_rosetta.erl:400-408 | apps/aehttp/src/aehttp_dispatch_rosetta.erl:435-443 | apps/aehttp/src/aehttp_dispatch_rosetta.erl:500-508 | apps/aehttp/src/aehttp_dispatch_rosetta.erl:553-561 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (7–8 lines × 4) apps/aechannel/src/aesc_codec.erl:119— apps/aechannel/src/aesc_codec.erl:119-126 | apps/aechannel/src/aesc_codec.erl:130-136 | apps/aechannel/src/aesc_codec.erl:173-179 | apps/aechannel/src/aesc_codec.erl:205-211 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (7–8 lines × 3) apps/aehttp/src/aehttp_dispatch_ext.erl:185— apps/aehttp/src/aehttp_dispatch_ext.erl:185-192 | apps/aehttp/src/aehttp_dispatch_ext.erl:211-217 | apps/aehttp/src/aehttp_dispatch_ext.erl:284-290 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (8 lines × 3) apps/aehttp/src/aehttp_dispatch_ext.erl:292— apps/aehttp/src/aehttp_dispatch_ext.erl:292-299 | apps/aehttp/src/aehttp_dispatch_ext.erl:310-317 | apps/aehttp/src/aehttp_dispatch_ext.erl:350-357 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (6–8 lines × 2) apps/aehttp/src/aehttp_helpers.erl:256— apps/aehttp/src/aehttp_helpers.erl:256-261 | apps/aehttp/src/aehttp_helpers.erl:273-280 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5–8 lines × 2) apps/aeutils/src/aeu_mp_trees.erl:864— apps/aeutils/src/aeu_mp_trees.erl:864-868 | apps/aeutils/src/aeu_mp_trees.erl:972-979 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 4) apps/aecontract/src/aect_call_state_tree.erl:161— apps/aecontract/src/aect_call_state_tree.erl:161-167 | apps/aecontract/src/aect_state_tree.erl:373-379 | apps/aens/src/aens_state_tree.erl:265-271 | apps/aeoracle/src/aeo_state_tree.erl:478-484 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 4 times.
Duplicated block (5 lines × 3) apps/aens/src/aens_commitments.erl:76— apps/aens/src/aens_commitments.erl:76-82 | apps/aeoracle/src/aeo_oracles.erl:134-141 | apps/aeoracle/src/aeo_query.erl:162-166 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times.
Duplicated block (5 lines × 4) apps/aens/src/aens_state_tree.erl:201— apps/aens/src/aens_state_tree.erl:201-205 | apps/aens/src/aens_state_tree.erl:208-212 | apps/aens/src/aens_state_tree.erl:215-219 | apps/aeoracle/src/aeo_state_tree.erl:194-198 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart.
M1 · Documentation (README)· README may be stale · ×1
README may be stale — 58 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
README/code drift docs/build-windows.md:46— docs/build-windows.md names `scripts/windows/msys2_prepare.bat`, but no file or folder `scripts/windows/msys2_prepare.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:59— docs/build-windows.md names `scripts\windows\install_msys2.bat`, but no file or folder `scripts/windows/install_msys2.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:64— docs/build-windows.md documents the environment variable `WIN_MSYS2_ROOT`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:94— docs/build-windows.md names `scripts\windows\install_erlang.bat`, but no file or folder `scripts/windows/install_erlang.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:133— docs/build-windows.md names `scripts/windows/msys2_prepare`, but no file or folder `scripts/windows/msys2_prepare` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:169— docs/build-windows.md documents the environment variable `MSYS_INCLUDE_PATH`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:183— docs/build-windows.md names `scripts/windows/msys2_shell.bat`, but no file or folder `scripts/windows/msys2_shell.bat` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:189— docs/build-windows.md documents the environment variable `WIN_OTP_PATH`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:191— docs/build-windows.md documents the environment variable `ERTS_VERSION`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/build-windows.md:205— docs/build-windows.md names `.circleci\windows\build.cmd`, but no file or folder `.circleci/windows/build.cmd` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/debian_ubuntu_packaging.md:204— docs/debian_ubuntu_packaging.md documents the environment variable `DEB_BUILD_MAINT_OPTIONS`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/hyperchains.md:85— docs/hyperchains.md runs `npm run dev`, but no package.json declares a `dev` script. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/rebar.md:66— docs/rebar.md names `apps/app1/`, but no file or folder `apps/app1` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/rebar.md:67— docs/rebar.md names `apps/app2/`, but no file or folder `apps/app2` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/testing.md:30— docs/testing.md links to `../tree/master/apps/aecore/test/`, but `tree/master/apps/aecore/test` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/testing.md:52— docs/testing.md links to `../tree/master/apps/aecore/test/aec_peers_tests.erl`, but `tree/master/apps/aecore/test/aec_peers_tests.erl` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/testing.md:54— docs/testing.md links to `../tree/master/test/`, but `tree/master/test` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/testing.md:152— docs/testing.md links to `User-Acceptance-testing`, but `docs/User-Acceptance-testing` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
X31 · Test-only surface in a production module· Test-only surface in a production module · ×9
Test-only surface in a production module apps/aecore/src/aec_chain_state.erl:124— `aec_chain_state:get_top_block_hash/1` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_chain_state.erl:124— `aec_chain_state:get_key_block_hash_at_height/2` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_chain_state.erl:124— `aec_chain_state:calculate_gas_fee/1` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_keys.erl:52— `aec_keys:peer_key_filenames/1` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_keys.erl:52— `aec_keys:save_peer_keys/4` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_keys.erl:52— `aec_keys:setup_peer_keys/2` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_peers_pool.erl:109— `aec_peers_pool:available/2` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_peers_pool.erl:109— `aec_peers_pool:all/1` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Test-only surface in a production module apps/aecore/src/aec_peers_pool.erl:109— `aec_peers_pool:all/2` is exported unconditionally, and the comment directly above the `-export` on this line says the exports below it are for testing. Erlang has no visibility below `-export`, so this is part of the module's public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in `-ifdef(TEST). … -endif.` keeps the test's access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build — delete the comment and document the function as part of the module's API.
Off-boarding risk: anonymized user #1 — If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: apps/aehttp/src/aehttp_dispatch_rosetta.erl, apps/aehttp/src/sc_ws_handler.erl, apps/aemon/src/aemon_publisher.erl, apps/aehttp/src/aehttp_cors_middleware.erl. Pair on, review, or document these before any departure.
D16 · Bus Factor· Further sole-owners (lower concentration) · ×1
Further sole-owners (lower concentration) — 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold — folded into the bus-factor score and metrics (8 single-owned of 167 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 167 of the 304 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)) — spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: apps/aefate/src/aefa_stores.erl, apps/aecontract/src/aect_contracts_store.erl, apps/aecore/src/aec_chain.erl, apps/aeutils/src/aeu_env.erl.
No ADRs found — No ADRs found. No recognised ADR directory (`docs/adr/`, `docs/decisions/`, `adr/`, `docs/rfcs/`, an `ADR0001/` folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (`docs/adr/use-postgres.md`, `docs/adr/2024/0001-x.md`); or a file anywhere whose name is ADR-shaped (`0001-use-postgres.md`, `adr-012-caching.md`); or, when neither turned anything up, a document carrying the decision-record signature (an "Architecture Decision Record" heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these — unnumbered files outside any recognised directory, without those headings — is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in `docs/adr/`.
D28 · Secrets (history)· Rotate the exposed credentials · ×1
No ADRs — No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
Logging is not universal — Only 1/2 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `apps/aefate`.
Duplicated predicate apps/aefate/src/aefa_stores.erl:72— `Pos > ?META_STORE_POS andalso Pos < ?MAX_STORE_POS` appears character-identically in 2 files — apps/aefate/src/aefa_stores.erl, apps/aefate/src/aefa_stores_lima.erl. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Outdated: gproc — `gproc` is declared `"0.9.0"` in rebar.config and pinned there by the committed rebar.lock, but 1.3.0 is the current stable release on hex.pm — so this repository is behind by the version it names itself. This crosses a major version. rebar3 resolves an exact requirement to that exact release, so the remedy is to raise the declaration in rebar.config and re-run `rebar3 upgrade gproc`, committing the updated rebar.lock.
Outdated: jobs — `jobs` is declared `"0.9.0"` in rebar.config and pinned there by the committed rebar.lock, but 0.10.0 is the current stable release on hex.pm — so this repository is behind by the version it names itself. rebar3 resolves an exact requirement to that exact release, so the remedy is to raise the declaration in rebar.config and re-run `rebar3 upgrade jobs`, committing the updated rebar.lock.
Outdated: setup — `setup` is declared `"2.1.1"` in rebar.config and pinned there by the committed rebar.lock, but 2.2.1 is the current stable release on hex.pm — so this repository is behind by the version it names itself. rebar3 resolves an exact requirement to that exact release, so the remedy is to raise the declaration in rebar.config and re-run `rebar3 upgrade setup`, committing the updated rebar.lock.
Outdated: sext — `sext` is declared `"1.8.0"` in rebar.config and pinned there by the committed rebar.lock, but 1.9.0 is the current stable release on hex.pm — so this repository is behind by the version it names itself. rebar3 resolves an exact requirement to that exact release, so the remedy is to raise the declaration in rebar.config and re-run `rebar3 upgrade sext`, committing the updated rebar.lock.
Outdated: yamerl — `yamerl` is declared `"0.7.0"` in rebar.config and pinned there by the committed rebar.lock, but 0.10.0 is the current stable release on hex.pm — so this repository is behind by the version it names itself. rebar3 resolves an exact requirement to that exact release, so the remedy is to raise the declaration in rebar.config and re-run `rebar3 upgrade yamerl`, committing the updated rebar.lock.
Appendix B — Reproduction & audit trail
Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.
semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
Run 01a16a0e-5705-7519-9e2e-9f0299a69e32 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 7 · Warnings: 569 · Recommendations: 40 · Info: 5 — Appendix A · all findings · full markdown report.
Generated by Watchdog — deterministic code-health analysis. 23-10-2026 @ 18:38 UTC.
Downloadable artifacts
Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.