Public report — floci, published 6 Aug 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 06-08-2026 @ 14:49 UTC Public
Code Health Audit

Floci-Io/floci

No baseline yet — first run
52% At Risk

Large · 182,473 LoC · rebuild ~2.6 person-years · weakest lens: Readiness (33%)

Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸

39/41dimensions tool-verifieddeterministic · confidence 1.0 · 2 LLM-assisted, advisory
1289findings with an exact file:lineof 1303 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
41/106dimensions across the health lenses182473 LoC — wide & deep

Executive summary

Read through the Production lens — the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.

floci-io/floci carries serious gaps (52%). Several issues below can materially affect correctness, security, or the cost of changing it — and propagate to everything that depends on it.

It is strongest in Architecture (100%) — the structure is clean and changes stay contained. Code Health (89%) is solid too.

Most urgent: a critical security exposure was detected (see the Security & Compliance lens). Treat it as a priority regardless of the overall grade.

The area that most needs attention is Readiness (33%) — releases are harder to depend on — versioning, release notes and dependency hygiene are thin, so consumers can't easily tell what changed or trust an upgrade. Accessibility (61%) is the next concern — it raises ongoing delivery and operational cost.

Leadership focus, highest impact first: 2 Leaked secret finding(s) (Secret Scanning); SAST step to CI running what this repository's stack ships (Security & performance tooling); unused dependencies, declare unlisted imports explicitly,… (Dependency Hygiene).

For scale: Large (~182,473 production lines); rebuilding it from scratch would take roughly ~2.6 person-years (~1–6 engineers). Approximate, ±~30%.

It builds on a genuinely strong Architecture foundation (100%); the priorities above are the highest-leverage way to bring the rest up to that level.

How the score is built — each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Readiness 33% · 46% weightAccessibility 61% · 25% weightSecurity 65% · 14% weightMaturity 76% · 8% weightCode Health 89% · 4% weightArchitecture 100% · 2% weight

Raise Readiness 33 → 70 (the Healthy floor) ⇒ headline 52 → ~67.

Code composition — where the lines go
Tests 100%
Rebuild cost & value ~ Modeled — €130,000–€640,000
Cost to rebuild€130,000–€640,000 (1.3–4.0 person-years (2,130–6,756 h), ~1–6 engineers)
Domain complexityStandard — harder problems cost more per line
Quality factor0.7× (at 52% quality) — the last 20% of quality is most of the work
Size & shapeLarge · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk)

This codebase represents roughly ~2.6 person-years of build effort (about ~€380,000 to rebuild). Its weakest lens is Readiness at 33% — the part of that asset most exposed by the findings below.

How we model this: boilerplate at a scaffolding rate + logic × domain Standard (×1.0) — standard service × a 0.7× quality factor, at €60–95/h; indicative, ±~30% · size measured directly from source · effort from total production LoC as straight-line logic (the tier split is a C#-only syntax walk), a conservative lower bound. Indicative only — most sensitive to the hourly rate and the domain tier (both tunable in config).

Top priorities

The highest-leverage moves; the full ranked list is in the Roadmap below.

1
Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with IamService.java, CloudFormationResourceProvisioner.java.
+16.8 pts · Low effort · Secret Scanning
2
Add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
+16.8 pts · Medium effort · Security & performance tooling
3
Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
+16.8 pts · Medium effort · Dependency Hygiene

Diagnosis — what's actually going on

Value concentrated against a weak lens · High · Value at risk
This is a Large asset (~2.6 person-years to rebuild), and its weakest lens is Readiness at 33%. The operational and business risk on an asset this size concentrates there — that's where remediation buys the most protection.
Evidence: valuation: Large, ~2.6 person-years rebuild (182,473 LoC) · weakest lens: Readiness 33%
→ Direct remediation budget at Readiness first — highest risk-reduction per euro on an asset this size.
The top fix pays for itself · High · Economics
The top-ranked fix costs roughly 1–3 engineer-days once. Not doing it costs about 84.4–506.2 engineer-days every year, paid as drag on the ~1,113,603 lines this team changes annually — a bill that arrives whether or not anyone books it. On those figures the fix breaks even in roughly 1–2 months and is free after that. Method, stated so this is not read as a quotation: debt from the ranked task's effort band; interest = annual changed lines (measured, annualised from the 90-day window) ÷ an ASSUMED 150–400 lines per engineer-day × the 3–7% drag implied by the code-quality signals; breaking point = debt ÷ annual interest. A modelled planning range built from measured inputs and one named assumption — not a quotation, a valuation, or a certified figure.
Evidence: D15 churn: 274,587 line(s) changed over a 90-day window ⇒ ~1,113,603/year · D1/D2/D4 code quality: averaging 6.8/10 ⇒ a 3–7% drag on each change · top-ranked remediation: Low effort ⇒ about 1–3 engineer-day(s)
→ Do the top-ranked fix now if this code will still be yours in 2 months.
Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with IamService.java, CloudFormationResourceProvisioner.java. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with IamService.java, CloudFormationResourceProvisioner.java.
A velocity tax on every change · Medium · Economics
The code-quality signals (complexity, duplication, cohesion) average 6.8/10, which acts as a tax on every change in the weaker areas: modifications there plausibly cost on the order of 3–7% more than in clean code, and the tax compounds as the codebase grows. (A modelled estimate, not a measured fact.)
Evidence: D1/D2/D4 code quality: averaging 6.8/10 across the code-quality signals actually measured
→ Pay it down where churn is highest — the hotspots — not everywhere; that's where the tax is actually paid.

Architecture — module dependency matrix

202 modules, 639 dependencies — 3 dependency cycles, shown as the red cell(s) above the diagonal. Rows and columns are the same modules, ordered so that a module only depends on ones above it. A cell means the row depends on the column, and its number is how many type pairs create that dependency. Read one thing: is anything above the diagonal? A mark there is a dependency cycle. (A cycle is all this shows — an unusual but cycle-free dependency sits below the diagonal like any other.)

(global)…ctorvent.floci.config…ci.services.ec2.model…nt.floci.core.storage…services.apigatewayv2…vices.cloudwatch.logs…oci.services.firehose…nt.floci.services.iam…loci.services.kinesis…nt.floci.services.sns…ci.core.common.docker…i.services.cloudtrail…oci.services.dynamodb…nt.floci.services.sqs….floci.services.batch…floci.services.lambda….services.eventbridge…rvices.secretsmanager…ent.floci.services.s3…nt.floci.services.ses…floci.services.athena…loci.services.cognito…nt.floci.services.cur…nt.floci.services.ec2….floci.services.elbv2…nt.floci.services.rds…nt.floci.services.ssm….services.autoscaling…ci.services.codebuild…nt.floci.services.ecs…i.services.codedeploy…ervices.stepfunctions…i.services.apigateway….floci.services.pipes…rvices.cloudformation…ent.floci.core.common…vices.appsync.graphql…nt.floci.services.iot…ci.services.scheduler…rvent.floci.lifecycle(global)1…ctorvent.floci.config2…ci.services.ec2.model3…nt.floci.core.storage4…services.apigatewayv25…vices.cloudwatch.logs6…oci.services.firehose7…nt.floci.services.iam8…loci.services.kinesis9…nt.floci.services.sns10…ci.core.common.docker11…i.services.cloudtrail12…oci.services.dynamodb13…nt.floci.services.sqs14….floci.services.batch15…floci.services.lambda16….services.eventbridge17…rvices.secretsmanager18…ent.floci.services.s319…nt.floci.services.ses20…floci.services.athena21…loci.services.cognito22…nt.floci.services.cur23…nt.floci.services.ec224….floci.services.elbv225…nt.floci.services.rds26…nt.floci.services.ssm27….services.autoscaling28…ci.services.codebuild29…nt.floci.services.ecs30…i.services.codedeploy31…ervices.stepfunctions32…i.services.apigateway33….floci.services.pipes34…rvices.cloudformation35…ent.floci.core.common36…vices.appsync.graphql37…nt.floci.services.iot38…ci.services.scheduler39…rvent.floci.lifecycle4014241211212112252112112611211214215131412254791112218132111112121132121111111221114121121214221625574161113111422121113241313121132214111221112111111111122121121212211113111111142211121114115111111111121121111111111481116232431111211112111121161222111111522111114133111151+162 more modules (most-connected shown)

At a glance — Code Health · 89% · Strong

At a glance — Architecture · 100% · Exemplary

At a glance — Maturity · 76% · Strong

At a glance — Readiness · 33% · Weak · gated by D13, R8, P3

At a glance — Security · 65% · Adequate · gated by D29

At a glance — Accessibility · 61% · Adequate

Security & Compliance — OWASP Top-10 mapping

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 categoryFindingsSeverity
A03:2021 — Injection48High / Critical
A05:2021 — Security Misconfiguration11High / Critical
A06:2021 — Vulnerable & Outdated Components5High / Critical
A02:2021 — Cryptographic Failures2High / Critical

Roadmap

Begin by resolving the two leaked secrets in IamService.java and CloudFormationResourceProvisioner.java to immediately reduce risk. Next, integrate a SAST step into the CI pipeline to fail the build on security regressions, while also cleaning up unused dependencies and explicitly declaring imports. Finally, document the disaster recovery procedures with tested restore steps and ensure all form controls have proper programmatic labels for accessibility.

Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with IamService.java, CloudFormationResourceProvisioner.java.+16.8 ptsLowSecret Scanning
Add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.+16.8 ptsMediumSecurity & performance tooling
Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.+16.8 ptsMediumDependency Hygiene
Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).+16.6 ptsMediumDR & Backup
Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.+4.0 ptsMediumForms & labels
Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.+4.0 ptsMediumVisual & motion safety
Enforce accessibility in the toolchain your project already uses: assert accessibility in your UI test suite with your toolkit's own matcher (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in CI so a regression blocks the merge.+4.0 ptsMediumA11y enforcement
Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).+1.5 ptsMediumArchitecture documentation

File quality

Per-file score 0–10 — a quality signature. Of 290 files carrying findings, judged against the Production bar: 1% slop · 59% mixed · 40% near-clean.

