Public report — RxTool, published 25 Sep 2026.
Concrete security findings (which rule fired, in which file, on which line; CVE IDs, secret matches,
dependency versions) are REDACTED in this version; ask the repo owner for the full report.
Public
Codebase surveyMeasured under the Code Assurance Index · rubric rubric-2026.09.15 (frozen) · verify this surveyFiledcd_e5079a0d4bc044dabfb27428035a1aca
Filed 25 September 2026, 13:28 UTC
Public
1 critical236 serious11 minor46 could not be resolved — could be critical — see Limitations
This survey was produced by
Watchdog
Producer
Canine Development
Analyzer
Watchdog engine 1.0.0
Measured
25 September 2026, 13:25 UTC
A measurement, not a certificate. The Code Assurance Index does not certify,
approve or guarantee this codebase; it records a reproducible number and the evidence it was computed from. The
standard is authored by Canine Development, who also build Watchdog — its only implementation today. That is said
here so the number is checked rather than believed.
Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸
242findings with an exact file:lineof 248 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
22/115dimensions across the health lenses66174 LoC — wide & deep
This system holds an adequate overall standing of 52%, indicating a workable asset that carries significant operational risk. While the underlying code is well-structured and the architecture is robust, the system lacks the operational maturity required for safe, continuous delivery. The business value tied up here is substantial, representing a medium-sized codebase of over 66,000 lines. Rebuilding this from scratch would require roughly 0.4 person-years and approximately €63,000, highlighting the cost of inaction versus the cost of modernization.
The primary risk lies in operational fragility. With a readiness score of just 33%, the system is difficult to deploy and monitor safely. This gap exposes the business to potential outages and slow incident response, as there is no automated pipeline to catch errors before they reach production. The lack of a continuous integration workflow means every change is a manual gamble, increasing the likelihood of defects slipping through and delaying releases.
A secondary concern is the hidden velocity tax. Although the code health is strong at 85%, the complexity and duplication in certain areas create a drag on development speed. Every modification in these weaker zones likely costs 2–5% more effort than in clean code. This tax compounds over time, slowing down feature delivery and increasing long-term maintenance costs without the team realizing the source of the delay.
On the positive side, the architecture is excellent at 99%, meaning changes are unlikely to cause unintended ripple effects across the system. The code itself is clean and maintainable, and security scanning shows a healthy posture at 84%. These strengths provide a solid foundation that, if paired with better operational practices, could significantly accelerate delivery.
To maximize leverage, the immediate focus must be on establishing a continuous integration workflow. Adding a pipeline that builds and tests every change is the highest-return action. It addresses the readiness gap, prevents security regressions, and stops the velocity tax from worsening. Until this is in place, other improvements will yield diminishing returns. Note that domain modeling and event-driven aspects were not measured, so this assessment is partial.
How the score is built — each lens's share of the headlineWidth 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.
231 finding(s) are new versus the previous scan (2026-08-06) — surfaced by this scheduled scan itself, no pull request required. Showing the first 100; the full set is in the report.
A full-fidelity diff against the previous run's complete recorded findings — line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.
0.7× (at 52% quality) — the last 20% of quality is most of the work
Size & shape
REDACTED · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk)
This codebase represents roughly ~0.4 person-years of build effort (about ~€63,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 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with RxScaleImageView.java, ModelSVG.kt, RxFileTool.kt.
Run what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
Value concentrated against a weak lens · REDACTED · Value at risk
This is a REDACTED asset (~0.4 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.
→ Direct remediation budget at Readiness first — highest risk-reduction per euro on an asset this size.
Highest-leverage move · REDACTED · Leverage
Of everything flagged, the best return on effort is: Add a CI workflow that builds and runs the test suite on every push/PR. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Add a CI workflow that builds and runs the test suite on every push/PR.
A velocity tax on every change · REDACTED · Economics
The code-quality signals (complexity, duplication, cohesion) average 7.3/10, which acts as a tax on every change in the weaker areas: modifications there plausibly cost on the order of 2–5% 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 7.3/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
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.)
247 modules, 221 dependencies. 10 dependency cycles across 24 modules, marked above the diagonal.
Showing the 40 most-connected modules; 207 more are not drawn.
Module dependency matrix. The row depends on the column; the number is how many type pairs create the dependency. A cell above the diagonal is part of a dependency cycle.
rxui.view.cardstack.tools uses rxui.view.cardstack.RxCardStackView. Changing rxui.view.cardstack.RxCardStackView can break rxui.view.cardstack.tools, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
22→12 rxui.view.colorpicker.builder depends on rxui.view.colorpicker✕
Type pairs
3 distinct (type in rxui.view.colorpicker.builder → type in rxui.view.colorpicker) references.
rxfeature.activity uses rxfeature.activity.ActivityScanerCode. Changing rxfeature.activity.ActivityScanerCode can break rxfeature.activity, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
34→19 rxfeature.activity depends on rxui.activity✕
Type pairs
2 distinct (type in rxfeature.activity → type in rxui.activity) references.
53 distinct (type in rxdemo.activity → type in rxui.activity) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).
OWASP category
Findings
Severity
A03:2021 — Injection
5
REDACTED / Critical
Roadmap
Establish a CI pipeline to automatically build, test, and enforce security standards on every change to prevent regressions. Maintain release hygiene by documenting changes in a changelog and record key architectural decisions in a dedicated, discoverable location. Finally, clean up the codebase by removing the most significant orphaned files to ensure knowledge freshness.
Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.
Do this
Helps
Effort
Dimension
Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with RxScaleImageView.java, ModelSVG.kt, RxFileTool.kt.
Run what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
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 each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
Every finding carries one of four grades. Three say how serious it is. The fourth says this
survey could not settle it — and it is a grade, not a gap.
Critical — 1
A definite problem that already costs you something and drags the score down: a
missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here
tends to cause failures elsewhere.
Serious — 236
Likely wrong, but not failing yet. It degrades
the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to
carry for two years either.
Minor — 11
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved — 46
Something this survey could not settle
from the outside, and which could be critical or serious. Either a control was required and no
positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves
nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean
result. These are excluded from the score rather than awarded a pass, so the number on the cover neither
rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each
one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 19 of 22 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.
What we checked — 22 dimensions across the health lenses
Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.
How to trust any code-health report — three questions
Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 242 of 248 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
This report answers yes to all three. That's the bar to hold any assessment to.
Tools & methods
The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.
D4 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 46 duplicated block group(s) on this row were found in the languages this pass could tokenize, and they do NOT cover all of this repository's production source: .java (15,924 lines, 24% of production source) went unread, because no language model this pass could load exposed a clone-unit token stream for those file kinds. Duplication in that source is UNMEASURED — its absence from the count above is a gap in this analyzer's language coverage, not a finding that the code is free of duplication.
D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.kt, .java) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.kt, .java) and this repository declares a JVM test suite (repository root, Gradle), but it was not re-run: the analyzer environment could not run it. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Dependency Hygiene ran out of its 5-minute budget before it had finished, so what it reports here is a floor rather than a complete count. The rows above are real and stand; what is not known is how many more there are. This is a limit of the analysis run, not a finding about this repository.
D14 License Compliance — evaluation did not complete — License Compliance not included (check did not complete) — excluded from the score.
D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (8 contributor(s) across 809 commit(s) sampled, automation and bot accounts excluded). One of them holds 99% of the history; the other 7 hold 0.1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: D22 has no public-API collector for any other ecosystem, and the remedy is to write one — no change to the scan image can close it.
D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (go.mod, a Gemfile's ruby directive, a Dockerfile) is simply not read here yet.
AX3 Project dependency cycles — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which project references which — facts that live in .csproj references. This repository either commits no MSBuild project at all (its C# may still have been parsed as syntax-only projects, which carry no references between them) or its projects failed to load, so there was no graph to read. That is a gap in this analyzer's reach — not a finding that the repository is free of what this check looks for.
AX4 Dependency direction — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the direction each project reference points — facts that live in .csproj references. This repository either commits no MSBuild project at all (its C# may still have been parsed as syntax-only projects, which carry no references between them) or its projects failed to load, so there was no graph to read. That is a gap in this analyzer's reach — not a finding that the repository is free of what this check looks for.
AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
AX8 Test isolation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which projects are test projects, and what they reference — facts that live in .csproj references. This repository either commits no MSBuild project at all (its C# may still have been parsed as syntax-only projects, which carry no references between them) or its projects failed to load, so there was no graph to read. That is a gap in this analyzer's reach — not a finding that the repository is free of what this check looks for.
C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared — every source file was scored.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.
D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
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.
D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
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").
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.
AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
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.
P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
LLM-set scores this run (3): D19, D21, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score; each names its own sample and method on its card. They are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.
What it measures: How tangled the control flow is — methods with many branches are hard to test and change.
Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.
28 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was RxScaleImageView.onTouchEventInternal at 59. A further 4 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 RxEasingProvider.get at 31 — they are counted neither in the figure above nor in this dimension's score. 3 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: RxUI/src/main/java/com/tamsiree/rxui/view/likeview/tools/ei/RxEasingProvider.kt (RxEasingProvider.get at 31), RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/layer/RxLayerInfoFactory.kt (RxLayerInfoFactory.getLayerInfo at 17), RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/SpriteFactory.kt (SpriteFactory.create at 16). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
+ 23 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 RxScaleImageView.onTouchEventInternal (cyclomatic 59) finding(s) in Cyclomatic Complexity — start with RxScaleImageView.java. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 RxScaleImageView.onDraw (cyclomatic 52) finding(s) in Cyclomatic Complexity — start with RxScaleImageView.java. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 RxSeekBar.onTouchEvent (cyclomatic 41) finding(s) in Cyclomatic Complexity — start with RxSeekBar.java. — One of this dimension's main actionable groups (1 warning-level).
Stand up a CI pipeline, then gate Cyclomatic Complexity in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: How hard the code is for a person to follow, beyond raw branching.
Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.
+ 75 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 RxScaleImageView.onTouchEventInternal (cognitive 137) finding(s) in Cognitive Complexity — start with RxScaleImageView.java. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 RxScaleImageView.onDraw (cognitive 123) finding(s) in Cognitive Complexity — start with RxScaleImageView.java. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 RxSeekBar.onTouchEvent (cognitive 111) finding(s) in Cognitive Complexity — start with RxSeekBar.java. — One of this dimension's main actionable groups (1 warning-level).
Stand up a CI pipeline, then gate Cognitive Complexity in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D3 · God Classes7.9 / 10Strong✓ Tool-verified
What it measures: Over-large classes that try to do too much ("god classes").
Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.
Resolve the 24 TooManyMethods finding(s) in God Classes — start with RxFileTool.kt, RxScaleImageView.java, RxImageTool.kt. — One of this dimension's main actionable groups (24 warning-level).
Resolve the 12 ClassTooLong finding(s) in God Classes — start with RxScaleImageView.java, RxFileTool.kt, RxSeatAirplane.java. — One of this dimension's main actionable groups (12 warning-level).
Resolve the 12 FileTooLong finding(s) in God Classes — start with RxScaleImageView.java, RxFileTool.kt, RxSeatAirplane.java. — One of this dimension's main actionable groups (12 warning-level).
Stand up a CI pipeline, then gate God Classes in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Copy-pasted code that should be shared instead.
Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.
46 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted. Measured on part of this repository only: .java (24% of production source) was not exposed to the token comparison, so duplication there is unmeasured and is not in this count.
+ 22 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 6 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with RxFileTool.kt (2), RxDialog.kt, RxDialogLoading.kt. — One of this dimension's main actionable groups (6 warning-level).
Resolve the 5 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with FlowerColorWheelRenderer.kt, RxLocationTool.kt, RxArcGisMapTool.kt. — One of this dimension's main actionable groups (5 warning-level).
Resolve the 4 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with RxDialogTool.kt, RxRoundProgress.kt, RxLocationTool.kt. — One of this dimension's main actionable groups (4 warning-level).
Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D9 · Test Distribution10.0 / 10Exemplary✓ Tool-verified
What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.
Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.
What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.
Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.
What it measures: 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.
What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.
Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.
21 deducted task-comment markers across 66174 LoC (0.0/KLoC) → score 9.9. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
Resolve the 17 TodoComment finding(s) in Explicit Debt — start with RxSeatAirplane.java (4), ActivitySplash.kt (3), RxCameraView.java (2). — One of this dimension's main actionable groups (17 warning-level).
Resolve the 3 XxxComment finding(s) in Explicit Debt — start with WheelHorizontalView.java (2), AbstractWheel.java. — One of this dimension's main actionable groups (3 warning-level).
Resolve the 1 HackComment finding(s) in Explicit Debt — start with RxScaleImageView.java. — One of this dimension's main actionable groups (1 warning-level).
Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.
This single README is a well-written personal tooling doc for an Android project: it has a strong branding banner, a clear running-environment section with build/gradle info, and a 'How to use it' walkthrough that starts with adding the jitpack repo and then dependencies. It also lists Step 3 (initialize in Application), API docs, update logs, demos, photo/crop, scanning/barcode, dialogs, other features, and license information. The document is well-structured but only one README file exists; no architecture or contributing documentation is present.
Documentation: no installation or build instructions · ×3README.md
What to do
Resolve the 3 Documentation finding(s) in Documentation Quality — start with README.md (3). — One of this dimension's main actionable groups (3 recommendation-level).
Detailed fixes: d19_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether names — types, methods, variables — are clear and consistent.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.
What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.
Method: Secret scan via TWO gitleaks detect passes in an isolated checkout — the full git history, then a second --no-git pass over the working tree as it stands — merged and de-duplicated by (rule, file, line); each match flagged REDACTED. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side — unscored and excluded from the lens, never a hedged middling score.
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).
5 finding(s): 0 critical, 1 high, 4 medium, 0 low. semgrep hit a parse error in 2 file(s) — `RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogDate.kt` (line 24, line 86, line 87, …), `RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt` (line 457, line 497, line 570, …) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
REDACTED
REDACTED
What to do
Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (4 warning-level).
Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether 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.
230 of 230 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java. Counted over 230 of the 464 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
Most significant orphaned file · ×3RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java
Dormant codebase
What to do
Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with RxScaleImageView.java, ModelSVG.kt, RxFileTool.kt. — One of this dimension's main actionable groups (3 recommendation-level).
Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling. A non-source file is never a coupling PARTICIPANT either: documentation, schemas, config and data files are dropped with the rest, so a code↔docs pair — a command and the reference page that restates it — is not reported however strongly the two co-change; nor is coupling that runs THROUGH a build step or config file.
Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified. How each file's role is decided, because the split is only as good as that: a generated name or a build-output tree makes it Generated, a test project makes it Test, and otherwise the file's NAMESPACE and PATH words are matched against fixed vocabularies in a fixed ORDER — domain, then infrastructure, then application — so a file whose words hit two layers is counted under the earlier one. A production file matching none of them counts as application, so that share reads 'application or unclassified' rather than a measured application layer. Roles come from naming convention, never from what the code does. On this repository the split was taken from the source tree on disk rather than from a loaded .NET workspace, so a file's role is decided by its PATH segments alone — no declared namespace was available to add to the evidence — and generated output is excluded from the census entirely rather than counted as a generated share.
Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.
Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.
What to do
The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
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 'Testing' section to the root README — how to run the test suite.
Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
Add a README to the 7 of 7 project(s) that lack one — worth up to 2 pts.
Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.
Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.
No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
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 each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
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.
Do you agree with this assessment?
P1 · CI/CD gates0.0 / 10Critical✓ Tool-verified
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.
No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
Add a CI workflow that builds and runs the test suite on every push/PR.
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) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
Run what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
Enable Dependabot/Renovate or a dependency-review gate.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
Readiness · Readiness — Whether releases are traceable — a maintained changelog and explicit version stamping.
Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.
No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
Do you agree with this assessment?
Reference — by lens
The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.
Not evidenced — 5 control(s) we could not find positive evidence for
These checks grade a working control, and the repository shows no evidence of one. That is deliberately not scored as a zero: a repository cannot show an ops runbook, a database TTL or an infrastructure-side audit log, so absence of evidence here is not evidence the control is missing. It is also not a statement that the check is irrelevant to this codebase — the thing it grades applies; we just could not see it. Excluded from the score either way.
C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 88 check(s) not relevant to this codebase
These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.
AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
AX1 Captive dependencies — no DI registrations detected
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.
D10 Test Quality — ~145 lines of test source are present (.kt, .java) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
D11 Test Reliability — Test reliability not included — no .kt test runner
D14 License Compliance — License Compliance not included (check did not complete)
D16 Bus Factor — single-maintainer repository — bus factor is not applicable
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 — The exposed public-API surface could not be collected — no C#/VB projects loaded.
D23 Boundary Type-Coupling — Production source is present (.java, .kt) 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 — symbol resolution incomplete — navigability not assessed
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 Gradle build (build.gradle/build.gradle.kts) — not scanned yet).
D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D43 Malicious Dependencies — 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 Gradle build (build.gradle/build.gradle.kts) — not scanned yet).
D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
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 CS/VB/GO/SCALA/SWIFT/DART class graph, and this repository's production source is .java, .kt, 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
DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (39 value object(s))
ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
P12 CI test-gate honesty — no CI workflow found
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 — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
PF1 Benchmark discipline — 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.
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.
X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
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
X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.
TooManyMethods: Companion RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:54— TooManyMethods — 119 methods. The bar is 30 methods; this is 89 over it, 3.97× the bar. 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: RxScaleImageView RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:82— TooManyMethods — 113 methods. The bar is 30 methods; this is 83 over it, 3.77× the bar. 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: RxImageTool RxKit/src/main/java/com/tamsiree/rxkit/RxImageTool.kt:29— TooManyMethods — 93 methods. The bar is 30 methods; this is 63 over it, 3.10× the bar. 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: Companion RxKit/src/main/java/com/tamsiree/rxkit/RxDataTool.kt:42— TooManyMethods — 58 methods. The bar is 30 methods; this is 28 over it, 1.93× the bar. 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: RxTitle RxUI/src/main/java/com/tamsiree/rxui/view/RxTitle.kt:27— TooManyMethods — 55 methods. The bar is 30 methods; this is 25 over it, 1.83× the bar. 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: RxToast RxKit/src/main/java/com/tamsiree/rxkit/view/RxToast.kt:28— TooManyMethods — 50 methods. The bar is 30 methods; this is 20 over it, 1.67× the bar. 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: WheelView RxUI/src/main/java/com/tamsiree/rxui/view/dialog/wheel/WheelView.kt:26— TooManyMethods — 48 methods. The bar is 30 methods; this is 18 over it, 1.60× the bar. 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: AbstractWheel RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/AbstractWheel.java:25— TooManyMethods — 48 methods. The bar is 30 methods; this is 18 over it, 1.60× the bar. 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: RxDeviceTool RxKit/src/main/java/com/tamsiree/rxkit/RxDeviceTool.kt:41— TooManyMethods — 47 methods. The bar is 30 methods; this is 17 over it, 1.57× the bar. 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: RxEncryptTool REDACTED:23— TooManyMethods — 47 methods. The bar is 30 methods; this is 17 over it, 1.57× the bar. 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: RxSeatMovie RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatMovie.java:43— TooManyMethods — 42 methods. The bar is 30 methods; this is 12 over it, 1.40× the bar. 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: RxCardStackView RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/RxCardStackView.kt:21— TooManyMethods — 41 methods. The bar is 30 methods; this is 11 over it, 1.37× the bar. 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: TStepperIndicator RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:37— TooManyMethods — 41 methods. The bar is 30 methods; this is 11 over it, 1.37× the bar. 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: RxAppTool RxKit/src/main/java/com/tamsiree/rxkit/RxAppTool.kt:22— TooManyMethods — 40 methods. The bar is 30 methods; this is 10 over it, 1.33× the bar. 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: RxBaseRoundProgress RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/common/RxBaseRoundProgress.kt:19— TooManyMethods — 37 methods. The bar is 30 methods; this is 7 over it, 1.23× the bar. 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: TVideoTimeline RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:20— TooManyMethods — 37 methods. The bar is 30 methods; this is 7 over it, 1.23× the bar. 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: RxRulerWheelView RxUI/src/main/java/com/tamsiree/rxui/view/RxRulerWheelView.java:33— TooManyMethods — 36 methods. The bar is 30 methods; this is 6 over it, 1.20× the bar. 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: RxWaveView RxUI/src/main/java/com/tamsiree/rxui/view/waveview/RxWaveView.java:50— TooManyMethods — 35 methods. The bar is 30 methods; this is 5 over it, 1.17× the bar. 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: ColorPickerView RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/ColorPickerView.kt:36— TooManyMethods — 34 methods. The bar is 30 methods; this is 4 over it, 1.13× the bar. 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: RxTickerView RxUI/src/main/java/com/tamsiree/rxui/view/ticker/RxTickerView.java:44— TooManyMethods — 33 methods. The bar is 30 methods; this is 3 over it, 1.10× the bar. 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: RxCameraView RxCamera/src/main/java/com/tamsiree/camera/RxCameraView.java:30— TooManyMethods — 32 methods. The bar is 30 methods; this is 2 over it, 1.07× the bar. 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: RxSeatAirplane RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:46— TooManyMethods — 32 methods. The bar is 30 methods; this is 2 over it, 1.07× the bar. 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: RxShineButton RxUI/src/main/java/com/tamsiree/rxui/view/likeview/RxShineButton.kt:26— TooManyMethods — 31 methods. The bar is 30 methods; this is 1 over it, 1.03× the bar. 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: TGlideTabLayout RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:33— TooManyMethods — 31 methods. The bar is 30 methods; this is 1 over it, 1.03× the bar. 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.
TodoComment RxCamera/src/main/api21/com/tamsiree/camera/Camera2.java:252— // TODO: Better error handling — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxCamera/src/main/java/com/tamsiree/camera/RxCameraView.java:119— // TODO: 2018/7/3 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxCamera/src/main/java/com/tamsiree/camera/RxCameraView.java:129— // TODO: 2018/7/3 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxDemo/src/main/java/com/tamsiree/rxdemo/activity/ActivitySplash.kt:79— // TODO: 第一步 在此处 使用 你的网络框架下载 新的Apk文件 可参照下面的例子 使用的是 okGo网络框架 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxDemo/src/main/java/com/tamsiree/rxdemo/activity/ActivitySplash.kt:80— // TODO: 第二步 可使用 RxAppTool.InstallAPK(context,file.getAbsolutePath()); 方法进行 最新版本Apk文件的安装 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxDemo/src/main/java/com/tamsiree/rxdemo/activity/ActivitySplash.kt:117— // TODO: 使用 RxDeviceTool.getAppVersionNo(context); 方法 获取当前app版本号 与 提交给服务器 做对比 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxDemo/src/main/java/com/tamsiree/rxdemo/adapter/AdapterStackTest.kt:49— //TODO TEST LARGER ITEM — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:516— // TODO: 2017/2/6 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:1467— // TODO Auto-generated method stub — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:1473— // TODO Auto-generated method stub — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:1479— // TODO Auto-generated method stub — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:1485— // TODO Auto-generated method stub — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/ArrayWheelAdapter.java:44— // TODO Auto-generated method stub — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/dialog/wheel/WheelView.kt:462— // TODO: make it static — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:825— // TODO: 05/08/16 handle cases where steps are skipped - need to animate all of them — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxTextRoundProgress.kt:101— // TODO Temporary — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment RxUI/src/main/java/com/tamsiree/rxui/view/ticker/RxTickerView.java:124— // TODO: having textColor first here does not work, why? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
ClassTooLong: RxScaleImageView RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:82— ClassTooLong — 1567 significant lines (blank, comment-only and punctuation-only lines excluded), 113 methods. The bar is 400 significant lines; this is 1167 over it, 3.92× the bar. 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.
ClassTooLong: RxFileTool RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:51— ClassTooLong — 1024 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 624 over it, 2.56× the bar. 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.
ClassTooLong: RxSeatAirplane RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:46— ClassTooLong — 909 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 509 over it, 2.27× the bar. 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.
ClassTooLong: RxSeatMovie RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatMovie.java:43— ClassTooLong — 683 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 283 over it, 1.71× the bar. 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.
ClassTooLong: TVideoTimeline RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:20— ClassTooLong — 634 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 234 over it, 1.59× the bar. 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.
ClassTooLong: RxSeekBar RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:38— ClassTooLong — 611 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 211 over it, 1.53× the bar. 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.
ClassTooLong: TStepperIndicator RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:37— ClassTooLong — 546 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 146 over it, 1.37× the bar. 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.
ClassTooLong: TTabLayout RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:36— ClassTooLong — 540 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 140 over it, 1.35× the bar. 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.
ClassTooLong: TGlideTabLayout RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:33— ClassTooLong — 497 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 97 over it, 1.24× the bar. 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.
ClassTooLong: RxCardStackView RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/RxCardStackView.kt:21— ClassTooLong — 461 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 61 over it, 1.15× the bar. 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.
ClassTooLong: TSectionTabLayout RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:33— ClassTooLong — 417 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 17 over it, 1.04× the bar. 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.
ClassTooLong: RxRulerWheelView RxUI/src/main/java/com/tamsiree/rxui/view/RxRulerWheelView.java:33— ClassTooLong — 401 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 1 over it, 1.00× the bar. 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.
FileTooLong: scaleimage/RxScaleImageView.java RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java— FileTooLong — 1616 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: RxScaleImageView (82-3105). The bar is 500 significant lines; this is 1116 over it, 3.23× the bar. 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: rxkit/RxFileTool.kt RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt— FileTooLong — 1051 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: RxFileTool (51-2263). The bar is 500 significant lines; this is 551 over it, 2.10× the bar. 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: view/RxSeatAirplane.java RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java— FileTooLong — 943 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: RxSeatAirplane (46-1545). The bar is 500 significant lines; this is 443 over it, 1.89× the bar. 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: rxkit/RxImageTool.kt RxKit/src/main/java/com/tamsiree/rxkit/RxImageTool.kt— FileTooLong — 800 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 300 over it, 1.60× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: view/RxSeatMovie.java RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatMovie.java— FileTooLong — 716 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RxSeatMovie (43-1293). The bar is 500 significant lines; this is 216 over it, 1.43× the bar. 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: video/TVideoTimeline.kt RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt— FileTooLong — 651 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: TVideoTimeline (20-930). The bar is 500 significant lines; this is 151 over it, 1.30× the bar. 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: view/RxSeekBar.java RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java— FileTooLong — 640 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RxSeekBar (38-1053). The bar is 500 significant lines; this is 140 over it, 1.28× the bar. 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: rxkit/RxDataTool.kt RxKit/src/main/java/com/tamsiree/rxkit/RxDataTool.kt— FileTooLong — 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: indicator/TStepperIndicator.kt RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt— FileTooLong — 572 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: TStepperIndicator (37-1177). The bar is 500 significant lines; this is 72 over it, 1.14× the bar. 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: tablayout/TTabLayout.kt RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt— FileTooLong — 570 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: TTabLayout (36-815). The bar is 500 significant lines; this is 70 over it, 1.14× the bar. 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: tablayout/TGlideTabLayout.kt RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt— FileTooLong — 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: TGlideTabLayout (33-792). The bar is 500 significant lines; this is 24 over it, 1.05× the bar. 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: rxkit/RxDeviceTool.kt RxKit/src/main/java/com/tamsiree/rxkit/RxDeviceTool.kt— FileTooLong — 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
MethodTooLong: TBlurTool.stackBlur RxKit/src/main/java/com/tamsiree/rxkit/TBlurTool.kt:168— MethodTooLong — stackBlur runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: RxScaleImageView.onTouchEventInternal RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:657— MethodTooLong — onTouchEventInternal runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: RxSeatAirplane.setSeat RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:370— MethodTooLong — setSeat runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: TStepperIndicator.init RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:246— MethodTooLong — init runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: RxScaleImageView.onDraw RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:928— MethodTooLong — onDraw runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: RxShapeView.onDraw RxUI/src/main/java/com/tamsiree/rxui/view/dialog/shapeloadingview/RxShapeView.kt:65— MethodTooLong — onDraw runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: RxSeekBar.onTouchEvent RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:801— MethodTooLong — onTouchEvent runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
Duplicated block (9 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialog.kt:33— RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialog.kt:33-41 | RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialog.kt:52-60 — 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 `RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialog.kt:33` 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 first that the copies are not typed on the same thing: the declarations holding them bind `context` to `Context` in one and `Context?` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (9 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogLoading.kt:64— RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogLoading.kt:64-72 | RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogShapeLoading.kt:52-60 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (9 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/popupwindows/tools/RxPopupViewCoordinatesFinder.kt:68— RxUI/src/main/java/com/tamsiree/rxui/view/popupwindows/tools/RxPopupViewCoordinatesFinder.kt:68-76 | RxUI/src/main/java/com/tamsiree/rxui/view/popupwindows/tools/RxPopupViewCoordinatesFinder.kt:83-91 — 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) RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1371— RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1371-1379 | RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1409-1417 — 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 `RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1371` 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. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1419` calls `addAll`, `listFilesInDirWithFilter` and `RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1380` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1451— RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1451-1459 | RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1485-1493 — 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 `RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1451` 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. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1495` calls `addAll`, `listFilesInDirWithFilter` and `RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1460` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogEditSureCancel.kt:77— RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogEditSureCancel.kt:77-85 | RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogSureCancel.kt:89-97 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (5 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/renderer/FlowerColorWheelRenderer.kt:39— RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/renderer/FlowerColorWheelRenderer.kt:39-43 | RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/renderer/SimpleColorWheelRenderer.kt:30-34 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (5 lines × 2) RxKit/src/main/java/com/tamsiree/rxkit/RxLocationTool.kt:269— RxKit/src/main/java/com/tamsiree/rxkit/RxLocationTool.kt:269-273 | RxKit/src/main/java/com/tamsiree/rxkit/RxLocationTool.kt:388-392 — 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 `RxKit/src/main/java/com/tamsiree/rxkit/RxLocationTool.kt:269` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (5 lines × 2) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:295— RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:295-299 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:370-374 — 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 `RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:295` 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) RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/CubeGrid.kt:43— RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/CubeGrid.kt:43-47 | RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/ThreeBounce.kt:45-49 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. 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. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/ThreeBounce.kt:52` calls `setScale` and `RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/CubeGrid.kt:48` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (5 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/RotatingCircle.kt:11— RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/RotatingCircle.kt:11-15 | RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/RotatingPlane.kt:16-20 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. 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) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogTool.kt:96— RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogTool.kt:96-102 | RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogTool.kt:115-121 — 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) RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxRoundProgress.kt:49— RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxRoundProgress.kt:49-55 | RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxTextRoundProgress.kt:53-59 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxRoundProgress.kt:49` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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) RxKit/src/main/java/com/tamsiree/rxkit/RxLocationTool.kt:262— RxKit/src/main/java/com/tamsiree/rxkit/RxLocationTool.kt:262-268 | RxKit/src/main/java/com/tamsiree/rxkit/RxLocationTool.kt:381-387 — 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) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:310— RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:310-316 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:383-389 — 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 `RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:310` 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.
XxxComment RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/WheelHorizontalView.java:228— // XXX: Locating bug — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
XxxComment RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/WheelHorizontalView.java:234— //XXX: Most likely, measurements of mItemsLayout or/and its children are done inconrrectly. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
XxxComment RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/AbstractWheel.java:80— //XXX: I don't like listeners the way as they are now. -df — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
Duplicated block (8 lines × 3) RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:216— RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:216-223 | RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:268-275 | RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:300-307 — 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 `RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:216` 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 × 3) RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterAllMoveDownAnimator.kt:38— RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterAllMoveDownAnimator.kt:38-45 | RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterUpDownAnimator.kt:41-48 | RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterUpDownStackAnimator.kt:41-48 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterAllMoveDownAnimator.kt:38` 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 × 3) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:698— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:698-705 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:558-565 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:729-736 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. 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) RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:231— RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:231-238 | RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:311-318 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/RxCobwebView.kt:231` 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) RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/RxCardStackView.kt:673— RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/RxCardStackView.kt:673-680 | RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxStackScrollDelegateImpl.kt:49-56 — 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) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:597— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:597-604 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:768-775 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. 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 (27 lines × 2) RxKit/src/main/java/com/tamsiree/rxkit/RxNetTool.kt:210— RxKit/src/main/java/com/tamsiree/rxkit/RxNetTool.kt:210-236 | RxKit/src/main/java/com/tamsiree/rxkit/RxNetTool.kt:247-273 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `RxKit/src/main/java/com/tamsiree/rxkit/RxNetTool.kt:210` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (27 lines × 2) RxKit/src/main/java/com/tamsiree/rxkit/RxPhotoTool.kt:82— RxKit/src/main/java/com/tamsiree/rxkit/RxPhotoTool.kt:82-108 | RxKit/src/main/java/com/tamsiree/rxkit/RxPhotoTool.kt:115-141 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/ColorPickerView.kt:174— RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/ColorPickerView.kt:174-185 | RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/slider/AbsCustomSlider.kt:80-91 — 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 (12 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:195— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:195-206 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:238-249 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 3) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:380— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:380-385 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:329-334 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:352-357 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:380` 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 × 3) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:711— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:711-716 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:571-576 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:742-747 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. 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) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:236— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:236-240 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:185-189 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:228-232 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:236` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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) RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/ChasingDots.kt:52— RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/ChasingDots.kt:52-56 | RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/Circle.kt:23-27 | RxUI/src/main/java/com/tamsiree/rxui/view/loadingview/style/DoubleBounce.kt:25-29 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. 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.
RxScaleImageView.onTouchEventInternal (cyclomatic 59) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:657— RxScaleImageView.onTouchEventInternal has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass's cyclomatic complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 5 of the 28 methods over the threshold — including the worst — and 85 of the 276 points over it (31%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 33). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
RxScaleImageView.onDraw (cyclomatic 52) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:928— RxScaleImageView.onDraw has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass's cyclomatic complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 5 of the 28 methods over the threshold — including the worst — and 85 of the 276 points over it (31%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 33). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
RxSeekBar.onTouchEvent (cyclomatic 41) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:801— RxSeekBar.onTouchEvent has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxMapScaleView.refreshScaleView (cyclomatic 40) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:128— RxMapScaleView.refreshScaleView has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
RxSeatAirplane.setSeat (cyclomatic 39) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:370— RxSeatAirplane.setSeat has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TStepperIndicator.onDraw (cyclomatic 37) RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:588— TStepperIndicator.onDraw has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxCardStackView.onTouchEvent (cyclomatic 28) RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/RxCardStackView.kt:329— RxCardStackView.onTouchEvent has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxNetTool.getNetWorkType (cyclomatic 25) RxKit/src/main/java/com/tamsiree/rxkit/RxNetTool.kt:79— RxNetTool.getNetWorkType has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
Builder.setSpan (cyclomatic 25) RxKit/src/main/java/com/tamsiree/rxkit/RxTextTool.kt:409— Builder.setSpan has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
TCrashTool.install (cyclomatic 25) RxKit/src/main/java/com/tamsiree/rxkit/crash/TCrashTool.java:83— TCrashTool.install has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TStepperIndicator.init (cyclomatic 24) RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:246— TStepperIndicator.init has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TVideoTimeline.scaleTimebarByFactor (cyclomatic 23) RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:244— TVideoTimeline.scaleTimebarByFactor has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxSeekBar.setRules (cyclomatic 22) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:697— RxSeekBar.setRules has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TLog.log (cyclomatic 20) RxKit/src/main/java/com/tamsiree/rxkit/TLog.kt:132— TLog.log has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxRegTool.IDCardValidate (cyclomatic 19) RxKit/src/main/java/com/tamsiree/rxkit/RxRegTool.kt:166— RxRegTool.IDCardValidate has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
TTabLayout.onDraw (cyclomatic 18) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:342— TTabLayout.onDraw has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TVideoTimeline.onTouchEvent (cyclomatic 17) RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:632— TVideoTimeline.onTouchEvent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxDataTool.isEmpty (cyclomatic 17) RxKit/src/main/java/com/tamsiree/rxkit/RxDataTool.kt:83— RxDataTool.isEmpty has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
RxEncodeTool.htmlEncode (cyclomatic 17) RxKit/src/main/java/com/tamsiree/rxkit/RxEncodeTool.kt:145— RxEncodeTool.htmlEncode has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ActivityLoginAct.initEvent (cyclomatic 17) RxDemo/src/main/java/com/tamsiree/rxdemo/activity/ActivityLoginAct.kt:59— ActivityLoginAct.initEvent has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
RxArcGisMapTool.addMapLocalMMPK (cyclomatic 17) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:207— RxArcGisMapTool.addMapLocalMMPK has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxScaleImageView.setImage (cyclomatic 17) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:385— RxScaleImageView.setImage has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass's cyclomatic complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 5 of the 28 methods over the threshold — including the worst — and 85 of the 276 points over it (31%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 33). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
Base64.decode (cyclomatic 17) RxPay/src/main/java/com/tamsiree/rxpay/alipay/Base64.java:153— Base64.decode has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
WheelView.doScroll (cyclomatic 16) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/wheel/WheelView.kt:592— WheelView.doScroll has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
TGlideTabLayout.onDraw (cyclomatic 16) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:370— TGlideTabLayout.onDraw has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RxScaleImageView.getExifOrientation (cyclomatic 16) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:1599— RxScaleImageView.getExifOrientation has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass's cyclomatic complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 5 of the 28 methods over the threshold — including the worst — and 85 of the 276 points over it (31%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 33). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
RxScaleImageView.refreshRequiredTiles (cyclomatic 16) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:1247— RxScaleImageView.refreshRequiredTiles has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass's cyclomatic complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 5 of the 28 methods over the threshold — including the worst — and 85 of the 276 points over it (31%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 33). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
CameraConfigurationManager.setZoom (cyclomatic 16) RxFeature/src/main/java/com/tamsiree/rxfeature/scaner/CameraConfigurationManager.java:197— CameraConfigurationManager.setZoom has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
HackComment RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:533— // Hacky solution for #15 - after a double tap the GestureDetector gets in a state — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
RxScaleImageView.onTouchEventInternal (cognitive 137) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:657— RxScaleImageView.onTouchEventInternal has cognitive complexity 137 (threshold 15). Drivers by points: if/else 35 (110 pts), boolean chains 19, ternaries 1 (7 pts), match/switch 1 (nesting depth added 81). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
RxScaleImageView.onDraw (cognitive 123) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:928— RxScaleImageView.onDraw has cognitive complexity 123 (threshold 15). Drivers by points: if/else 34 (89 pts), loops 4 (12 pts), boolean chains 10, ternaries 2 (8 pts), error handling 1 (4 pts) (nesting depth added 72). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
RxSeekBar.onTouchEvent (cognitive 111) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:801— RxSeekBar.onTouchEvent has cognitive complexity 111 (threshold 15). Drivers by points: if/else 38 (97 pts), loops 2 (9 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxSeatAirplane.setSeat (cognitive 68) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:370— RxSeatAirplane.setSeat has cognitive complexity 68 (threshold 15). Drivers by points: if/else 36 (65 pts), boolean chains 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TCrashTool.install (cognitive 67) RxKit/src/main/java/com/tamsiree/rxkit/crash/TCrashTool.java:83— TCrashTool.install has cognitive complexity 67 (threshold 15). Drivers by points: if/else 21 (56 pts), loops 1 (6 pts), boolean chains 4, error handling 1 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
TStepperIndicator.onDraw (cognitive 63) RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:588— TStepperIndicator.onDraw has cognitive complexity 63 (threshold 15). Drivers by points: if/else 14 (41 pts), boolean chains 21, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxCardStackView.onTouchEvent (cognitive 54) RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/RxCardStackView.kt:329— RxCardStackView.onTouchEvent has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (51 pts), boolean chains 2, match/switch 1 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
TVideoTimeline.scaleTimebarByFactor (cognitive 50) RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:244— TVideoTimeline.scaleTimebarByFactor has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (44 pts), boolean chains 6 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxArcGisMapTool.getPointLine (cognitive 45) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:286— RxArcGisMapTool.getPointLine has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (38 pts), loops 2 (7 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxShoppingView.onTouchEvent (cognitive 44) RxUI/src/main/java/com/tamsiree/rxui/view/RxShoppingView.java:244— RxShoppingView.onTouchEvent has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (43 pts), match/switch 1 (nesting depth added 32). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
TStepperIndicator.init (cognitive 41) RxUI/src/main/java/com/tamsiree/rxui/view/indicator/TStepperIndicator.kt:246— TStepperIndicator.init has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxEncodeTool.htmlEncode (cognitive 40) RxKit/src/main/java/com/tamsiree/rxkit/RxEncodeTool.kt:145— RxEncodeTool.htmlEncode has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (11 pts), boolean chains 5 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxMapScaleView.refreshScaleView (cognitive 39) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:128— RxMapScaleView.refreshScaleView has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20, boolean chains 19. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
RxArcGisMapTool.addMapLocalMMPK (cognitive 38) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:207— RxArcGisMapTool.addMapLocalMMPK has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 3 (11 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
3.onSingleTapConfirmed (cognitive 37) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatMovie.java:1121— 3.onSingleTapConfirmed has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (32 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxScaleImageView.refreshRequiredTiles (cognitive 35) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:1247— RxScaleImageView.refreshRequiredTiles has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
TTabLayout.onDraw (cognitive 33) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:342— TTabLayout.onDraw has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxArcGisMapTool.initPointLine (cognitive 33) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/tool/RxArcGisMapTool.kt:343— RxArcGisMapTool.initPointLine has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (28 pts), loops 2 (5 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxRulerWheelView.onDraw (cognitive 32) RxUI/src/main/java/com/tamsiree/rxui/view/RxRulerWheelView.java:230— RxRulerWheelView.onDraw has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxProcessTool.getForegroundProcessName (cognitive 31) RxKit/src/main/java/com/tamsiree/rxkit/RxProcessTool.kt:30— RxProcessTool.getForegroundProcessName has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (5 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TGlideTabLayout.onDraw (cognitive 30) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:370— TGlideTabLayout.onDraw has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
ActivityELMe.initView (cognitive 29) RxDemo/src/main/java/com/tamsiree/rxdemo/activity/ActivityELMe.kt:54— ActivityELMe.initView has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 1 (5 pts), boolean chains 4 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxScaleImageView.getExifOrientation (cognitive 29) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:1599— RxScaleImageView.getExifOrientation has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
TBlurTool.stackBlur (cognitive 28) RxKit/src/main/java/com/tamsiree/rxkit/TBlurTool.kt:168— TBlurTool.stackBlur has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 7 (11 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxScaleImageView.setImage (cognitive 28) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:385— RxScaleImageView.setImage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
TMarker.onChildDraw (cognitive 27) RxUI/src/main/java/com/tamsiree/rxui/view/mark/TMarker.kt:242— TMarker.onChildDraw has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
SkiaImageDecoder.decode (cognitive 27) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/decoder/SkiaImageDecoder.kt:21— SkiaImageDecoder.decode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (9 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TVideoTimeline.scaleByPressingButton (cognitive 27) RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:713— TVideoTimeline.scaleByPressingButton has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 2 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
TVideoTimeline.onTouchEvent (cognitive 26) RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:632— TVideoTimeline.onTouchEvent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 1, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AbstractWheel.setCurrentItem (cognitive 26) RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/AbstractWheel.java:549— AbstractWheel.setCurrentItem has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 1 (5 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxSeekBar.setRules (cognitive 26) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:697— RxSeekBar.setRules has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 6, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Builder.setSpan (cognitive 25) RxKit/src/main/java/com/tamsiree/rxkit/RxTextTool.kt:409— Builder.setSpan has cognitive complexity 25 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
TLog.log (cognitive 25) RxKit/src/main/java/com/tamsiree/rxkit/TLog.kt:132— TLog.log has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 11 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxScaleImageView.initialiseTileMap (cognitive 25) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:1442— RxScaleImageView.initialiseTileMap has cognitive complexity 25 (threshold 15). Drivers by points: loops 5 (10 pts), ternaries 2 (8 pts), boolean chains 4, if/else 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
Base64.decode (cognitive 25) RxPay/src/main/java/com/tamsiree/rxpay/alipay/Base64.java:153— Base64.decode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WheelView.setCurrentItem (cognitive 24) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/wheel/WheelView.kt:283— WheelView.setCurrentItem has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
TTabLayout.updateTabStyles (cognitive 24) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:234— TTabLayout.updateTabStyles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxQRCode.creatQRCode (cognitive 24) RxFeature/src/main/java/com/tamsiree/rxfeature/tool/RxQRCode.kt:70— RxQRCode.creatQRCode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxRotateBar.onDraw (cognitive 23) RxUI/src/main/java/com/tamsiree/rxui/view/RxRotateBar.kt:157— RxRotateBar.onDraw has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 4 (10 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
RxPhotoTool.getImageAbsolutePath (cognitive 23) RxKit/src/main/java/com/tamsiree/rxkit/RxPhotoTool.kt:218— RxPhotoTool.getImageAbsolutePath has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SeekBar.draw (cognitive 23) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:445— SeekBar.draw has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxScaleImageView.isBaseLayerReady (cognitive 22) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:1133— RxScaleImageView.isBaseLayerReady has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (8 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
RxScaleImageView.<init> (cognitive 22) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:283— RxScaleImageView.<init> has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
SkiaImageRegionDecoder.init (cognitive 21) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/decoder/SkiaImageRegionDecoder.kt:24— SkiaImageRegionDecoder.init has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (7 pts), boolean chains 2, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
RxFileTool.getPathFromUri (cognitive 21) RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:2103— RxFileTool.getPathFromUri has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CameraConfigurationManager.setZoom (cognitive 21) RxFeature/src/main/java/com/tamsiree/rxfeature/scaner/CameraConfigurationManager.java:197— CameraConfigurationManager.setZoom has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 3 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
RxCameraView.onMeasure (cognitive 21) RxCamera/src/main/java/com/tamsiree/camera/RxCameraView.java:182— RxCameraView.onMeasure has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TVideoTimeline.drawRecord (cognitive 20) RxUI/src/main/java/com/tamsiree/rxui/view/timeline/video/TVideoTimeline.kt:566— TVideoTimeline.drawRecord has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (6 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxFileTool.deleteFilesInDir (cognitive 20) RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:265— RxFileTool.deleteFilesInDir has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxZipTool.fileToZip (cognitive 20) RxKit/src/main/java/com/tamsiree/rxkit/RxZipTool.kt:436— RxZipTool.fileToZip has cognitive complexity 20 (threshold 15). Drivers by points: loops 2 (9 pts), if/else 3 (6 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
FragmentDemoDataBankCard.initData (cognitive 20) RxDemo/src/main/java/com/tamsiree/rxdemo/fragment/FragmentDemoDataBankCard.kt:28— FragmentDemoDataBankCard.initData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxSeatMovie.autoScroll (cognitive 20) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatMovie.java:860— RxSeatMovie.autoScroll has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
Base64.encode (cognitive 20) RxPay/src/main/java/com/tamsiree/rxpay/alipay/Base64.java:71— Base64.encode has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WheelView.doScroll (cognitive 19) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/wheel/WheelView.kt:592— WheelView.doScroll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
RxLevenshteinUtils.computeColumnActions (cognitive 19) RxUI/src/main/java/com/tamsiree/rxui/view/ticker/RxLevenshteinUtils.kt:26— RxLevenshteinUtils.computeColumnActions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxPhotoTool.getRealFilePath (cognitive 19) RxKit/src/main/java/com/tamsiree/rxkit/RxPhotoTool.kt:180— RxPhotoTool.getRealFilePath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (19 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxRegTool.IDCardValidate (cognitive 19) RxKit/src/main/java/com/tamsiree/rxkit/RxRegTool.kt:166— RxRegTool.IDCardValidate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, error handling 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ActivityLoginAct.initEvent (cognitive 19) RxDemo/src/main/java/com/tamsiree/rxdemo/activity/ActivityLoginAct.kt:59— ActivityLoginAct.initEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
RxScaleImageView.reset (cognitive 19) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:443— RxScaleImageView.reset has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
RxCardStackView.onInterceptTouchEvent (cognitive 18) RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/RxCardStackView.kt:272— RxCardStackView.onInterceptTouchEvent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxShapeView.onDraw (cognitive 18) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/shapeloadingview/RxShapeView.kt:65— RxShapeView.onDraw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxDeviceTool.getDeviceInfo (cognitive 18) RxKit/src/main/java/com/tamsiree/rxkit/RxDeviceTool.kt:486— RxDeviceTool.getDeviceInfo has cognitive complexity 18 (threshold 15). Drivers by points: error handling 5 (10 pts), if/else 6 (8 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxFileTool.copyOrMoveDir (cognitive 18) RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:1027— RxFileTool.copyOrMoveDir has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxZipTool.zipFile (cognitive 18) RxKit/src/main/java/com/tamsiree/rxkit/RxZipTool.kt:160— RxZipTool.zipFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Engine.computeSize (cognitive 18) RxKit/src/main/java/com/tamsiree/rxkit/photomagic/Engine.kt:26— Engine.computeSize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
2.Touch (cognitive 18) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeatAirplane.java:233— 2.Touch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RxRotateBar.initRatingBar (cognitive 17) RxUI/src/main/java/com/tamsiree/rxui/view/RxRotateBar.kt:231— RxRotateBar.initRatingBar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TGlideTabLayout.addTab (cognitive 17) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:210— TGlideTabLayout.addTab has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ActivityProgressBar.initRoundProgress (cognitive 17) RxDemo/src/main/java/com/tamsiree/rxdemo/activity/ActivityProgressBar.kt:73— ActivityProgressBar.initRoundProgress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AdapterRightDish.onBindViewHolder (cognitive 17) RxDemo/src/main/java/com/tamsiree/rxdemo/adapter/AdapterRightDish.kt:50— AdapterRightDish.onBindViewHolder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxScaleImageView.onTouchEvent (cognitive 17) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java:609— RxScaleImageView.onTouchEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass's cognitive complexity CONCENTRATES: RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java holds 10 of the 80 methods over the threshold — including the worst — and 307 of the 1183 points over it (26%), 2.6× the next-largest file (RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java at 117). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
AbstractWheel.doScroll (cognitive 17) RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/AbstractWheel.java:334— AbstractWheel.doScroll has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ColorPickerDialogBuilder.build (cognitive 16) RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/builder/ColorPickerDialogBuilder.kt:169— ColorPickerDialogBuilder.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TTabLayout.setMsgMargin (cognitive 16) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:694— TTabLayout.setMsgMargin has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxDataTool.isEmpty (cognitive 16) RxKit/src/main/java/com/tamsiree/rxkit/RxDataTool.kt:83— RxDataTool.isEmpty has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
RxPullXml.parseXMLWithPull (cognitive 16) RxDemo/src/main/java/com/tamsiree/rxdemo/tools/RxPullXml.kt:39— RxPullXml.parseXMLWithPull has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AbstractWheel.rebuildItems (cognitive 16) RxUI/src/main/java/com/tamsiree/rxui/view/wheelhorizontal/AbstractWheel.java:727— AbstractWheel.rebuildItems has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxSeekBar.onDraw (cognitive 16) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:278— RxSeekBar.onDraw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxSeekBar.setValue (cognitive 16) RxUI/src/main/java/com/tamsiree/rxui/view/RxSeekBar.java:651— RxSeekBar.setValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RxShoppingView.onDraw (cognitive 16) RxUI/src/main/java/com/tamsiree/rxui/view/RxShoppingView.java:129— RxShoppingView.onDraw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D4 · Code Duplication· Edited copy of a member (11 corresponding lines) · ×1
Edited copy of a member (11 corresponding lines) RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxRoundProgress.kt:45— RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxRoundProgress.kt:45-55 | RxUI/src/main/java/com/tamsiree/rxui/view/roundprogressbar/RxTextRoundProgress.kt:49-59 — These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Duplicated block (43 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:405— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:405-447 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:384-426 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt` as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 130 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:405` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (28–31 lines × 2) RxFeature/src/main/java/com/tamsiree/rxfeature/activity/ActivityScanerCode.kt:130— RxFeature/src/main/java/com/tamsiree/rxfeature/activity/ActivityScanerCode.kt:130-160 | RxFeature/src/main/java/com/tamsiree/rxfeature/tool/RxQrBarTool.kt:30-57 — 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 (24 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/decoder/SkiaImageDecoder.kt:27— RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/decoder/SkiaImageDecoder.kt:27-50 | RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/decoder/SkiaImageRegionDecoder.kt:28-51 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (23 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:223— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:223-245 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:290-312 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (22 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:371— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:371-392 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:343-364 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt` as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 130 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:371` 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. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:339` calls `invalidate` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:367` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (17 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:169— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:169-185 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:212-228 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:169` 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 (12–16 lines × 2) RxKit/src/main/java/com/tamsiree/rxkit/RxPictureTool.kt:67— RxKit/src/main/java/com/tamsiree/rxkit/RxPictureTool.kt:67-78 | RxKit/src/main/java/com/tamsiree/rxkit/RxPictureTool.kt:117-132 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 3) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:677— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:677-688 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:537-548 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:695-706 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:677` 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 × 3) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:629— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:629-639 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:490-500 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:643-653 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:629` 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 (11 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:579— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:579-589 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:750-760 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (9–10 lines × 3) RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterAllMoveDownAnimator.kt:17— RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterAllMoveDownAnimator.kt:17-25 | RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterUpDownAnimator.kt:17-25 | RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterUpDownStackAnimator.kt:17-26 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/cardstack/tools/RxAdapterAllMoveDownAnimator.kt:17` 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 (10 lines × 3) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:662— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:662-671 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:520-529 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:678-687 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 2) RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:2123— RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt:2123-2132 | RxKit/src/main/java/com/tamsiree/rxkit/RxPhotoTool.kt:236-245 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (6 lines × 2) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/shapeloadingview/RxShapeView.kt:116— RxUI/src/main/java/com/tamsiree/rxui/view/dialog/shapeloadingview/RxShapeView.kt:116-121 | RxUI/src/main/java/com/tamsiree/rxui/view/dialog/shapeloadingview/RxShapeView.kt:137-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 `RxUI/src/main/java/com/tamsiree/rxui/view/dialog/shapeloadingview/RxShapeView.kt:116` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (9 lines × 3) RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogEditSureCancel.kt:87— RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogEditSureCancel.kt:87-95 | RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogSure.kt:95-103 | RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogSureCancel.kt:99-107 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once.
Duplicated block (7 lines × 3) RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:460— RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:460-466 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt:355-361 | RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TTabLayout.kt:434-440 — before extracting anything, compare `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt` and `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TSectionTabLayout.kt` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `RxUI/src/main/java/com/tamsiree/rxui/view/tablayout/TGlideTabLayout.kt:460` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (5 lines × 9) RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:140— RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:140-144 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:148-152 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:156-160 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:164-168 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:172-176 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:180-184 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:188-192 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:196-200 | RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:204-208 — all 9 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 `RxArcGisKit/src/main/java/com/tamsiree/rxarcgiskit/view/RxMapScaleView.kt:140` 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.
Documentation: no installation or build instructions README.md— The 'How to use it' section begins with adding the jitpack repo in build.gradle(Project:XXXX) and then dependencies, but there are no setup/build instructions for a new project or an install command. Add a one-line 'Install this tooling set' instruction (e.g. clone/jitpack) plus a short quick-start snippet showing how to add the module to a new Android Studio project.
Documentation: no usage examples README.md— The walkthrough is cut at Step 2's dependencies line, so the full 'how to run it' flow (Step 3 initialization, API docs) and any remaining steps are not visible. Complete the How-to section with a runnable example showing how to add RxTool as a dependency and call its first API.
Documentation: no architecture or design documentation README.md— No architecture or design documentation is present in the single README, despite the presence of an Architecture/Docs markdown directory (which was not shown). Add a short 'Architecture Overview' section describing what RxTool does and its components.
D34 · Knowledge Freshness· Most significant orphaned file · ×3
Most significant orphaned file RxUI/src/main/java/com/tamsiree/rxui/view/scaleimage/RxScaleImageView.java— One of the orphaned files carrying the most lost knowledge — ranked by size weighted by the file's role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites.
Most significant orphaned file RxDemo/src/main/java/com/tamsiree/rxdemo/model/ModelSVG.kt— One of the orphaned files carrying the most lost knowledge — ranked by size weighted by the file's role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites.
Most significant orphaned file RxKit/src/main/java/com/tamsiree/rxkit/RxFileTool.kt— One of the orphaned files carrying the most lost knowledge — ranked by size weighted by the file's role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites.
Dormant codebase — 230 of 230 significant files have no living knowledge — the codebase as a whole is dormant, not 230 separate risks. Counted over 230 of the 464 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change.
No ADRs — No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
M2 · Architecture documentation· No architecture diagram/doc · ×1
No architecture diagram/doc — No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
No SAST — 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) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
No changelog — No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
Appendix B — Reproduction & audit trail
Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.
none (dependency manifest found, not scanned for vulnerabilities here)
—
none (dependency manifest found, not scanned for vulnerabilities here): not applicable — 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 Gradle build (build.gradle/build.gradle.kts) — not scanned yet).
trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
none (dependency manifest found, not scanned for vulnerabilities here)
—
none (dependency manifest found, not scanned for vulnerabilities here): not applicable — 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 Gradle build (build.gradle/build.gradle.kts) — not scanned yet).
0
—
Run 01a0d8bd-d9aa-72b2-854c-e097e46ec136 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 1 · Warnings: 236 · Recommendations: 11 — Appendix A · all findings · full markdown report.
Generated by Watchdog — deterministic code-health analysis. 25-09-2026 @ 13:25 UTC.
Downloadable artifacts
Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.