FileScoreBandWorst signal
.github/release-tooling/package-lock.json2.7SlopOSV Dependency Vulnerabilities: High CVE: [GHSA redacted]
docker/Dockerfile3.0SlopIaC & Container Security: Critical IaC: DS-0031
docker/Dockerfile.native3.7SlopIaC & Container Security: High IaC: DS-0002
src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java4.0MixedStatic Analysis (SAST): Medium: weak-random
src/main/java/io/github/hectorvent/floci/services/elasticache/proxy/ElastiCacheAuthProxy.java4.0MixedStatic Analysis (SAST): Medium: unencrypted-socket
src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java4.2MixedSecret Scanning: Leaked secret: high-entropy-secret
src/main/java/io/github/hectorvent/floci/services/iam/IamService.java4.3MixedSecret Scanning: Leaked secret: high-entropy-secret
.github/workflows/nightly.yml4.4MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/release.yml4.4MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/compatibility.yml4.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java4.9MixedStatic Analysis (SAST): Medium: use-of-md5
src/main/java/io/github/hectorvent/floci/services/apigatewayv2/proxy/HttpProxyInvoker.java5.1MixedStatic Analysis (SAST): Medium: unencrypted-socket
.github/semver.yml5.1MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
docker/Dockerfile.compat5.1MixedIaC & Container Security: Critical IaC: DS-0031
docker/Dockerfile.native-package5.1MixedIaC & Container Security: High IaC: DS-0002
src/main/java/io/github/hectorvent/floci/services/ecs/EcsJsonHandler.java5.5MixedCyclomatic Complexity: EcsJsonHandler.taskDefinitionNode (cyclomatic 26)
src/main/java/io/github/hectorvent/floci/services/elasticache/container/ElastiCacheContainerManager.java5.7MixedStatic Analysis (SAST): Medium: unencrypted-socket
src/main/java/io/github/hectorvent/floci/services/docdb/container/DocDbContainerManager.java5.7MixedStatic Analysis (SAST): Medium: unencrypted-socket
.github/workflows/ci.yml5.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/docs-actions.yml5.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag

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. 39 of 41 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 2 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.6 — 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 — 41 dimensions across the health lenses
D1D2D3D4D13D15D16D19D21D28D29D31D33D34D35D36D37D38AC1AC2AC3AC5AC6AC7M1M2M3M4P1P3P4P5P6R1R10R2R3R6R7R8R9

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
  1. 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, 1289 of 1303 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.)
  2. 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.
  3. 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.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
jscpdCode duplication✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.302✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.302✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3 · 3.2.533✓ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurementLocal LLM◐ LLM · sampled · advisory

Every finding is locatable in findings.md. Run 019fd78d-5a9d-758c-8b71-eba2a282e12d.

The exact command behind every deep-scan dimension — tool, version, invocation and retained raw output — is in Appendix B — Reproduction & audit trail.

Run transparency — what happened this run

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.

  • D30 Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.

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 (jscpd) — 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.
  • D13 Secret Scanning: Secret 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").
  • 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.
  • 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.
  • 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.
  • 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").
  • 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.
  • D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles — risk from how a dependency is used, and advisories not yet published, fall outside this scan.
  • D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
  • 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.
  • AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
  • AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A clean result is "no unlabelled native control found", not a labelling proof.
  • AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
  • AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them.
  • AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
  • AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
  • 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 (documentation, ADR quality, naming, comment value, onboarding) — D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These 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.

Dimensions

D1 · Cyclomatic Complexity6.2 / 10Adequate✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 6.2 / 10 · rule-coverage 100% · ceiling Prevented

186 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Ec2Service.matchesFilter at 83. A further 48 method(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 Ec2QueryHandler.handle at 102 — they are counted neither in the figure above nor in this dimension's score.

Ec2Service.matchesFilter (cyclomatic 83)src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:2702
Route53Controller.parseChangeBatch (cyclomatic 71)src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:618
ApiGatewayExecuteController.invokeAwsIntegration (cyclomatic 70)src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:830
CloudFrontController.parseOrigins (cyclomatic 56)src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2113
DynamoDbService.matchesKeyCondition (cyclomatic 56)src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:2423

+ 181 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 1 Ec2Service.matchesFilter (cyclomatic 83) finding(s) in Cyclomatic Complexity — start with Ec2Service.java. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 Route53Controller.parseChangeBatch (cyclomatic 71) finding(s) in Cyclomatic Complexity — start with Route53Controller.java. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 ApiGatewayExecuteController.invokeAwsIntegration (cyclomatic 70) finding(s) in Cyclomatic Complexity — start with ApiGatewayExecuteController.java. — One of this dimension's main actionable groups (1 warning-level).
  4. 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.

D2 · Cognitive Complexity5.4 / 10Adequate✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 5.4 / 10 · rule-coverage 100% · ceiling Prevented

342 method(s) exceeded the cognitive complexity threshold of 15; the worst was DynamoDbService.updateItem at 172.

DynamoDbService.updateItem (cognitive 172)src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:499
Route53Controller.parseChangeBatch (cognitive 140)src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:618
ApiGatewayExecuteController.invokeAwsIntegration (cognitive 139)src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:830
ApiGatewayService.applyOpenApiSpec (cognitive 126)src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:1323
DynamoDbService.removeValueAtPath (cognitive 107)src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:2098

+ 337 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 1 DynamoDbService.updateItem (cognitive 172) finding(s) in Cognitive Complexity — start with DynamoDbService.java. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 Route53Controller.parseChangeBatch (cognitive 140) finding(s) in Cognitive Complexity — start with Route53Controller.java. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 ApiGatewayExecuteController.invokeAwsIntegration (cognitive 139) finding(s) in Cognitive Complexity — start with ApiGatewayExecuteController.java. — One of this dimension's main actionable groups (1 warning-level).
  4. 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.

D3 · God Classes5.9 / 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.

Maturity: DocumentedVerifiedPrevented · effective 5.9 / 10 · rule-coverage 100% · ceiling Prevented

208 god class(es) detected.

TooManyMethods: CloudFormationResourceProvisioner · ×147src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:110
FileTooLong: cloudformation/CloudFormationResourceProvisioner.java · ×61src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:0

What to do

  1. Resolve the 147 TooManyMethods finding(s) in God Classes — start with CodePipelineExecution.java (2), Cluster.java (2), CloudFormationResourceProvisioner.java. — One of this dimension's main actionable groups (147 warning-level).
  2. Resolve the 61 FileTooLong finding(s) in God Classes — start with CloudFormationResourceProvisioner.java, Ec2Service.java, Ec2QueryHandler.java. — One of this dimension's main actionable groups (61 warning-level).
  3. 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.

D4 · Code Duplication8.7 / 10Strong✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 8.7 / 10 · rule-coverage 100% · ceiling Verified

471 duplicated block group(s) detected.

Duplicated block (6 lines × 2) · ×81src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:153
Duplicated block (8 lines × 2) · ×78src/main/java/io/github/hectorvent/floci/core/common/docker/ContainerLifecycleManager.java:636
Duplicated block (7 lines × 2) · ×74src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:249
Duplicated block (5 lines × 2) · ×64src/main/java/io/github/hectorvent/floci/core/storage/HybridStorage.java:135
Duplicated block (9 lines × 2) · ×49src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:198

+ 28 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 81 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with Ec2QueryHandler.java (7), CloudFormationResourceProvisioner.java (6), DynamoDbJsonHandler.java (4). — One of this dimension's main actionable groups (81 warning-level).
  2. Resolve the 78 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with CloudFormationResourceProvisioner.java (4), CloudFrontController.java (4), DynamoDbJsonHandler.java (4). — One of this dimension's main actionable groups (78 warning-level).
  3. Resolve the 74 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with DynamoDbService.java (5), Ec2QueryHandler.java (5), CloudFormationResourceProvisioner.java (4). — One of this dimension's main actionable groups (74 warning-level).
  4. 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.

D13 · Secret Scanning0.0 / 10Critical✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Prevented

2 secret(s) detected.

Leaked secret: high-entropy-secret · ×2src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:1356

What to do

  1. Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with IamService.java, CloudFormationResourceProvisioner.java. — One of this dimension's main actionable groups (2 issue-level).
  2. Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d13_recommendation.md · top locations in Appendix A, every location in findings.md.

D15 · Churn × Complexity Hotspots9.4 / 10Exemplary✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 9.4 / 10 · rule-coverage 100% · ceiling Documented

Top hotspots: src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java (52×82=4264); src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java (40×83=3320); src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java (24×102=2448)

Hotspot: src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java · ×10src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java

✓ On the Gold path — maintain.

Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.

D16 · Bus Factor8.6 / 10Strong✓ 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.

Maturity: DocumentedVerifiedPrevented · effective 8.6 / 10 · rule-coverage 100% · ceiling Documented

76 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is src/main/java/io/github/hectorvent/floci/services/ses/SesService.java.

Off-boarding risk: anonymized user #1 · ×5
Further sole-owners (lower concentration)

What to do

  1. Resolve the 5 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (5 recommendation-level).
  2. Resolve the 1 Further sole-owners (lower concentration) finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d16_recommendation.md · top locations in Appendix A, every location in findings.md.

D19 · Documentation Quality / 10Exemplary◐ Sampled · advisory

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.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Documented

Floci's documentation is clear and complete: a star-studded README with quick-start links to the main features pages plus architecture/compatibility-test docs covering every AWS service tested by SDKs (Python, Node, Java, Go), test runners, prerequisites, Docker setup, and configuration. The dedicated contributing doc explains how to join Slack, submit bug reports, pull requests, commit message format, and CI validation. The documentation is comprehensive and well-structured for a testcontainers module suite. It includes seven README files (one per language) plus architecture/index.md covering the modules table, how it works, and language guides, plus dedicated WAF v2 and Transfer Family docs. Each module's README covers installation, basic usage with code examples, and an outline of the supported API surface; the visible content is complete for each path shown. The documentation is clear and complete for the service-family set, with each STS, step-functions, SSM, SQS, and SNS project having a focused README that covers its own protocol, supported actions (tables), configuration variables, and at least one concrete example. The architecture/Docs markdown files are also present but not shown in this summary due to the clip marker; the visible content is exemplary for a service documentation set.

Only 'mkdocs>=1.6 mkdocs-material>=9.5' is listed; the project's dependencies are not shown in any doc.docs/requirements.txt

✓ On the Gold path — maintain.

Detailed fixes: d19_recommendation.md · top locations in Appendix A, every location in findings.md.

D21 · Naming Consistency / 10Exemplary◐ Sampled · 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.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Verified

0 naming inconsistencies across 0 sampled symbols.

✓ On the Gold path — maintain.

Detailed fixes: d21_recommendation.md.

D28 · Secrets (history)8.0 / 10Strong✓ Tool-verified

What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.

Method: Git-history secret scan via gitleaks detect over full history in an isolated checkout; each match flagged High. Exhaustive; degrades cleanly when tool absent.

Maturity: DocumentedVerifiedPrevented · effective 8.0 / 10 · rule-coverage 100% · ceiling Documented

2 finding(s): 0 critical, 2 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.

What to do

  1. Improve Secrets (history) — currently 8.0/10. — 2 finding(s): 0 critical, 2 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.

Detailed fixes: d28_recommendation.md.

D29 · Static Analysis (SAST)0.0 / 10Critical✓ Tool-verified

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).

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

64 finding(s): 0 critical, 31 high, 33 medium, 0 low.

High: github-actions-mutable-action-tag · ×31.github/semver.yml:33detected by semgrep finding
Medium: unencrypted-socket · ×17src/main/java/io/github/hectorvent/floci/core/common/docker/PortAllocator.java:73detected by semgrep finding

What to do

  1. Resolve the 31 High finding(s) in Static Analysis (SAST) — start with nightly.yml (9), release.yml (7), compatibility.yml (4). — One of this dimension's main actionable groups (31 issue-level).
  2. Resolve the 17 Medium finding(s) in Static Analysis (SAST) — start with ElastiCacheAuthProxy.java (3), MemoryDbAuthProxy.java (3), PortAllocator.java (2). — One of this dimension's main actionable groups (17 warning-level).

Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.

D31 · IaC & Container Security5.3 / 10Adequate✓ Tool-verified

What it measures: Whether Dockerfiles / Terraform / Kubernetes config follow security best practices.

Method: IaC/container misconfiguration scan via trivy config (Dockerfile/Terraform/K8s/Helm/CloudFormation); severity rules to 0-10 moderate normalizer. NotApplicable without manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 5.3 / 10 · rule-coverage 100% · ceiling Documented

13 finding(s): 4 critical, 5 high, 4 medium, 0 low.

High IaC: DS-0002 · ×5docker/Dockerfiledetected by trivy finding
Critical IaC: DS-0031 · ×2docker/Dockerfiledetected by trivy finding
Medium IaC: CKV_DOCKER_3 · ×4docker/Dockerfile.native-package:1detected by trivy finding

What to do

  1. Resolve the 5 High IaC finding(s) in IaC & Container Security — start with Dockerfile (2), Dockerfile.native (2), Dockerfile.native-package. — One of this dimension's main actionable groups (5 issue-level).
  2. Resolve the 2 Critical IaC finding(s) in IaC & Container Security — start with Dockerfile, Dockerfile.compat. — One of this dimension's main actionable groups (2 issue-level).
  3. Resolve the 4 Medium IaC finding(s) in IaC & Container Security — start with Dockerfile.native-package, Dockerfile.native, Dockerfile. — One of this dimension's main actionable groups (4 warning-level).

Detailed fixes: d31_recommendation.md · top locations in Appendix A, every location in findings.md.

D33 · JS/npm Dependency Vulnerabilities10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether JavaScript/npm dependencies have known published vulnerabilities (CVEs) — the npm ecosystem's biggest risk.

Method: JS/npm CVE scan via trivy fs --scanners vuln over JS manifests (package.json/yarn.lock/pnpm-lock/bun.lockb); 0-10 tight normalizer. NotApplicable without JS manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No known-vulnerable JS/npm dependencies.

✓ On the Gold path — maintain.

Detailed fixes: d33_recommendation.md.

D34 · Knowledge Freshness9.7 / 10Exemplary✓ Tool-verified

What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.

Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.

Maturity: DocumentedVerifiedPrevented · effective 9.7 / 10 · rule-coverage 100% · ceiling Documented

16 of 540 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/main/java/io/github/hectorvent/floci/services/glue/schemaregistry/GlueSchemaRegistryService.java.

Orphaned knowledge · ×3src/main/java/io/github/hectorvent/floci/services/glue/schemaregistry/GlueSchemaRegistryService.java
Further orphaned files (smaller)

✓ On the Gold path — maintain.

Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.

D35 · Change Coupling10.0 / 10Exemplary✓ Tool-verified

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; coupling through a build step, config, or non-source file isn't seen.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Strongest change-coupling: EmulatorConfig.java↔AwsJson11Controller.java 67%; EcsJsonHandler.java↔EcsContainerManager.java 50%

Change coupling: EmulatorConfig.java ↔ AwsJson11Controller.java · ×2src/main/java/io/github/hectorvent/floci/config/EmulatorConfig.java

✓ On the Gold path — maintain.

Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.

D36 · Supply-chain Provenance & Signing5.0 / 10Adequate✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 5.0 / 10 · rule-coverage 100% · ceiling Documented

2/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).

Unpinned build actions
Secret passed as a command-line argument
No artifact signing

What to do

  1. Resolve the 1 Unpinned build actions finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 Secret passed as a command-line argument finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 No artifact signing finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d36_recommendation.md · top locations in Appendix A, every location in findings.md.

D37 · Vulnerability-disclosure Policy10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the repository publishes a coordinated-vulnerability-disclosure policy (SECURITY.md or security.txt) with a reporting contact, so finders know how to report a vulnerability. Presence of a policy file with a contact, not whether the policy is adequate or honoured.

Method: Vulnerability-disclosure policy read deterministically from the repo: a SECURITY.md (root/.github/docs) or .well-known/security.txt / security.txt, regex-checked for a reporting contact (email / URL / mailto). Present + contact → 10; present without a contact → 4; NotApplicable when no policy file exists (it may live off-repo). Detects the policy file's presence + contact, not its adequacy.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.

✓ On the Gold path — maintain.

Detailed fixes: d37_recommendation.md.

D38 · OSV Dependency Vulnerabilities7.3 / 10Strong✓ Tool-verified

What it measures: Whether dependencies have known published vulnerabilities (CVEs) per the OSV database — read natively from whatever lockfile the repository ships (Cargo, npm, Go, Python, Maven, RubyGems, …). D33 and D30 add ecosystem-specific scanners on top for npm and .NET.

Method: Multi-ecosystem dependency-CVE scan via osv-scanner --recursive (queries the osv.dev database + parses lockfiles natively across ecosystems: npm package-lock/yarn/pnpm/bun, Go go.mod, Rust Cargo.lock, Maven/Gradle pom.xml/gradle.lockfile, PyPI requirements.txt/poetry.lock/Pipfile.lock, Composer composer.lock, RubyGems Gemfile.lock, Hex mix.lock, pub pubspec.lock, Swift Package.resolved); severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer (8.0). NotApplicable only when the repo declares no supported non-.NET dependency lockfile (a NuGet-only repo stays NotApplicable — .NET CVEs are D30's domain); coverage needs a resolved lockfile. Additive to D33 (trivy fs); exhaustive + deterministic, DB kept fresh.

Maturity: DocumentedVerifiedPrevented · effective 7.3 / 10 · rule-coverage 100% · ceiling Documented

5 finding(s): 0 critical, 4 high, 1 medium, 0 low.

High CVE: [GHSA redacted] · ×4.github/release-tooling/package-lock.jsondetected by osv-scanner finding
Medium CVE: [GHSA redacted].github/release-tooling/package-lock.jsondetected by osv-scanner finding

What to do

  1. Resolve the 4 High CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (4). — One of this dimension's main actionable groups (4 issue-level).
  2. Resolve the 1 Medium CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d38_recommendation.md · top locations in Appendix A, every location in findings.md.

Frontend & cross-cutting dimensions

R = React/JS · M = Maturity · P = Readiness.

AC1 · Text alternatives10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether non-text content carries a text alternative — img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.

AC2 · Forms & labels4.8 / 10Weak✓ Tool-verified

Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.

  • This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label. — index.html:164

What to do

  • Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.

AC5 · ARIA correctness10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether ARIA is used correctly — valid non-abstract roles, the ARIA state a role requires, valid (non-misspelled) aria-* attribute names, in-enum values for token-typed aria-* attributes, and no aria-hidden on (or wrapping) a focusable element. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: role values checked against the WAI-ARIA role set (abstract/invalid flagged), required ARIA state for a role, and aria-hidden on a focusable element. Deterministic, role/attribute level.

AC6 · Visual & motion safety5.0 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast — PARTIAL: inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS literals are read (hex/rgb/hsl/named), never computed/runtime/external-CDN colour. Static markup readiness, not a WCAG conformance claim.

Method: Static markup/CSS scan: inline outline:none/0, literal inline colour/background contrast against the 4.5:1 AA floor, and <style>-block animation without a prefers-reduced-motion guard. Deterministic but PARTIAL — only inline styles and in-repo CSS literals are visible.

  • This stylesheet animates but never checks prefers-reduced-motion, so motion-sensitive users can't opt out. Wrap motion in @media (prefers-reduced-motion: no-preference). — starting.html:7

What to do

  • Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement4.0 / 10Weak✓ Tool-verified

Other · Accessibility — Whether accessibility is ENFORCED in the toolchain — an accessibility checker configured over the markup (an a11y lint rule set, e.g. eslint-plugin-jsx-a11y or vuejs-accessibility where the project lints JavaScript) and an automated accessibility assertion wired into tests or CI (axe/pa11y/Lighthouse or an equivalent) — on the Documented→Verified→Prevented ladder.

Method: Repo config/CI scan: an accessibility checker configured over the markup (an a11y lint rule set such as eslint-plugin-jsx-a11y / vuejs-accessibility where JavaScript is linted) and an automated accessibility assertion in tests or CI (axe/pa11y/Lighthouse or equivalent), graded on the Documented→Verified→Prevented rungs. Deterministic, presence/rung detection.

  • No accessibility enforcement found — no accessibility linting at author time and no automated accessibility check in tests or CI. Add your UI toolkit's own accessibility assertion to the test suite (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in the pipeline.

What to do

  • Enforce accessibility in the toolchain your project already uses: assert accessibility in your UI test suite with your toolkit's own matcher (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in CI so a regression blocks the merge.
M1 · Documentation (README)9.0 / 10Exemplary✓ Tool-verified

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.

What to do

  • Add a README to the 2 of 4 project(s) that lack one — worth up to 1 pts.
M2 · Architecture documentation5.0 / 10Adequate✓ Tool-verified

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 `NNNN-title.md` documents 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 significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
M3 · Folder & project structure10.0 / 10Exemplary✓ Tool-verified

Maturity · Maturity — Whether the repo is organised deliberately — src/test separation and consistent project naming.

Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.

M4 · Documentation accuracy8.0 / 10Strong◐ Sampled · advisory

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.

  • README omits the compatibility-tests SDK integration project
  • omits the compatibility-tests Cdk/CDK test suite

What to do

  • Reconcile the README with reality: README omits the compatibility-tests SDK integration project; omits the compatibility-tests Cdk/CDK test suite.
P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

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.

P3 · Security & performance tooling3.0 / 10Weak✓ Tool-verified

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.

  • No static application security testing detected. For this repository's stack, add spotbugs with find-sec-bugs (or `semgrep --config=auto`, which runs on any language) as a CI step.

What to do

  • Add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback10.0 / 10Exemplary✓ Tool-verified

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.

P5 · DR & Backup4.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

  • Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
  • No persistence guard on critical data stores — use Docker named volumes (or your orchestrator's persistent-volume equivalent) so the data store can't be wiped by a container recreate (or, in cloud, set purge-protection / soft-delete / prevent_destroy).
P6 · Release Hygiene10.0 / 10Exemplary✓ Tool-verified

Readiness · Readiness — Whether releases are traceable — a maintained changelog and explicit version stamping.

Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.

R1 · Type Safety9.7 / 10Exemplary✓ Tool-verified

React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.

Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.

What to do

  • Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication10.0 / 10Exemplary✓ Tool-verified

React / JS · Code Health — Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm over JS/TS tokens, D-386).

Method: Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm run over JS/TS tokens). Deterministic.

R2 · Cyclomatic Complexity10.0 / 10Exemplary✓ Tool-verified

React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.

Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.

  • Branch-heavy code is where defects cluster — extract decisions into smaller functions. — pipes.test.ts:393
R3 · Large Files10.0 / 10Exemplary✓ Tool-verified

React / JS · Code Health — How many source files exceed the large-file threshold.

Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.

R6 · Tooling10.0 / 10Exemplary✓ Tool-verified

React / JS · Readiness — Whether the project wires up test, lint and typecheck — detected from each package.json script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.

Method: package.json scanned for test/lint/typecheck script wiring. Deterministic presence check.

R7 · Dead Code10.0 / 10Exemplary✓ Tool-verified

React / JS · Code Health — Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).

Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.

  • 34 file(s) (~9594 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package. — sdk-test-node
R8 · Dependency Hygiene0.0 / 10Critical✓ Tool-verified

React / JS · Readiness — npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.

Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps — from the manifest + import graph. Deterministic.

  • Declared in compatibility-tests/compat-cdk/package.json but never imported anywhere in that package or its workspace members — dead weight and attack surface. Verify against build tooling before removing. (×2)
  • Only test files import it — move it to devDependencies. — acm.test.ts:6

What to do

  • Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports10.0 / 10Exemplary✓ Tool-verified

React / JS · Architecture — Import cycles in the module graph (D-386) — files that can only be understood and changed together.

Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.

WCAG coverage — what static analysis assessed

Statically assessed 13 of 55 WCAG 2.2 Level A/AA success criteria (24%; ≈26% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 42 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).

DimensionWCAG 2.2 A/AA criteriaCoverage
AC1 · Text alternatives1.1.1, 1.2.2, 1.2.5Partial signal
AC2 · Forms & labels1.3.1, 3.3.2, 4.1.2Partial signal
AC3 · Page structure1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2Partial signal
AC5 · ARIA correctness4.1.2Partial signal
AC6 · Visual & motion safety1.4.3, 2.4.7Partial — literal CSS only
AC7 · A11y enforcementenforcement — no page criterionEnforcement posture (process)

Not statically assessed — these 42 Level A/AA criteria need runtime or manual evaluation (WCAG-EM): 1.2.1, 1.2.3, 1.2.4, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.1, 1.4.2, 1.4.5, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 2.1.1, 2.1.2, 2.1.4, 2.2.2, 2.3.1, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.11, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.7, 2.5.8, 3.1.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.6, 3.3.1, 3.3.3, 3.3.4, 3.3.7, 3.3.8, 4.1.3.

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.

LensScoreRatingImpact
Code Health89%StrongSolid.
Architecture100%ExemplaryStrongest area.
Maturity76%StrongSolid.
Readiness33%Weak — gated by D13, R8, P3Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security65%Adequate — gated by D29Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Accessibility61%AdequateAcceptable, with room to improve.
Not included — 65 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.

  • AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
  • AX1 Captive dependencies — no DI registrations detected
  • AX10 Code composition — not assessed — code composition is computed by ROLE over a document set 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
  • AX2 Stateful singletons — no singleton implementations detected
  • AX3 Project dependency cycles — not assessed — project cycles and dependency direction are computed over a project-reference graph 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
  • AX4 Dependency direction — not assessed — project cycles and dependency direction are computed over a project-reference graph 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
  • 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
  • AX8 Test isolation — not assessed — test isolation is computed from a project graph (which projects are test projects, and what they reference) 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
  • AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
  • AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • 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.
  • 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.
  • D10 Test Quality — ~218281 lines of test source are present (.go, .java, .ts, .py) but the test-quality collector reads C# only, 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
  • D12 Dependency Hygiene — Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • D14 License Compliance — Not scored — this repository's package manifest is not parsed for licence data yet. A gap in the analyzer's language coverage, NOT a finding that the repository's licenses are compliant (a Maven POM and a Python pyproject.toml/requirements.txt (pip/uv/Poetry)), which this pass does not parse yet — so this dimension asserts nothing about this repository's licensing in either direction.
  • D17 Explicit Debt — explicit-debt markers are read through a C# workspace today, so they were not read for this repository's language — this asserts nothing about how many markers the code carries. Not scored — this is a gap in the analyzer, not a finding about this repository
  • 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.
  • D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
  • D22 Internal API Consistency — No exposed public API
  • D23 Boundary Type-Coupling — Production source is present (.go, .java, .py, .ts) but bounded contexts are resolved over the C#/VB project set, which exposed none, so context scope could not be assessed. Not scored — this is a gap in the analyzer, not a verdict about this repository. Declaring the codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed — see the recommendation on this dimension for where. 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
  • D26 Project Cohesion — Project cohesion is assessed over the .NET project set; this target exposed no projects, so project size and spread could not be assessed. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
  • D27 Navigability — No calls could be sampled, so navigability was not assessed — tracing effort is measured over resolved call sites and this target exposed none. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
  • D30 Dependency Vulnerabilities — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Maven POM and a Python pyproject.toml/requirements.txt (pip/uv/Poetry) — not scanned yet) — where an OSV-supported manifest exists, dependency vulnerabilities for this repository are reported under D38 instead.
  • D32 Data Compliance (PII/GDPR) — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.
  • 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.
  • D5 Coupling — Inter-project coupling could not be assessed — no analyzable project graph was found for this repository. Not scored: a gap in the analyzer's reach, not a verdict about this repository. (Coupling here is Martin afferent/efferent/instability plus reference cycles across a project-reference graph, read today from .NET project files; other ecosystems' module graphs are not read yet.)
  • D6 Cohesion (LCOM4) — Cohesion (LCOM4) is measured over a C#/VB class graph, and this repository's production source is .go, .java, .py, .ts, which this pass does not read — so no class could be assessed. Not scored — this is a gap in the analyzer, not a finding about this repository.
  • 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 (.go, .java, .ts, .py) but the test-pyramid classifier reads C# only, 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 — applicable but not scored (1 of 2 signals for this style — below the bar we score at): 626 value object(s)
  • ED1 Event-Driven — not scored — this repository shows none of the 3 signals this check looks for
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this check looks for
  • GD1 Unfinished & placeholder code — no source files
  • 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, 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'.
  • P2 Observability — Observability was not assessed: this check reads a source model that does not carry this repository's product — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of a logging idiom this check recognises is NOT evidence that this repo lacks structured logging (it may log through its own ecosystem's logger). This is a gap in the analyzer, not a finding about this repository.
  • P7 Outbound HTTP resilience — not measured — the application kind could not be determined for this repo
  • P8 Schema migrations — not assessed — schema-migration practice is read from 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
  • P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (JaCoCo XML — `mvn jacoco:report`) into the repo working tree before the scan — a CI step is the usual place, since the artefact is commonly gitignored, or wire coverage collection into CI, to enable this cross-layer check
  • PF1 Benchmark discipline — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
  • PF2 Allocation hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
  • PF3 Async & latency hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
  • R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
  • R4 Test Coverage — no production JavaScript/TypeScript files to cover (39 test file(s) present) — nothing to measure
  • R5 Dependency Freshness — no package-lock.json — dependency freshness not measured (would require an npm lockfile); JS/npm CVEs are scored in D33 (JS/npm Dependency Vulnerabilities)
  • 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
  • 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
  • X3 Exception handling — 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
  • 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 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

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.

Issue — 47 finding(s)
D29 · Static Analysis (SAST) · High · ×31
  • High: github-actions-mutable-action-tag .github/semver.yml:33 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v4`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v4 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/semver.yml:39 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/setup-java@<40-character SHA>`. This step references `actions/setup-java@v4`; resolve the SHA it points at today with `gh api repos/actions/setup-java/commits/v4 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/semver.yml:46 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: cycjimmy/semantic-release-action@<40-character SHA>`. This step references `cycjimmy/semantic-release-action@v4`; resolve the SHA it points at today with `gh api repos/cycjimmy/semantic-release-action/commits/v4 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/ci.yml:30 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push.
  • High: github-actions-mutable-action-tag .github/workflows/ci.yml:32 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/setup-java@<40-character SHA>`. This step references `actions/setup-java@v5.6.0`; resolve the SHA it points at today with `gh api repos/actions/setup-java/commits/v5.6.0 --jq .sha`. Note that `v5.6.0` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push.
  • High: github-actions-mutable-action-tag .github/workflows/compatibility.yml:27 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/compatibility.yml:62 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/upload-artifact@<40-character SHA>`. This step references `actions/upload-artifact@v7`; resolve the SHA it points at today with `gh api repos/actions/upload-artifact/commits/v7 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/compatibility.yml:88 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/download-artifact@<40-character SHA>`. This step references `actions/download-artifact@v8`; resolve the SHA it points at today with `gh api repos/actions/download-artifact/commits/v8 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/compatibility.yml:119 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/conventional-commits.yml:16 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push.
  • High: github-actions-mutable-action-tag .github/workflows/docs-actions.yml:38 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/docs-actions.yml:41 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/setup-python@<40-character SHA>`. This step references `actions/setup-python@v7`; resolve the SHA it points at today with `gh api repos/actions/setup-python/commits/v7 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/docs.yml:25 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/docs.yml:28 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/setup-python@<40-character SHA>`. This step references `actions/setup-python@v7`; resolve the SHA it points at today with `gh api repos/actions/setup-python/commits/v7 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:49 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:66 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/upload-artifact@<40-character SHA>`. This step references `actions/upload-artifact@v7`; resolve the SHA it points at today with `gh api repos/actions/upload-artifact/commits/v7 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:84 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:101 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/upload-artifact@<40-character SHA>`. This step references `actions/upload-artifact@v7`; resolve the SHA it points at today with `gh api repos/actions/upload-artifact/commits/v7 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:119 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:123 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/download-artifact@<40-character SHA>`. This step references `actions/download-artifact@v8`; resolve the SHA it points at today with `gh api repos/actions/download-artifact/commits/v8 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:128 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/download-artifact@<40-character SHA>`. This step references `actions/download-artifact@v8`; resolve the SHA it points at today with `gh api repos/actions/download-artifact/commits/v8 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:155 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: aws-actions/configure-aws-credentials@<40-character SHA>`. This step references `aws-actions/configure-aws-credentials@v6.2.3`; resolve the SHA it points at today with `gh api repos/aws-actions/configure-aws-credentials/commits/v6.2.3 --jq .sha`. Note that `v6.2.3` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/nightly.yml:161 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: aws-actions/amazon-ecr-login@<40-character SHA>`. This step references `aws-actions/amazon-ecr-login@v2`; resolve the SHA it points at today with `gh api repos/aws-actions/amazon-ecr-login/commits/v2 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/release.yml:40 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v7.0.1`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v7.0.1 --jq .sha`. Note that `v7.0.1` is an exact release tag rather than a floating major: it is still mutable (a tag can be repointed), but by convention it moves only on a force-push, so pin the floating-major and branch references in this file first.
  • High: github-actions-mutable-action-tag .github/workflows/release.yml:52 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/upload-artifact@<40-character SHA>`. This step references `actions/upload-artifact@v7`; resolve the SHA it points at today with `gh api repos/actions/upload-artifact/commits/v7 --jq .sha`.
  • + 6 more in this group — see findings.md.
D31 · IaC & Container Security · High IaC · ×5
  • High IaC: DS-0002 docker/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN adduser --system --no-create-home app`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: DS-0029 docker/Dockerfile — 'apt-get' missing '--no-install-recommends'
  • High IaC: DS-0002 docker/Dockerfile.native — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: DS-0019 docker/Dockerfile.native — 'dnf clean all' missing The install step leaves the package manager's index and downloaded packages behind in that layer, so every pull carries them and every CVE in them is attributed to your image. The step: this file installs with `dnf`, so end the SAME `RUN` that installs with `&& dnf clean all` — a later `RUN` cannot help, because the cache is already committed to the earlier layer. (The rule's title names the command for a different package manager; the defect it measures is the same one.) Where the builder supports it, `RUN --mount=type=cache` is the alternative: the cache is mounted for the step and never enters a layer at all.
  • High IaC: DS-0002 docker/Dockerfile.native-package — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
D38 · OSV Dependency Vulnerabilities · High CVE · ×4
  • High CVE: [GHSA redacted] .github/release-tooling/package-lock.json — brace-expansion 2.0.2: [GHSA redacted] — brace-expansion is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin brace-expansion to 2.1.2 with an `overrides` entry). This is 1 of 4 advisories with a published fix this scan raises against brace-expansion 2.0.2, and their fixed versions do not agree — anything below 2.1.4 still leaves at least one of them open. Take this package to 2.1.4 or later: that is the floor for the package, not this row's target alone. This one row stands for the 4 advisories this scan raises against brace-expansion 2.0.2: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] .github/release-tooling/package-lock.json — ip-address 10.1.0: [GHSA redacted] — ip-address is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin ip-address to 10.3.1 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against ip-address 10.1.0, and their fixed versions do not agree — anything below 10.3.1 still leaves at least one of them open. Take this package to 10.3.1 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against ip-address 10.1.0: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] .github/release-tooling/package-lock.json — picomatch 4.0.3: [GHSA redacted] — picomatch is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin picomatch to 4.0.4 with an `overrides` entry). This one row stands for the 2 advisories this scan raises against picomatch 4.0.3: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] .github/release-tooling/package-lock.json — sigstore 3.1.0: [GHSA redacted] — sigstore is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (— 4.1.1 is a MAJOR ahead of the resolved 3.1.0, so an `overrides` pin would force a breaking version under a dependent written against 3.1.0; upgrading the declaring package is the remedy, and where no patched release exists in your major line, record the exposure instead).
D34 · Knowledge Freshness · Orphaned knowledge · ×3
  • Orphaned knowledge src/main/java/io/github/hectorvent/floci/services/glue/schemaregistry/GlueSchemaRegistryService.java — No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
  • Orphaned knowledge src/main/java/io/github/hectorvent/floci/services/acm/AcmService.java — No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
  • Orphaned knowledge src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java — No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
D13 · Secret Scanning · Leaked secret · ×2
  • Leaked secret: high-entropy-secret src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:1356 — high-entropy-secret detected. Treat the value as compromised: it is readable by everyone who has ever had the repository, and deleting the line does not un-publish it. In order — (1) REVOKE it at whatever issued it and issue a replacement, which is the only step that actually closes the exposure; (2) load the replacement at run time from your platform's secret store or the process environment instead of from the tree, so no future value is committable; (3) remove the file or line and add its path to the repository's ignore rules, so it cannot come back; (4) if the value was ever live, purge it from the history as well, since a clone taken before the deletion still carries it. If this is instead a FIXTURE — key material generated for tests and valid nowhere — then the exposure is nil and the fix is to make that legible: generate it in test setup, or keep it under a test-data path, so a reader (and this scan) can tell it from the real thing.
  • Leaked secret: high-entropy-secret src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:124 — high-entropy-secret detected. Treat the value as compromised: it is readable by everyone who has ever had the repository, and deleting the line does not un-publish it. In order — (1) REVOKE it at whatever issued it and issue a replacement, which is the only step that actually closes the exposure; (2) load the replacement at run time from your platform's secret store or the process environment instead of from the tree, so no future value is committable; (3) remove the file or line and add its path to the repository's ignore rules, so it cannot come back; (4) if the value was ever live, purge it from the history as well, since a clone taken before the deletion still carries it. If this is instead a FIXTURE — key material generated for tests and valid nowhere — then the exposure is nil and the fix is to make that legible: generate it in test setup, or keep it under a test-data path, so a reader (and this scan) can tell it from the real thing.
D31 · IaC & Container Security · Critical IaC · ×2
  • Critical IaC: DS-0031 docker/Dockerfile — Secrets passed via `build-args` or envs or copied secret files
  • Critical IaC: DS-0031 docker/Dockerfile.compat — Secrets passed via `build-args` or envs or copied secret files
Warning — 1243 finding(s)
D3 · God Classes · TooManyMethods · ×147
  • TooManyMethods: CloudFormationResourceProvisioner src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:110 — TooManyMethods — 215 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: SesService src/main/java/io/github/hectorvent/floci/services/ses/SesService.java:68 — TooManyMethods — 180 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: S3Service src/main/java/io/github/hectorvent/floci/services/s3/S3Service.java:47 — TooManyMethods — 175 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: Ec2Service src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:81 — TooManyMethods — 170 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: CognitoService src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:38 — TooManyMethods — 163 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: Ec2QueryHandler src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java:25 — TooManyMethods — 146 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: ApiGatewayController src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:61 — TooManyMethods — 145 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: CloudFrontController src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:24 — TooManyMethods — 139 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: IotService src/main/java/io/github/hectorvent/floci/services/iot/IotService.java:49 — TooManyMethods — 125 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: EcsService src/main/java/io/github/hectorvent/floci/services/ecs/EcsService.java:53 — TooManyMethods — 111 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: S3Controller src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java:74 — TooManyMethods — 110 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: IamService src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:47 — TooManyMethods — 108 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: ApiGatewayService src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:47 — TooManyMethods — 107 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: IamQueryHandler src/main/java/io/github/hectorvent/floci/services/iam/IamQueryHandler.java:32 — TooManyMethods — 101 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: DynamoDbService src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:53 — TooManyMethods — 98 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: IotController src/main/java/io/github/hectorvent/floci/services/iot/IotController.java:44 — TooManyMethods — 98 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: SesController src/main/java/io/github/hectorvent/floci/services/ses/SesController.java:66 — TooManyMethods — 98 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: AslExecutor src/main/java/io/github/hectorvent/floci/services/stepfunctions/AslExecutor.java:83 — TooManyMethods — 97 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: CodePipelineService src/main/java/io/github/hectorvent/floci/services/codepipeline/CodePipelineService.java:50 — TooManyMethods — 93 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: EcsJsonHandler src/main/java/io/github/hectorvent/floci/services/ecs/EcsJsonHandler.java:45 — TooManyMethods — 91 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: AppSyncService src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:24 — TooManyMethods — 90 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: CloudFrontService src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontService.java:38 — TooManyMethods — 86 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: RdsService src/main/java/io/github/hectorvent/floci/services/rds/RdsService.java:53 — TooManyMethods — 84 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: Instance src/main/java/io/github/hectorvent/floci/services/ec2/model/Instance.java:14 — TooManyMethods — 83 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • TooManyMethods: CodeDeployService src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:44 — TooManyMethods — 82 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • + 122 more in this group — see findings.md.
D4 · Code Duplication · Duplicated block (6 lines × 2) · ×81
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:153 — src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:153-158 | src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:355-360 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:153` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:265 — src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:265-270 | src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:368-373 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:265` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:536 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:536-541 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:634-639 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1607 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1607-1612 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1623-1628 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1607` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:76 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:76-84 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:47-52 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:76` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:178 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:178-183 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:87-92 — 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) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:444 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:444-449 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:715-720 — 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) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:504 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:504-509 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:750-755 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:504` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/backup/BackupService.java:385 — src/main/java/io/github/hectorvent/floci/services/backup/BackupService.java:385-390 | src/main/java/io/github/hectorvent/floci/services/backup/BackupService.java:398-403 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/backup/BackupService.java:385` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:687 — src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:687-692 | src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:1067-1072 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:687` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:856 — src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:856-861 | src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:972-977 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:856` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:923 — src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:923-928 | src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:955-960 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:923` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:224 — src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:224-229 | src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:251-256 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:224` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:108 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:108-113 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:204-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 (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:804 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:804-809 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:830-835 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:804` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:641 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:641-646 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2291-2296 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:641` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1056 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1056-1061 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1070-1075 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1056` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2921 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2921-2926 | src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:550-555 — 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) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3403 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3403-3408 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3524-3529 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3425 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3425-3430 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3506-3511 — 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) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4377 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4377-4382 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4410-4415 — 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) src/main/java/io/github/hectorvent/floci/services/cloudformation/StackSetService.java:148 — src/main/java/io/github/hectorvent/floci/services/cloudformation/StackSetService.java:148-153 | src/main/java/io/github/hectorvent/floci/services/cloudformation/StackSetService.java:185-191 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/StackSetService.java:148` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:914 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:914-919 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2046-2051 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:914` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1721 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1721-1726 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1891-1896 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1721` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (6 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2568 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2568-2573 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2665-2670 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2568` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • + 56 more in this group — see findings.md.
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×78
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/docker/ContainerLifecycleManager.java:636 — src/main/java/io/github/hectorvent/floci/core/common/docker/ContainerLifecycleManager.java:636-646 | src/main/java/io/github/hectorvent/floci/services/mwaa/MwaaEnvironmentManager.java:445-452 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/common/docker/ContainerLifecycleManager.java:636` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/IamEnforcementFilter.java:177 — src/main/java/io/github/hectorvent/floci/core/common/IamEnforcementFilter.java:177-184 | src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java:142-149 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/common/IamEnforcementFilter.java:177` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:235 — src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:235-242 | src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:341-348 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1833 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1833-1840 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:610-617 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1833` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1913 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1913-1920 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:565-572 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1913` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:788 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:788-795 | src/main/java/io/github/hectorvent/floci/services/lambda/ApiGatewayController.java:249-257 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:788` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:838 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:838-845 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1161-1169 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:838` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:478 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:478-485 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:572-579 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:478` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:408 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:408-415 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:448-455 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:408` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java:226 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java:226-233 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java:255-262 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java:226` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingReconciler.java:152 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingReconciler.java:152-159 | src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingReconciler.java:263-270 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingReconciler.java:152` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:135 — src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:135-142 | src/main/java/io/github/hectorvent/floci/services/cur/CurService.java:151-158 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:135` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:364 — src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:364-371 | src/main/java/io/github/hectorvent/floci/services/cur/CurService.java:304-311 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:364` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerService.java:208 — src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerService.java:208-215 | src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerService.java:250-257 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerService.java:208` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerService.java:270 — src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerService.java:270-277 | src/main/java/io/github/hectorvent/floci/services/cur/EmissionEngine.java:84-92 — 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:261 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:261-268 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:280-287 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:261` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:410 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:410-417 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:769-776 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:410` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2913 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2913-2920 | src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:541-549 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4220 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4220-4227 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4297-4304 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4220` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4250 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4250-4257 | src/main/java/io/github/hectorvent/floci/services/ecs/EcsJsonHandler.java:1301-1309 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4250` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4494 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4494-4501 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4559-4566 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4494` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:633 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:633-640 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:668-675 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:633` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:950 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:950-957 | src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:376-383 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:950` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2115 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2115-2122 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2316-2323 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2115` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (8 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2255 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2255-2262 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2325-2332 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2255` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • + 53 more in this group — see findings.md.
D4 · Code Duplication · Duplicated block (7 lines × 2) · ×74
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:249 — src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:249-255 | src/main/java/io/github/hectorvent/floci/core/common/AwsJsonController.java:103-110 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:249` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:189 — src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:189-195 | src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:241-247 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:189` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:234 — src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:234-240 | src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:339-345 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/common/XmlParser.java:234` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:243 — src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:243-249 | src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:348-354 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:243` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:318 — src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:318-324 | src/main/java/io/github/hectorvent/floci/services/cloudformation/SamTransformProcessor.java:580-587 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1777 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1777-1783 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:518-524 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1777` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1893 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1893-1899 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:545-551 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1893` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:648 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:648-654 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1687-1693 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:495 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:495-501 | src/main/java/io/github/hectorvent/floci/services/lambda/LambdaService.java:666-672 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:495` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:124 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:124-130 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:182-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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:124` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:212 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:212-218 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:271-277 — 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) src/main/java/io/github/hectorvent/floci/services/appsync/graphql/AppSyncSchemaParser.java:42 — src/main/java/io/github/hectorvent/floci/services/appsync/graphql/AppSyncSchemaParser.java:42-48 | src/main/java/io/github/hectorvent/floci/services/appsync/graphql/AppSyncSchemaParser.java:63-69 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/appsync/graphql/AppSyncSchemaParser.java:42` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:76 — src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:76-82 | src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:358-364 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:76` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:354 — src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:354-360 | src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:461-467 — 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) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:294 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:294-300 | src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:458-464 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:294` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:685 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:685-691 | src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:725-731 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:685` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:962 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:962-968 | src/main/java/io/github/hectorvent/floci/services/elasticbeanstalk/ElasticBeanstalkQueryHandler.java:284-292 — 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/batch/BatchController.java:109 — src/main/java/io/github/hectorvent/floci/services/batch/BatchController.java:109-115 | src/main/java/io/github/hectorvent/floci/services/rdsdata/RdsDataController.java:77-83 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchController.java:109` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:152 — src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:152-158 | src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:221-227 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:152` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:1142 — src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:1142-1148 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1824-1830 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:1142` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/ce/FilterExpressionEvaluator.java:69 — src/main/java/io/github/hectorvent/floci/services/ce/FilterExpressionEvaluator.java:69-75 | src/main/java/io/github/hectorvent/floci/services/ce/FilterExpressionEvaluator.java:82-88 — 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) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:732 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:732-738 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:762-768 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:732` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:844 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:844-850 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:944-950 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:844` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1331 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1331-1337 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1358-1364 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1331` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2761 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2761-2767 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3209-3215 — 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.
  • + 49 more in this group — see findings.md.
D4 · Code Duplication · Duplicated block (5 lines × 2) · ×64
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/core/storage/HybridStorage.java:135 — src/main/java/io/github/hectorvent/floci/core/storage/HybridStorage.java:135-139 | src/main/java/io/github/hectorvent/floci/core/storage/PersistentStorage.java:123-127 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/storage/HybridStorage.java:135` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1532 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1532-1536 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1713-1717 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1537 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1537-1541 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1765-1769 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1756 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1756-1760 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:492-496 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1800 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1800-1804 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:575-579 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1811 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1811-1815 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:588-592 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1962 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1962-1966 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:688-692 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:780 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:780-784 | src/main/java/io/github/hectorvent/floci/services/lambda/ApiGatewayController.java:238-243 — 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) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1398 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1398-1402 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1797-1801 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1398` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:340 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:340-344 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:403-407 — 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) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:659 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:659-663 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:670-674 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketHandler.java:659` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:332 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:332-336 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:359-363 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:358 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:358-362 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:404-408 — 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) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:378 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:378-382 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java:405-409 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:687 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:687-691 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:755-759 — 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) src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncController.java:504 — src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncController.java:504-508 | src/main/java/io/github/hectorvent/floci/services/lambda/LambdaTagController.java:56-60 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncController.java:504` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/backup/BackupController.java:128 — src/main/java/io/github/hectorvent/floci/services/backup/BackupController.java:128-132 | src/main/java/io/github/hectorvent/floci/services/backup/BackupController.java:140-144 — 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) src/main/java/io/github/hectorvent/floci/services/batch/BatchDockerRunner.java:214 — src/main/java/io/github/hectorvent/floci/services/batch/BatchDockerRunner.java:214-218 | src/main/java/io/github/hectorvent/floci/services/ecs/container/EcsContainerManager.java:341-345 — 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:1152 — src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:1152-1156 | src/main/java/io/github/hectorvent/floci/services/cloudmap/CloudMapHandler.java:390-394 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchService.java:1152` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1850 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1850-1854 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3144-3148 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1850` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1863 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1863-1867 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3133-3137 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1863` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3090 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3090-3094 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3098-3102 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3090` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4245 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4245-4249 | src/main/java/io/github/hectorvent/floci/services/ecs/EcsJsonHandler.java:1296-1300 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:4245` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:624 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:624-628 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:658-665 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationService.java:624` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/SamTransformProcessor.java:172 — src/main/java/io/github/hectorvent/floci/services/cloudformation/SamTransformProcessor.java:172-176 | src/main/java/io/github/hectorvent/floci/services/cloudformation/SamTransformProcessor.java:239-243 — 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.
  • + 39 more in this group — see findings.md.
D3 · God Classes · FileTooLong · ×61
  • FileTooLong: cloudformation/CloudFormationResourceProvisioner.java src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:0 — FileTooLong — 3490 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CloudFormationResourceProvisioner (110-4935). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: ec2/Ec2Service.java src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:0 — FileTooLong — 2395 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Ec2Service (81-3262). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: ec2/Ec2QueryHandler.java src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java:0 — FileTooLong — 2252 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Ec2QueryHandler (25-2862). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: s3/S3Controller.java src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java:0 — FileTooLong — 2198 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: S3Controller (74-3014). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: cloudfront/CloudFrontController.java src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:0 — FileTooLong — 2148 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CloudFrontController (24-2776). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: ses/SesService.java src/main/java/io/github/hectorvent/floci/services/ses/SesService.java:0 — FileTooLong — 2028 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SesService (68-3022). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: dynamodb/DynamoDbService.java src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:0 — FileTooLong — 1922 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: DynamoDbService (53-2818). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: s3/S3Service.java src/main/java/io/github/hectorvent/floci/services/s3/S3Service.java:0 — FileTooLong — 1887 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: S3Service (47-2697). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: cognito/CognitoService.java src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:0 — FileTooLong — 1849 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: CognitoService (38-2678). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: stepfunctions/AslExecutor.java src/main/java/io/github/hectorvent/floci/services/stepfunctions/AslExecutor.java:0 — FileTooLong — 1745 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: AslExecutor (83-2667). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: ses/SesController.java src/main/java/io/github/hectorvent/floci/services/ses/SesController.java:0 — FileTooLong — 1625 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SesController (66-2211). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: dynamodb/DynamoDbJsonHandler.java src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:0 — FileTooLong — 1564 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DynamoDbJsonHandler (24-2133). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: apigateway/ApiGatewayController.java src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:0 — FileTooLong — 1535 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ApiGatewayController (61-1971). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: apigateway/ApiGatewayExecuteController.java src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:0 — FileTooLong — 1368 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ApiGatewayExecuteController (64-2009). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: codedeploy/CodeDeployService.java src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:0 — FileTooLong — 1297 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CodeDeployService (44-1814). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: ecs/EcsService.java src/main/java/io/github/hectorvent/floci/services/ecs/EcsService.java:0 — FileTooLong — 1124 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: EcsService (53-1609). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: ecs/EcsJsonHandler.java src/main/java/io/github/hectorvent/floci/services/ecs/EcsJsonHandler.java:0 — FileTooLong — 1115 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: EcsJsonHandler (45-1490). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: lambda/LambdaService.java src/main/java/io/github/hectorvent/floci/services/lambda/LambdaService.java:0 — FileTooLong — 1111 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: LambdaService (48-1658). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: sns/SnsService.java src/main/java/io/github/hectorvent/floci/services/sns/SnsService.java:0 — FileTooLong — 1091 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: SnsService (54-1541). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: apigateway/ApiGatewayService.java src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:0 — FileTooLong — 1088 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ApiGatewayService (47-1661). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: codepipeline/CodePipelineService.java src/main/java/io/github/hectorvent/floci/services/codepipeline/CodePipelineService.java:0 — FileTooLong — 1070 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: CodePipelineService (50-1370). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: iot/IotService.java src/main/java/io/github/hectorvent/floci/services/iot/IotService.java:0 — FileTooLong — 1026 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: IotService (49-1403). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: elbv2/ElbV2QueryHandler.java src/main/java/io/github/hectorvent/floci/services/elbv2/ElbV2QueryHandler.java:0 — FileTooLong — 1014 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ElbV2QueryHandler (20-1291). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: rds/RdsService.java src/main/java/io/github/hectorvent/floci/services/rds/RdsService.java:0 — FileTooLong — 980 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RdsService (53-1356). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: eventbridge/EventBridgeService.java src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:0 — FileTooLong — 978 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: EventBridgeService (40-1374). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • + 36 more in this group — see findings.md.
D4 · Code Duplication · Duplicated block (9 lines × 2) · ×49
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:198 — src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:198-206 | src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:269-277 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/common/AwsJsonCborController.java:198` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/core/storage/HybridStorage.java:95 — src/main/java/io/github/hectorvent/floci/core/storage/HybridStorage.java:95-103 | src/main/java/io/github/hectorvent/floci/core/storage/PersistentStorage.java:84-92 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/core/storage/HybridStorage.java:95` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1931 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1931-1939 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1951-1959 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayController.java:1931` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1875 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1875-1883 | src/main/java/io/github/hectorvent/floci/services/lambda/ApiGatewayController.java:205-213 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1875` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/AwsServiceRouter.java:170 — src/main/java/io/github/hectorvent/floci/services/apigateway/AwsServiceRouter.java:170-178 | src/main/java/io/github/hectorvent/floci/services/apigateway/AwsServiceRouter.java: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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/AwsServiceRouter.java:170` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:874 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:874-882 | src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:310-318 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:874` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/appconfig/AppConfigService.java:184 — src/main/java/io/github/hectorvent/floci/services/appconfig/AppConfigService.java:184-192 | src/main/java/io/github/hectorvent/floci/services/appconfig/AppConfigService.java:193-201 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/appconfig/AppConfigService.java:184` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:591 — src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:591-599 | src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:628-636 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:591` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:831 — src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:831-839 | src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:859-867 — 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) src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:1140 — src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:1140-1148 | src/main/java/io/github/hectorvent/floci/services/pricing/PricingService.java:374-382 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/appsync/AppSyncService.java:1140` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:874 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:874-882 | src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:890-898 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:874` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingReconciler.java:254 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingReconciler.java:254-262 | src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingReconciler.java:356-365 — 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) src/main/java/io/github/hectorvent/floci/services/batch/BatchDockerRunner.java:129 — src/main/java/io/github/hectorvent/floci/services/batch/BatchDockerRunner.java:129-137 | src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildRunner.java:108-116 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/batch/BatchDockerRunner.java:129` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:125 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:125-133 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:150-158 — 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:567 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:567-575 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:582-590 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:567` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2800 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2800-2808 | src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeHandler.java:231-239 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2800` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1346 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1346-1354 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1363-1371 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1346` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1943 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1943-1951 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2525-2533 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2077 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2077-2085 | src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:600-608 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2077` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2129 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2129-2137 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2328-2336 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2129` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2401 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2401-2409 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2430-2438 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2401` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontService.java:129 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontService.java:129-137 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontService.java:841-849 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontService.java:129` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildService.java:354 — src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildService.java:354-362 | src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildService.java:371-379 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildService.java:354` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:509 — src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:509-517 | src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:569-577 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:509` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (9 lines × 2) src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:868 — src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:868-878 | src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:1418-1426 — 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.
  • + 24 more in this group — see findings.md.
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×26
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/AwsJson11Controller.java:138 — src/main/java/io/github/hectorvent/floci/core/common/AwsJson11Controller.java:138-147 | src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:171-180 — 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. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction — check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:355 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:355-364 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:1266-1275 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java:355` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:241 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:241-250 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:289-298 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:241` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java:240 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java:240-249 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java: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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketProxyEventBuilder.java:240` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:885 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:885-894 | src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:941-950 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:885` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:945 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:945-954 | src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java:2089-2098 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:945` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1773 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1773-1782 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:1919-1928 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2290 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2290-2299 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2368-2377 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2290` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsService.java:173 — src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsService.java:173-182 | src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsService.java:272-281 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsService.java:173` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildRunner.java:569 — src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildRunner.java:569-578 | src/main/java/io/github/hectorvent/floci/services/lambda/launcher/ContainerLauncher.java:867-876 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildRunner.java:569` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildRunner.java:605 — src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildRunner.java:605-615 | src/main/java/io/github/hectorvent/floci/services/ec2/Ec2ContainerManager.java:692-701 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildRunner.java:605` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:571 — src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:571-580 | src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:1196-1205 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:1107 — src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:1107-1116 | src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:1166-1175 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:1107` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java:157 — src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java:157-166 | src/main/java/io/github/hectorvent/floci/services/neptune/NeptuneQueryHandler.java:143-152 — 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 (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:306 — src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:306-315 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:483-492 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:306` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:366 — src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:366-375 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:719-728 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:366` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1097 — src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1097-1106 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1124-1133 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1097` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/eks/EksClusterManager.java:415 — src/main/java/io/github/hectorvent/floci/services/eks/EksClusterManager.java:415-424 | src/main/java/io/github/hectorvent/floci/services/mwaa/MwaaEnvironmentManager.java:489-498 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/eks/EksClusterManager.java:415` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:1132 — src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:1132-1141 | src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:1267-1276 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:1132` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/iot/IotMqttBrokerService.java:300 — src/main/java/io/github/hectorvent/floci/services/iot/IotMqttBrokerService.java:300-309 | src/main/java/io/github/hectorvent/floci/services/iot/IotService.java:1119-1128 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/iot/IotMqttBrokerService.java:300` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/lambda/launcher/ContainerLauncher.java:590 — src/main/java/io/github/hectorvent/floci/services/lambda/launcher/ContainerLauncher.java:590-599 | src/main/java/io/github/hectorvent/floci/services/lambda/launcher/ContainerLauncher.java:622-631 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/lambda/launcher/ContainerLauncher.java:590` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/lambda/DynamoDbStreamsEventSourcePoller.java:169 — src/main/java/io/github/hectorvent/floci/services/lambda/DynamoDbStreamsEventSourcePoller.java:169-178 | src/main/java/io/github/hectorvent/floci/services/lambda/SqsEventSourcePoller.java:165-174 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/lambda/DynamoDbStreamsEventSourcePoller.java:169` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:213 — src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:213-222 | src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:566-575 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:213` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:272 — src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:272-281 | src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:326-335 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/pipes/PipesPoller.java:272` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (10 lines × 2) src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:462 — src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:462-471 | src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:557-566 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:462` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • + 1 more in this group — see findings.md.
D29 · Static Analysis (SAST) · Medium · ×17
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/core/common/docker/PortAllocator.java:73 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/core/common/docker/PortAllocator.java:90 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/apigatewayv2/proxy/HttpProxyInvoker.java:169 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/docdb/container/DocDbContainerManager.java:132 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: use-of-md5 src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:2713 — Detected MD5 hash algorithm which is considered insecure. MD5 is not collision resistant and is therefore not suitable as a cryptographic signature. Use HMAC instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: weak-random src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:825 — Detected use of the functions `Math.random()` or `java.util.Random()`. These are both not cryptographically strong random number generators (RNGs). If you are using these RNGs to create passwords or secret tokens, use `java.security.SecureRandom` instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: weak-random src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:2505 — Detected use of the functions `Math.random()` or `java.util.Random()`. These are both not cryptographically strong random number generators (RNGs). If you are using these RNGs to create passwords or secret tokens, use `java.security.SecureRandom` instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/elasticache/container/ElastiCacheContainerManager.java:129 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/elasticache/container/ElastiCacheMemcachedContainerManager.java:116 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/elasticache/proxy/ElastiCacheAuthProxy.java:57 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/elasticache/proxy/ElastiCacheAuthProxy.java:108 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/elasticache/proxy/ElastiCacheAuthProxy.java:149 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/memorydb/container/MemoryDbContainerManager.java:118 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/memorydb/proxy/MemoryDbAuthProxy.java:63 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/memorydb/proxy/MemoryDbAuthProxy.java:112 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/memorydb/proxy/MemoryDbAuthProxy.java:151 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
  • Medium: unencrypted-socket src/main/java/io/github/hectorvent/floci/services/neptune/container/NeptuneContainerManager.java:194 — Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. This is a semgrep security-AUDIT rule: it reports that a sensitive pattern is present, not that it is exploitable here. Confirm whether the flagged value reaches a security decision — a credential, token, nonce, key, salt or session id, or an externally reachable surface — and apply the change where it does; where it provably does not (cosmetic, simulation, or deliberately reproducible use), record the review and leave the code as it is.
D4 · Code Duplication · Duplicated block (11 lines × 2) · ×14
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/core/common/AwsJson11Controller.java:184 — src/main/java/io/github/hectorvent/floci/core/common/AwsJson11Controller.java:184-194 | src/main/java/io/github/hectorvent/floci/core/common/AwsJsonController.java:79-89 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngine.java:324 — src/main/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngine.java:324-334 | src/main/java/io/github/hectorvent/floci/services/appsync/graphql/util/AppSyncUtil.java:67-77 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngine.java:324` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:193 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:193-203 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/websocket/WebSocketIntegrationInvoker.java:279-289 — 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) src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:605 — src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:605-615 | src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:646-656 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java:605` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java:78 — src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java:78-88 | src/main/java/io/github/hectorvent/floci/services/neptune/NeptuneQueryHandler.java:72-82 — 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) src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1718 — src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1718-1728 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1829-1839 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1718` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1789 — src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1789-1799 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1802-1812 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbService.java:1789` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbTableNames.java:113 — src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbTableNames.java:113-123 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbTableNames.java:132-142 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbTableNames.java:113` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/elasticache/container/ElastiCacheContainerManager.java:167 — src/main/java/io/github/hectorvent/floci/services/elasticache/container/ElastiCacheContainerManager.java:167-177 | src/main/java/io/github/hectorvent/floci/services/memorydb/container/MemoryDbContainerManager.java:156-166 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/elasticache/container/ElastiCacheContainerManager.java:167` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/elasticache/proxy/ElastiCacheAuthProxy.java:89 — src/main/java/io/github/hectorvent/floci/services/elasticache/proxy/ElastiCacheAuthProxy.java:89-99 | src/main/java/io/github/hectorvent/floci/services/memorydb/proxy/MemoryDbAuthProxy.java:95-105 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/elasticache/proxy/ElastiCacheAuthProxy.java:89` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/kinesis/KinesisService.java:193 — src/main/java/io/github/hectorvent/floci/services/kinesis/KinesisService.java:193-206 | src/main/java/io/github/hectorvent/floci/services/kinesis/KinesisService.java:217-227 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/kinesis/KinesisService.java:193` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/rds/proxy/MySqlProtocolHandler.java:314 — src/main/java/io/github/hectorvent/floci/services/rds/proxy/MySqlProtocolHandler.java:314-324 | src/main/java/io/github/hectorvent/floci/services/rds/proxy/PostgresProtocolHandler.java:621-631 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:416 — src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:416-426 | src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:489-499 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java:416` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (11 lines × 2) src/main/java/io/github/hectorvent/floci/services/s3/S3Service.java:959 — src/main/java/io/github/hectorvent/floci/services/s3/S3Service.java:959-969 | src/main/java/io/github/hectorvent/floci/services/s3/S3Service.java:977-987 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/s3/S3Service.java:959` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
D4 · Code Duplication · Duplicated block (7 lines × 3) · ×13
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:184 — src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:184-190 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:1500-1506 | src/main/java/io/github/hectorvent/floci/services/ecr/EcrJsonHandler.java:290-296 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java:184` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:384 — src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:384-390 | src/main/java/io/github/hectorvent/floci/services/cur/CurService.java:324-330 | src/main/java/io/github/hectorvent/floci/services/cur/ParquetEmitter.java:277-283 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsService.java:384` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:341 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:341-347 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:379-385 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:553-559 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java:341` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:725 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:725-731 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:918-924 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2854-2860 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:725` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2976 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2976-2982 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3000-3006 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3025-3031 — 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) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:285 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:285-291 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:398-404 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:512-518 — 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:209 — src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:209-215 | src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:328-334 | src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:389-395 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java:209` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:732 — src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:732-738 | src/main/java/io/github/hectorvent/floci/services/kms/KmsService.java:270-276 | src/main/java/io/github/hectorvent/floci/services/pipes/PipesService.java:62-68 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:732` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:2240 — src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:2240-2247 | src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:2321-2327 | src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:2332-2338 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java:2240` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java:62 — src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java:62-68 | src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:97-104 | src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:329-335 — there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:1627 — src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:1627-1633 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:1636-1642 | src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:1645-1651 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java:1627` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:897 — src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:897-903 | src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:952-958 | src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:980-986 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java:897` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (7 lines × 3) src/main/java/io/github/hectorvent/floci/services/resourcegroupstagging/ResourceGroupsTaggingService.java:100 — src/main/java/io/github/hectorvent/floci/services/resourcegroupstagging/ResourceGroupsTaggingService.java:100-106 | src/main/java/io/github/hectorvent/floci/services/resourcegroupstagging/ResourceGroupsTaggingService.java:167-173 | src/main/java/io/github/hectorvent/floci/services/resourcegroupstagging/ResourceGroupsTaggingService.java:195-201 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/resourcegroupstagging/ResourceGroupsTaggingService.java:100` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (5 lines × 3) · ×12
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:1005 — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:1005-1009 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:1027-1031 | src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:1042-1046 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayService.java:1005` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:158 — src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:158-162 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:263-267 | src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:798-802 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2Service.java:158` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:995 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:995-999 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1044-1048 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1194-1198 — 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 (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2990 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:2990-2994 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3015-3019 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3053-3057 — 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 (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3186 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3186-3191 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3442-3446 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3629-3634 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3186` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3438 — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3438-3442 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3624-3628 | src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:3682-3686 — 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:627 — src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:627-631 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2003-2007 | src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:2017-2021 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudfront/CloudFrontController.java:627` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsHandler.java:465 — src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsHandler.java:465-469 | src/main/java/io/github/hectorvent/floci/services/iot/IotController.java:839-843 | src/main/java/io/github/hectorvent/floci/services/iot/IotController.java:915-919 — there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsHandler.java:465` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsService.java:614 — src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsService.java:614-618 | src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:247-251 | src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeService.java:327-331 — there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsService.java:614` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheQueryHandler.java:98 — src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheQueryHandler.java:98-102 | src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheQueryHandler.java:129-133 | src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheQueryHandler.java:148-152 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheQueryHandler.java:98` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:1286 — src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:1286-1290 | src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:1299-1303 | src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:1326-1330 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/iam/IamService.java:1286` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
  • Duplicated block (5 lines × 3) src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:221 — src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:221-225 | src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:243-247 | src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:305-309 — 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java:221` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
D15 · Churn × Complexity Hotspots · Hotspot · ×10
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java — src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java changed 52 times in last 90 days, max complexity 82. 27 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java — src/main/java/io/github/hectorvent/floci/services/ec2/Ec2Service.java changed 40 times in last 90 days, max complexity 83. 22 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java — src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java changed 24 times in last 90 days, max complexity 102. 13 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java — src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java changed 37 times in last 90 days, max complexity 46. 31 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java — src/main/java/io/github/hectorvent/floci/services/apigateway/ApiGatewayExecuteController.java changed 17 times in last 90 days, max complexity 70. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/glue/GlueJsonHandler.java src/main/java/io/github/hectorvent/floci/services/glue/GlueJsonHandler.java — src/main/java/io/github/hectorvent/floci/services/glue/GlueJsonHandler.java changed 13 times in last 90 days, max complexity 60. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/cognito/CognitoJsonHandler.java src/main/java/io/github/hectorvent/floci/services/cognito/CognitoJsonHandler.java — src/main/java/io/github/hectorvent/floci/services/cognito/CognitoJsonHandler.java changed 11 times in last 90 days, max complexity 61. 3 of those changes were fix/bug commits, and the other 8 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java — src/main/java/io/github/hectorvent/floci/services/cognito/CognitoService.java changed 21 times in last 90 days, max complexity 30. 9 of those changes were fix/bug commits, and the other 12 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, 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.
  • Hotspot: src/main/java/io/github/hector...

    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.