Public report of slowlyo/owl-admin, published 17 November 2026. It has the same score, grades and number of findings as the full report. The details of security findings (where they are in the code, which known vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive report Measured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.11.4). Assert signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey → Signed and filed in the standard's public register, 17 November 2026, 17:52 UTC · Survey ID cd_cd8fb65558384bae85f8b5004e8248ca

slowlyo/owl-admin

Measured 17 November 2026, 17:46 UTC, at code version 833c5b9

First survey, so nothing to compare with yet
CAI score 39.3out of 100 At risk

The score is built from these lenses. Each lens grades one area of the code, such as how easy it is to change or how well it is protected. The weakest lens counts most, so one weak area pulls the score down instead of being averaged away.

A medium codebase: 93,062 lines of product code in 15 projects, tests not counted · Estimated rebuild effort: about 0.5 person-years · Weakest lens: Accessibility, 30.9

Findings by how serious they are

39 critical 352 serious 19 minor

22 dimensions are left out of the score. For each one, we either couldn't measure it in this code, or found no evidence of the safeguard we look for, such as a tested backup restore. They count neither for nor against the score, and Limitations lists each one with its reason.

This survey was produced by

Assert small markCanine Code Analyzer
Producer
Canine Development
Analyzer
Canine Code Analyzer engine 1.0.0
Measured
17 November 2026, 17:46 UTC

A measurement, not a certificate. The Code Assurance Index records a number together with the evidence it was worked out from, so anyone can recalculate it, but it doesn't certify or guarantee the code. The standard was written by Canine Development, which also builds the Canine Code Analyzer. It is open to any tool that implements it, and today the Canine Code Analyzer is the only one that does.

A critical security finding is open, such as a library with a known critical vulnerability or a password or key found in the code. The score itself is unchanged, but its band shows At risk until the finding is fixed. See the Security and Compliance lens.

The score is deterministic, which means the same code always gets the same score. We work it out with tools that follow published rules, and an AI model never decides it, so anyone who applies the same rules to the same code gets the same number. How it is done is explained under Methodology ▸

47of 47 dimensions measured by tools.
396of 410 findings point to an exact file and line, so you can open each one in the code. The other 14 concern the repository as a whole, such as missing documentation.
47dimensions across 6 lenses, read from 93,062 lines of product code in 15 projects.
Chapters

Executive summary

slowlyo/owl-admin is rated At risk because critical security findings are open, most of them in the packages it uses. Its score is held back because it has controls that only work with a mouse. It scores 39.3 out of 100, which the At risk rating leaves unchanged.

Accessibility, at 30.9, is the weakest lens and counts most in the score. The best first step is making the controls keyboard-usable, worth about 6.4 points. Labelling the form fields and buttons comes next, worth about 4.6 points. Raising Accessibility to 70 would lift the score to about 46.7.

Twenty-nine known security holes in the packages the code depends on can be used by attackers. Four pipeline tools are referenced by a changeable name, so the build pipeline can be tampered with, and three controls can't be used without a mouse. Making the controls work with a keyboard, updating the vulnerable packages and pinning each tool to an exact version would close these risks. Limiting each secret to its own step would fix the secret exposed to more of the pipeline than needed. The loop of parts of the code that depend on each other needs breaking by moving the shared parts into a project of their own.

The product code is 93,062 lines, about €80,000 to rebuild.

A lens is capped at Adequate while one of its dimensions scores below 4 out of 10, however well the rest of the lens does. That way a serious problem in one place always shows in the lens's rating.

How the score is built: what each lens counts for The lenses don't count equally. The weakest lens counts most, the next weakest a little less, and so on, so a weak area pulls the score down instead of being averaged away. In the bar below, each part's width shows how much that lens counts and its colour shows its rating. Improving the widest part moves the score most, and as that lens improves, it counts for less, because another lens becomes the weakest.
Accessibility 30.9 · counts for 46%Production Readiness 41.8 · counts for 25%Code Health 44.3 · counts for 14%Security and Compliance 47.0 · counts for 8%Maturity 57.9 · counts for 4%Architecture 87.6 · counts for 2%

If Accessibility rose from 30.9 to 70, the lowest score rated Strong, the score would rise from 39.3 to about 46.7.

Code composition: what the lines of code are
Product code 99%Tests 1%
Rebuild cost: about €80,000 · Estimate
Cost to rebuild€27,000 to €130,000, for 442 to 1,403 hours of work, about 0.5 person-years for 1 to 2 engineers
Difficulty of the problemStandard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write.
Quality factor×0.7 at a score of 39. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it.
SizeMedium: 93,062 lines of product code
What it is notNot a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one.

How the estimate is made: We price the hours a team would need to write this code again, at €60 to €95 an hour. Declarations and boilerplate are priced at a fast rate and logic at a slower one, and the logic is then multiplied by the difficulty of the problem and by the quality factor. The estimate can be about 30% off either way, and it moves most with the hourly rate and the difficulty. For this code, every line is priced as straight logic, which keeps the estimate on the low side.

Top priorities

The three actions that raise the score most for the work they take. The full ranked list is in the Roadmap.

1
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
Raises the score by about 6.4 points · Medium effort · Keyboard semantics
2
Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
Raises the score by about 4.6 points · Medium effort · Forms & labels
3
Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
Raises the score by about 4.4 points · Medium effort · Visual & motion safety

Diagnosis: what the measurements show together

Each conclusion below combines several dimensions into one point that no single dimension shows, and lists the measurements it rests on.

Where the investment is most exposed · Value at risk
This code would cost about €80,000 to build again, about 0.5 person-years of work. Its weakest lens is Accessibility, at 30.9 (Weak). Accessibility is about whether the interface is built so that everyone can use it, including people who can't see the screen or can't use a mouse. Because the weakest lens counts most in the score, work on Accessibility also moves the score most.
Based on: the rebuild estimate · the Accessibility grade · how much each lens counts
What to do: Start with the Accessibility actions in Top priorities.
If you do one thing first · First action
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. Of all the actions in this report, it raises the score most for the work it takes: about 6.4 points for medium effort. The next survey will show the change in the score.
Based on: the ranked actions in Top priorities, by score gain and effort
What hard-to-read code costs each year · Cost
Four dimensions measure how easy the code is to work in: two measure how tangled its logic is, one how much of it is copied, and one how well each part sticks to a single job. In this codebase they average 6.4 out of 10. Code at that level is slower to change than clean code, and we estimate the extra work at 4% to 9% on every change. The history of the code shows how much it changes: about 1,719 lines over the last 90 days, which is about 6,972 lines a year. At that pace, the extra work comes to an estimated 0.7 to 4.2 engineer-days a year, and it grows as more code changes.
How this is estimated: The number of changed lines is measured from the history of the code. The rest rests on two assumptions of our own: code scoring 8 out of 10 or more adds no extra work, and each point below 8 adds 2.5% to 5.6% to every change, never less than 2% to 5% and never more than 40% to 60% in all; and an engineer changes 150 to 400 lines in a day. The result is a range for planning, not a measurement.
Based on: Cyclomatic Complexity · Cognitive Complexity · Code Duplication · Cohesion (LCOM4) · the code's change history
What to do: Start with the files listed under Churn × Complexity Hotspots, which change often and are hard to read, because that is where the extra work is paid most often.

Architecture — module dependency graph

Project dependencies, layered top-to-bottom; arrows show direction. Any dashed red edge points upward or sideways, which only happens where the projects form a dependency cycle. A graph without cycles has none.

arch config config src/Models Models config->src/Models database database src/Support Support database->src/Support lang lang src src src/Console Console src->src/Console src/Extend Extend src->src/Extend src/Middleware Middleware src->src/Middleware src/Services Services src->src/Services src->src/Support src/Traits Traits src->src/Traits src/Controllers Controllers src/Console->src/Controllers src/Console->src/Models src/Console->src/Services src/Console->src/Support src/Controllers->src src/Events Events src/Controllers->src/Events src/Controllers->src/Extend src/Controllers->src/Models src/Renderers Renderers src/Controllers->src/Renderers src/Controllers->src/Services src/Controllers->src/Traits src/Exceptions Exceptions src/Exceptions->src src/Extend->src/Models src/Extend->src/Renderers src/Extend->src/Support src/Extend->src/Traits src/Middleware->src/Support src/Models->src src/Models->src/Support src/Models->src/Traits src/Renderers->src/Traits src/Services->src/Models src/Services->src/Renderers src/Services->src/Traits src/Support->src/Controllers src/Support->src/Exceptions src/Support->src/Renderers src/Support->src/Services src/Support->src/Traits

Architecture: which parts of the code depend on which

The code is divided into modules, groups of code that each handle one part of the product, and a module depends on another when it uses code from it. The table lists the modules both down the side and across the top, in an order where each module should only use modules listed above it. A number in a cell means the module on that row uses the module in that column, and it counts the pairs of building blocks (types) that connect them. The one thing to look for is a mark above the diagonal line. It means two or more modules use each other in a loop (a dependency cycle), so none of them can be changed, tested or released on its own.

43 modules, with 12 dependencies between them. Every module uses only modules listed above it, so there are no loops.

The table shows the 40 modules with the most connections; 3 more are left out to keep it readable.

Which modules use which. The module on each row uses the module in each column, and the number counts the pairs of types that connect them. A cell above the diagonal is part of a loop.
uses →1 Slowlyo.OwlAdmin2 Slowlyo.OwlAdmin.Console.Module3 Slowlyo.OwlAdmin.Controllers.DevTools.Traits4 Slowlyo.OwlAdmin.Events5 Slowlyo.OwlAdmin.Exceptions6 Slowlyo.OwlAdmin.Middleware7 Slowlyo.OwlAdmin.Models8 Slowlyo.OwlAdmin.Renderers9 Slowlyo.OwlAdmin.Support10 Slowlyo.OwlAdmin.Support.Cores11 Slowlyo.OwlAdmin.Traits12 admin-views.public.scripts13 admin-views.src14 admin-views.src.components15 admin-views.src.components.AmisRender16 admin-views.src.components.AmisRender.CustomComponents.components.SchemaEditor17 admin-views.src.components.AmisRender.CustomComponents.components.WangEditor18 admin-views.src.hooks19 admin-views.src.layouts20 admin-views.src.layouts.components21 admin-views.src.layouts.components.LayoutMenu22 admin-views.src.layouts.components.LayoutTabs.components23 admin-views.src.layouts.components.LayoutTopBar.components24 admin-views.src.layouts.components.SettingPanel25 admin-views.src.layouts.components.SettingPanel.components.SelectLayout26 admin-views.src.pages27 admin-views.src.pages.login28 admin-views.src.pages.login.DefaultLogin29 admin-views.src.routes30 admin-views.src.service.api.base31 Slowlyo.OwlAdmin.Extend32 Slowlyo.OwlAdmin.Services33 Slowlyo.OwlAdmin.Support.CodeGenerator34 admin-views.src.components.AmisRender.CustomComponents.components35 admin-views.src.layouts.components.SettingPanel.components36 admin-views.src.service.api37 Slowlyo.OwlAdmin.Console38 Slowlyo.OwlAdmin.Controllers39 Slowlyo.OwlAdmin.Support.Apis40 Slowlyo.OwlAdmin.Controllers.DevTools
1 Slowlyo.OwlAdmin
2 Slowlyo.OwlAdmin.Console.Module
3 Slowlyo.OwlAdmin.Controllers.DevTools.Traits
4 Slowlyo.OwlAdmin.Events
5 Slowlyo.OwlAdmin.Exceptions
6 Slowlyo.OwlAdmin.Middleware
7 Slowlyo.OwlAdmin.Models
8 Slowlyo.OwlAdmin.Renderers
9 Slowlyo.OwlAdmin.Support
10 Slowlyo.OwlAdmin.Support.Cores
11 Slowlyo.OwlAdmin.Traits
12 admin-views.public.scripts
13 admin-views.src
14 admin-views.src.components
15 admin-views.src.components.AmisRender
16 admin-views.src.components.AmisRender.CustomComponents.components.SchemaEditor
17 admin-views.src.components.AmisRender.CustomComponents.components.WangEditor
18 admin-views.src.hooks
19 admin-views.src.layouts
20 admin-views.src.layouts.components
21 admin-views.src.layouts.components.LayoutMenu
22 admin-views.src.layouts.components.LayoutTabs.components
23 admin-views.src.layouts.components.LayoutTopBar.components
24 admin-views.src.layouts.components.SettingPanel
25 admin-views.src.layouts.components.SettingPanel.components.SelectLayout
26 admin-views.src.pages
27 admin-views.src.pages.login
28 admin-views.src.pages.login.DefaultLogin
29 admin-views.src.routes
30 admin-views.src.service.api.base
31 Slowlyo.OwlAdmin.Extend1
32 Slowlyo.OwlAdmin.Services21
33 Slowlyo.OwlAdmin.Support.CodeGenerator2
34 admin-views.src.components.AmisRender.CustomComponents.components1
35 admin-views.src.layouts.components.SettingPanel.components2
36 admin-views.src.service.api1
37 Slowlyo.OwlAdmin.Console11
38 Slowlyo.OwlAdmin.Controllers1
39 Slowlyo.OwlAdmin.Support.Apis1
40 Slowlyo.OwlAdmin.Controllers.DevTools6
Uses a module listed above itPart of a loopThe module itself
1 Slowlyo.OwlAdmin2 Slowlyo.OwlAdmin.Console.Module3 Slowlyo.OwlAdmin.Controllers.DevTools.Traits4 Slowlyo.OwlAdmin.Events5 Slowlyo.OwlAdmin.Exceptions6 Slowlyo.OwlAdmin.Middleware7 Slowlyo.OwlAdmin.Models8 Slowlyo.OwlAdmin.Renderers9 Slowlyo.OwlAdmin.Support10 Slowlyo.OwlAdmin.Support.Cores11 Slowlyo.OwlAdmin.Traits12 admin-views.public.scripts13 admin-views.src14 admin-views.src.components15 admin-views.src.components.AmisRender16 admin-views.src.components.AmisRender.CustomComponents.components.SchemaEditor17 admin-views.src.components.AmisRender.CustomComponents.components.WangEditor18 admin-views.src.hooks19 admin-views.src.layouts20 admin-views.src.layouts.components21 admin-views.src.layouts.components.LayoutMenu22 admin-views.src.layouts.components.LayoutTabs.components23 admin-views.src.layouts.components.LayoutTopBar.components24 admin-views.src.layouts.components.SettingPanel25 admin-views.src.layouts.components.SettingPanel.components.SelectLayout26 admin-views.src.pages27 admin-views.src.pages.login28 admin-views.src.pages.login.DefaultLogin29 admin-views.src.routes30 admin-views.src.service.api.base31 Slowlyo.OwlAdmin.Extend32 Slowlyo.OwlAdmin.Services33 Slowlyo.OwlAdmin.Support.CodeGenerator34 admin-views.src.components.AmisRender.CustomComponents.components35 admin-views.src.layouts.components.SettingPanel.components36 admin-views.src.service.api37 Slowlyo.OwlAdmin.Console38 Slowlyo.OwlAdmin.Controllers39 Slowlyo.OwlAdmin.Support.Apis40 Slowlyo.OwlAdmin.Controllers.DevToolsSlowlyo.OwlAdmin1Slowlyo.OwlAdmin.Console.Module2Slowlyo.OwlAdmin.Controllers.DevTools.Traits3Slowlyo.OwlAdmin.Events4Slowlyo.OwlAdmin.Exceptions5Slowlyo.OwlAdmin.Middleware6Slowlyo.OwlAdmin.Models7Slowlyo.OwlAdmin.Renderers8Slowlyo.OwlAdmin.Support9Slowlyo.OwlAdmin.Support.Cores10Slowlyo.OwlAdmin.Traits11admin-views.public.scripts12admin-views.src13admin-views.src.components14admin-views.src.components.AmisRender15admin-views.src.components.AmisRender.CustomComponents.components.SchemaEditor16admin-views.src.components.AmisRender.CustomComponents.components.WangEditor17admin-views.src.hooks18admin-views.src.layouts19admin-views.src.layouts.components20admin-views.src.layouts.components.LayoutMenu21admin-views.src.layouts.components.LayoutTabs.components22admin-views.src.layouts.components.LayoutTopBar.components23admin-views.src.layouts.components.SettingPanel24admin-views.src.layouts.components.SettingPanel.components.SelectLayout25admin-views.src.pages26admin-views.src.pages.login27admin-views.src.pages.login.DefaultLogin28admin-views.src.routes29admin-views.src.service.api.base30Slowlyo.OwlAdmin.Extend31Slowlyo.OwlAdmin.Services32Slowlyo.OwlAdmin.Support.CodeGenerator33admin-views.src.components.AmisRender.CustomComponents.components34admin-views.src.layouts.components.SettingPanel.components35admin-views.src.service.api36Slowlyo.OwlAdmin.Console37Slowlyo.OwlAdmin.Controllers38Slowlyo.OwlAdmin.Support.Apis39Slowlyo.OwlAdmin.Controllers.DevTools40121212111116+3 more modules (most-connected shown)

At a glance — Code Health · 44.3 · Weak · gated by D3, D4, X5 ·

At a glance — Architecture · 87.6 · Adequate · gated by D5 ·

At a glance — Maturity · 57.9 · Adequate · gated by M2 ·

At a glance — Readiness · 41.8 · Weak · gated by P3, P7 ·

At a glance — Security · 47.0 · Weak · gated by D31, D36, C2 ·

At a glance — Accessibility · 30.9 · Weak · gated by AC4 ·

Security & Compliance — OWASP Top-10 mapping

Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).

OWASP categoryFindingsSeverity
A03:2025 — Software Supply Chain Failures50High / Critical
A05:2025 — Injection5High / Critical

Roadmap

Top priorities: Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href; Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label; Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.

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

Do thisHelpsEffortDimension
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.+6.4 ptsMediumKeyboard semantics
Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.+4.6 ptsMediumForms & labels
Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.+4.4 ptsMediumVisual & motion safety
Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.+3.6 ptsMediumPage structure
Add a SAST step to CI running what this repository's stack ships: phpstan or psalm — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.+2.0 ptsMediumSecurity & performance tooling
Raise PHPStan to level 8 (`level: 8` in `phpstan.neon.dist`, or `max`) or Psalm to `errorLevel="3"` or stricter, so `?Type` is a type the checker holds you to; generate a baseline for what that surfaces only to pay it down, not to keep it. Then resolve the baselined nullness errors rather than adding to them: each is a call on a value the checker showed could be null — narrow it (`if ($x === null) { … }`, `?->`, an early return), make the property non-nullable and initialise it in the constructor, or change the return type so the null cannot arrive.+1.5 ptsMediumNullable reference types
Give every client an explicit bound: `new Client(['timeout' => 10, 'connect_timeout' => 3])` for Guzzle (whose default is to wait forever), `CURLOPT_TIMEOUT`/`CURLOPT_CONNECTTIMEOUT` before `curl_exec`, `timeout`/`max_duration` on Symfony HttpClient (or `framework.http_client.default_options`), and a stream-context `timeout` or `connection_timeout` for `file_get_contents`/`SoapClient`. In Drupal, use the `http_client` service, which carries core's site-wide timeout, rather than `new Client()`. Add retries with back-off (Guzzle `Middleware::retry`, Symfony `RetryableHttpClient`, Laravel `->retry()`) around dependencies that fail.+1.4 ptsMediumOutbound HTTP resilience
Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.+1.4 ptsMediumArchitecture documentation

File quality

Per-file score 0–10 — a quality signature. Of 168 files carrying findings, judged against the Production bar: 2% slop · 17% mixed · 81% near-clean.

FileScoreBandWorst signal
REDACTED0.0SlopDependency Vulnerabilities: Critical CVE: REDACTED
REDACTED3.0SlopStatic Analysis (SAST): High: REDACTED
REDACTED3.7SlopStatic Analysis (SAST): High: REDACTED
src/Support/CodeGenerator/BaseGenerator.php6.3MixedCode Duplication: Edited copy of a member (41 corresponding lines)
src/Renderers/ArrayControl.php7.0MixedGod Classes: TooManyMethods: ArrayControl
src/Renderers/Alert.php7.0MixedGod Classes: TooManyMethods: Alert
src/Renderers/AjaxAction.php7.0MixedGod Classes: TooManyMethods: AjaxAction
src/Support/CodeGenerator/Generator.php7.1MixedCyclomatic Complexity: Generator.getDatabaseColumns (cyclomatic 39)
src/Renderers/CRUDTable.php7.1MixedGod Classes: TooManyMethods: CRUDTable
src/Console/UpdateCommand.php7.1MixedCode Duplication: Duplicated block (13 lines × 2)
src/Traits/UploadTrait.php7.2MixedCyclomatic Complexity: UploadTrait.chunkUploadFinish (cyclomatic 46)
src/Support/CodeGenerator/ControllerGenerator.php7.2MixedCognitive Complexity: ControllerGenerator.replaceFormContent (cognitive 18)
src/Renderers/Amis.php7.4MixedGod Classes: TooManyMethods: Amis
src/Renderers/TableControl.php7.4MixedGod Classes: TooManyMethods: TableControl
src/Renderers/SelectControl.php7.4MixedGod Classes: TooManyMethods: SelectControl
src/Renderers/CRUD2Cards.php7.4MixedGod Classes: TooManyMethods: CRUD2Cards
src/Renderers/Avatar.php7.4MixedGod Classes: TooManyMethods: Avatar
src/Traits/ElementTrait.php7.4MixedCode Duplication: Edited copy of a member (20 corresponding lines)
src/Console/Module/InitCommand.php7.4MixedCode Duplication: Edited copy of a member (18 corresponding lines)
src/Services/AdminMenuService.php7.4MixedCode Duplication: Edited copy of a member (12 corresponding lines)

How the grades work

Every finding carries one of four grades. Three say how serious it is. The fourth says this survey could not settle it — and it is a grade, not a gap.

Critical — 39

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 — 352

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 — 19

Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.

Could not be resolved — 22

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

This survey 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. All 47 evaluated dimensions are computed by tools and static analysis; no language model sets or judges any of them. Overall confidence is 0.8, the weighted average across measured dimensions.

Every figure here is one of two 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. 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.

What we checked — 47 dimensions across the health lenses
D1D2D3D4D5D6D12D13D14D15D17D19D28D29D30D31D34D35D36D43D44AC2AC3AC4AC6AX10AX3AX4AX6AX8C1C2M1M2M3P1P3P6P7P8X16X18X21X27X29X3X5

Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.

How to trust any code-health report — three questions
  1. Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 396 of 410 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. Is there a tool behind the number? Every score below names the method that produced it: Roslyn, git or a scanner, not a narrative.
  3. Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.

This report answers yes to all three. That's the bar to hold any assessment to.

Tools & methods

The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
Canine Code Analyzer duplication detector (in-process)Code duplication1.0.0✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.400✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.400✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3 · 3.2.533✓ deterministic

Every finding is locatable in findings.md. Run 01a1ea9e-1a79-71ea-a09d-c4e4602a9033.

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

Run transparency — what happened this run

What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.

  • D8 Code Coverage — not measured this run — We 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 (.php) 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.
  • D11 Test Reliability — not measured this run — We 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 (.php) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
  • D14 License Compliance — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This repository declares package.json, but the licence verdict published here was taken over its Composer package dependencies. Nothing was read about its npm dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
  • 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 (25 contributor(s) across 978 commit(s) sampled, automation and bot accounts excluded). One of them holds 93% of the history; the other 24 hold 0.3% 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.
  • D21 Naming Consistency — not measured this run — We 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. D21's naming rules read C# through Roslyn and every other language through its sidecar model; these languages are left out (PHP's reading is its own change, a Roslyn-loaded VB or F# project has no population builder yet). Their declarations carry no naming verdict this run — this says nothing about whether their names are consistent.
  • D22 Internal API Consistency — not measured this run — We 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 an ADMISSION gap, not an environment fault: it declares a published package (composer.json), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict.
  • D24 Comment Value — not measured this run — We 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's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
  • D26 Project Cohesion — not measured this run — We 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. `(repository root)` (91922 LoC, 413 module-visible types across 64 directories) is over its size bounds, and whether one unit is a coherent whole or a grab-bag is read from its type references: the parts of it that reach the rest only through its shared core. Those are read over the C#/VB code model, which this unit's source did not supply. Its size alone is no verdict on its cohesion, so none is published.
  • D28 Secrets (history) — measured, with a gap in what it reached — We measured this, but not all of it. What we 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 newest 845 of 978 commits were scanned for secrets, back to commit 372f0931b5d9; older commits were not. `gitleaks` TIMED OUT after 32.7s against a 32.7s budget, so we killed its process tree. The budget is ours; the work may simply be larger than it allows. The working tree WAS scanned in full, and every row of the scanned ranges is reported. Nothing about the unscanned commits is asserted by the absence of a result; the budget is ours to raise.
  • D31 IaC & Container Security — measured, with a gap in what it reached — We measured this, but not all of it. What we 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. Admin-views/dist/assets/dockerfile-CfzrjL32.js.gz carries no `FROM` instruction, so it declares no build stage and every Dockerfile rule this engine owns — the runtime-hardening, key-material, mutable-clone, no-op-shim, build-context, trust-anchor, install-guard, setuid and world-writable-path rules — is outside its own premise there and returned nothing. That silence is deliberate and correct: with no base image there is no image to reason about. It is reported here because it is NOT the same fact as a clean file, and coverage is stated as 0 of 1 Infrastructure-as-Code manifest(s) fully judged rather than as 100%. The vendor scanners (trivy, checkov) do read these files and their findings above stand; only this engine's own stage-keyed rules are absent. No owner action: a build file with no FROM is a legitimate include fragment.
  • AX1 Captive dependencies — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and this repository's container is Laravel's service container and a PSR-11 container (Psr\Container), whose lifetimes are not modelled yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • AXB2 Runtime readiness — not measured this run — We 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. The dev server kept running but no port it opened served a page in the time allowed. (rule: no-answer). The renderer reported: the dev server (`npm run dev` in admin-views/) kept running but served no page within 2 minutes. Likely cause (not identified): the dev server kept running but no port it opened served a page in the time allowed. Last output: "5:48:22 PM [vite] (client) Pre-transform error: Failed to resolve import "mobx-react" from "node_modules/.vite/deps/amis-editor.js?v=245a9ebe". Does the file exist? / Plugin: vite:import-analysis / File: <repo>/admin-views/node_modules/.vite/deps/amis-editor.js?v=245a9ebe:46:26 / 44 | import { t as require_pickBy } from "./pickBy-DOy6jGsF.js"; / 45 | import { t as require_axios$2 } from "./axios-DSiME4_W.js"; / 46 | import { observer } from "mobx-react"; / | ^ / 47 | / 48 | //#region node_modules/i18n-runtime/es/index.js" No runtime evidence was gathered.
  • AXR1 Runtime accessibility — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DevServer (dev). the dev server (`npm run dev` in admin-views/) kept running but served no page within 2 minutes. Likely cause (not identified): the dev server kept running but no port it opened served a page in the time allowed. Last output: "5:48:22 PM [vite] (client) Pre-transform error: Failed to resolve import "mobx-react" from "node_modules/.vite/deps/amis-editor.js?v=245a9ebe". Does the file exist? / Plugin: vite:import-analysis / File: <repo>/admin-views/node_modules/.vite/deps/amis-editor.js?v=245a9ebe:46:26 / 44 | import { t as require_pickBy } from "./pickBy-DOy6jGsF.js"; / 45 | import { t as require_axios$2 } from "./axios-DSiME4_W.js"; / 46 | import { observer } from "mobx-react"; / | ^ / 47 | / 48 | //#region node_modules/i18n-runtime/es/index.js" No runtime evidence was gathered.
  • GD1 Unfinished & placeholder code — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby, Scala, Rust and Java source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby, Scala, Rust or Java was found, and this repository's PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • IC1 Incompleteness & stubs — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby, Scala and Rust source only, and no C#, JavaScript/TypeScript, Java, Dart, Ruby, Scala or Rust was found, and this repository's PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • 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 — We 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 — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • X12 Unreachable branch — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Kotlin, Java and Rust source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Kotlin, Java or Rust was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • X13 Undrained process stream — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Kotlin, Rust and Java source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Kotlin, Rust or Java was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • X17 Uncapped recursion over a caller-supplied document — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Python, Dart, Ruby, Scala, Kotlin and Rust source only, and no C# was loaded and no JavaScript/TypeScript, Java, Python, Dart, Ruby, Scala, Kotlin or Rust was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • X24 Document value interpolated into markup unescaped — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Scala, Ruby and Python source only, and no C# was loaded and no JavaScript/TypeScript, Java, Scala, Ruby or Python was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
  • X4 Structured logging — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala, Rust, Go, Swift, Erlang, F# and Visual Basic source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP make no call through a named logger, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.

Repo exclusion declarations: 2 pattern(s) declared (.gitattributes linguist-generated/vendored, .editorconfig generated_code) excluded 0 source file(s) from code-quality scoring. Declarations are the repo's own visible statement that a tree is machine-written or vendored — auditable in any diff, honored by GitHub the same way.

Limitations & what we did not check

We assess the repository exactly as committed, and only the repository. By design we do not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.

Per-dimension blind spots

For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.

  • D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
  • D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
  • D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
  • D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
  • D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
  • D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
  • D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
  • D13 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").
  • D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
  • D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
  • 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 publishes two things only: a runnable or packaged unit with no example, and a multi-project root README that maps none of its parts. It does not judge clarity, and its other checks (overview, licence, boilerplate, structure, empty sections, XML-doc coverage) are withheld after adjudication: their candidates are counted in the card's gaps, not shown as rows. A false statement in a document is M4's; units are .NET projects only.
  • D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
  • D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
  • D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
  • D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
  • 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.
  • D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
  • D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
  • AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
  • AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
  • AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
  • AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
  • 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.
  • 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.

Dimensions

D1 · Cyclomatic Complexity8.4 / 10Strong✓ Tool-verified

What it measures: How tangled the control flow is — methods with many branches are hard to test and change.

Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.

Maturity: Documented → Verified → Prevented · effective 8.4 / 10 · rule-coverage 100% · ceiling Prevented

5 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was UploadTrait.chunkUploadFinish at 46. A further 1 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 FilterGenerator.queryItem at 25 — they are counted neither in the figure above nor in this dimension's score. 1 file carries no cyclomatic complexity row at all for this reason — every one of its over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: src/Support/CodeGenerator/FilterGenerator.php (FilterGenerator.queryItem at 25). 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.

UploadTrait.chunkUploadFinish (cyclomatic 46)src/Traits/UploadTrait.php:146
Generator.getDatabaseColumns (cyclomatic 39)src/Support/CodeGenerator/Generator.php:101
ConditionBuilderScopeTrait.buildConditionBuilderQuery (cyclomatic 27)src/Traits/ConditionBuilderScopeTrait.php:39
MigrationGenerator.generateContent (cyclomatic 16)src/Support/CodeGenerator/MigrationGenerator.php:52
UploadTrait.chunkUpload (cyclomatic 16)src/Traits/UploadTrait.php:103

What to do

  1. Bring the 5 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with UploadTrait.chunkUploadFinish (cyclomatic 46), Generator.getDatabaseColumns (cyclomatic 39), ConditionBuilderScopeTrait.buildConditionBuilderQuery (cyclomatic 27). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 5 together lifts Cyclomatic Complexity from 8.4 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.

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

D2 · Cognitive Complexity7.4 / 10Strong✓ Tool-verified

What it measures: How hard the code is for a person to follow, beyond raw branching.

Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.

Maturity: Documented → Verified → Prevented · effective 7.4 / 10 · rule-coverage 100% · ceiling Prevented

12 method(s) exceeded the cognitive complexity threshold of 15; the worst was Generator.getDatabaseColumns at 71.

Generator.getDatabaseColumns (cognitive 71)src/Support/CodeGenerator/Generator.php:101
UploadTrait.chunkUploadFinish (cognitive 48)src/Traits/UploadTrait.php:146
Helper.array (cognitive 30)src/Support/Helper.php:20
MigrationGenerator.generateContent (cognitive 25)src/Support/CodeGenerator/MigrationGenerator.php:52
EditorController.parse (cognitive 21)src/Controllers/DevTools/EditorController.php:18

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

What to do

  1. Bring the 2 bodies over 30 down to 30 or less in Cognitive Complexity — start with Generator.getDatabaseColumns (cognitive 71), UploadTrait.chunkUploadFinish (cognitive 48). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 7.4 to about 8.3/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.

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

D3 · God Classes2.8 / 10Weak✓ Tool-verified

What it measures: Over-large classes that try to do too much ("god classes").

Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.

Maturity: Documented → Verified → Prevented · effective 2.8 / 10 · rule-coverage 100% · ceiling Prevented

139 god class(es) detected.

TooManyMethods: Amis · ×134src/Renderers/Amis.php:5
MethodTooLong: Generator.getDatabaseColumns · ×3src/Support/CodeGenerator/Generator.php:101
ClassTooLong: Amissrc/Renderers/Amis.php:5
FileTooLong: Renderers/Amis.phpsrc/Renderers/Amis.php

What to do

  1. Resolve the 134 TooManyMethods finding(s) in God Classes — start with Amis.php, TableControl.php, TransferPickerControl.php. — One of this dimension's main actionable groups (134 warning-level).
  2. Resolve the 3 MethodTooLong finding(s) in God Classes — start with Generator.php, Database.php, AuthController.php. — One of this dimension's main actionable groups (3 warning-level).
  3. Resolve the 1 ClassTooLong finding(s) in God Classes — start with Amis.php. — One of this dimension's main actionable groups (1 warning-level).

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

D4 · Code Duplication0.0 / 10Critical✓ Tool-verified

What it measures: How much of the production code is copy-pasted: the share of production lines inside a reported copy (every copy of a duplicated block or of an edited member, each line once), 10 at none and 0 at a quarter of the lines.

Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), scored on the share of production lines inside a reported copy (each line once; 10 at none, 0 at a quarter). Deterministic.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Verified

134 duplicated block group(s) detected. 71.8 % of the production lines (66,789 of 93,062) are in a reported copy. A further 19 rows report members as variants of one another; the share counts each copied line once, however many rows cite it.

Duplicated block (5 lines × 2) · ×4src/Console/InstallCommand.php:67
Duplicated block (13 lines × 2) · ×3src/Console/UpdateCommand.php:123
Edited copy of a member (7 corresponding lines) · ×2src/Services/AdminPermissionService.php:91
Edited copy of a member (11 corresponding lines) · ×2src/Traits/QueryPathTrait.php:68
Duplicated block (9 lines × 2) · ×2src/Console/UpdateCommand.php:274

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

What to do

  1. Resolve the 4 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with InstallCommand.php, AdminPermissionService.php, BaseGenerator.php. — One of this dimension's main actionable groups (4 warning-level).
  2. Resolve the 3 Duplicated block (13 lines × 2) finding(s) in Code Duplication — start with UpdateCommand.php, ControllerGenerator.php, UploadTrait.php. — One of this dimension's main actionable groups (3 warning-level).
  3. Resolve the 2 Edited copy of a member (7 corresponding lines) finding(s) in Code Duplication — start with AdminPermissionService.php, AdminController.php. — One of this dimension's main actionable groups (2 warning-level).

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

D5 · Coupling0.0 / 10Critical✓ Tool-verified

What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.

Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.

Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Prevented

15 production modules (source-import), 1 dependency cycle(s), 1 unstable depended-on module(s). No manifest declares this repository's modules, so the modules are its top-level source directories and the edges the imports between them; 2 module(s) off the main sequence, with abstractness counted on 12 of the 15 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).

Circular dependencysrc/AdminServiceProvider.php:15
Off the main sequence: src/Events · ×2
Unstable project src/Console

What to do

  1. Resolve the 2 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (2 warning-level).
  2. Resolve the 1 Circular dependency finding(s) in Coupling — start with AdminServiceProvider.php. — One of this dimension's main actionable groups (1 issue-level).
  3. Resolve the 1 Unstable project src/Console finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).

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

D6 · Cohesion (LCOM4)9.7 / 10Stronggated by 1 serious finding✓ Tool-verified

What it measures: Whether a class's methods are focused on a single responsibility.

Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.

Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.

Maturity: Documented → Verified → Prevented · effective 9.7 / 10 · rule-coverage 100% · ceiling Verified

1 of 46 classes have LCOM4 above 3.

Low cohesion: BaseGenerator (LCOM4 4)src/Support/CodeGenerator/BaseGenerator.php:10

What to do

  1. Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with BaseGenerator.php. — One of this dimension's main actionable groups (1 warning-level).

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

D12 · Dependency Hygiene10.0 5.0 / 10Adequate✓ Tool-verified

What it measures: Whether dependencies are current, not deprecated, and not bloated. Known vulnerabilities are D30's.

Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (capped-linear for deprecation, prerelease and outdated) per KLoC. Known-vulnerable packages are D30's and are not charged here (rubric-2026.11.2). Exhaustive.

Maturity: Documented → Verified → Prevented · effective 5.0 / 10 · rule-coverage 50% · ceiling Verified

0 outdated, 0 abandoned direct Composer dependencies. 1 of 2 direct production requirements were graded against Packagist (0 not published there, which is what a private Satis repository looks like, 1 with no release resolution). PLATFORM requirements (php, ext-*, lib-*) are deliberately not graded here: they name the runtime rather than a Packagist package, so there is no release for them to be behind — whether that runtime is still supported is a separate question with a separate remedy. Development requirements are excluded, because a consumer never installs them. A newer release is reported only where this repository's OWN constraint already admits it, so the remedy is `composer update` and never a manifest edit. Known CVEs in this dependency graph are D30's question.

Detailed fixes: d12_recommendation.md.

D13 · Secret Scanning10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.

Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

Secret scan ran and found no leaked secrets.

✓ On the Gold path — maintain.

Detailed fixes: d13_recommendation.md.

D14 · License Compliance10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether the licenses of third-party packages are compatible with your policy.

Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 of 75 locked Composer package(s) use a banned license. Licences were read from this repository's REDACTED, which records the `license` each package declares, over every package in its production `packages` list, direct and transitive, at the locked version; the 44 package(s) under `packages-dev` are not installed for a consumer and are excluded. ★ COVERAGE OF THIS VERDICT: it grades this repository's Composer package dependencies and nothing else. The repository also declares package.json, and the licences of those dependencies were NOT read by this pass — a gap in this engine's coverage, not a statement about them. So this result says the graded closure carries no banned licence; it does NOT say this repository's licensing is clear.

✓ On the Gold path — maintain.

Detailed fixes: d14_recommendation.md.

D15 · Churn × Complexity Hotspots10.0 / 10Stronggated by 1 serious finding✓ Tool-verified

What it measures: Files that change often and are also complex — the riskiest hotspots.

Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No churn × complexity hotspots in the window. Repeated repair below the complexity floor: src/Services/AdminUserService.php (3 of 3 changes were fixes)

Repeated repair: src/Services/AdminUserService.phpsrc/Services/AdminUserService.php:164

What to do

  1. Resolve the 1 Repeated repair finding(s) in Churn × Complexity Hotspots — start with AdminUserService.php. — One of this dimension's main actionable groups (1 warning-level).

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

D17 · Explicit Debt10.0 / 10Exemplary○ Nothing flagged

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.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

0 deducted task-comment markers across 93062 LoC (0.0/KLoC) → score 10.0. 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.

✓ On the Gold path — maintain.

Detailed fixes: d17_recommendation.md.

D19 · Documentation Quality10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether the project's documentation is clear, complete, and useful.

Method: Every README, docs/ document and root guide parsed by its markup and measured in Unicode letters. Published: a runnable or packaged .NET project whose README (or a document it links, or a root guide) shows no example, and a root README naming none of three or more projects. Overview, licence, boilerplate, wall-of-text, empty-section and XML-doc rows are measured and withheld (counted in gaps) after adjudication. Deterministic, exhaustive, advisory.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

1 of 1 documentation facets pass in full. 3 document(s) read across 1 unit(s).

✓ On the Gold path — maintain.

Detailed fixes: d19_recommendation.md.

D28 · Secrets (history)10.0 / 10Exemplary○ Nothing flagged

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 High. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side — unscored and excluded from the lens, never a hedged middling score.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

gitleaks scanned the current working tree and the part of the history named below, and found no secrets. History coverage: The newest 845 of 978 commits were scanned for secrets, back to commit 372f0931b5d9; older commits were not. `gitleaks` TIMED OUT after 32.7s against a 32.7s budget, so we killed its process tree. The budget is ours; the work may simply be larger than it allows.

✓ On the Gold path — maintain.

Detailed fixes: d28_recommendation.md.

D29 · Static Analysis (SAST)8.4 / 10Adequategated by 5 critical findings✓ Tool-verified

What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.

Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.

Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).

Maturity: Documented → Verified → Prevented · effective 8.4 / 10 · rule-coverage 100% · ceiling Documented

5 finding(s): 0 critical, 5 high, 0 medium, 0 low. 4 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens.

REDACTED
REDACTED

What to do

  1. Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
  2. No action in Static Analysis (SAST) — all 4 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (4 issue-level, 0 of them charged here).

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

D30 · Dependency Vulnerabilities0.0 / 10Critical✓ Tool-verified

What it measures: Whether any dependency has a known published vulnerability (CVE), direct or transitive, in ANY ecosystem the repository declares — Dart pub, Elixir and Erlang via Hex, Go modules, Java and Kotlin via Maven/Gradle, JavaScript/npm, .NET/NuGet, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift.

Method: Dependency-CVE scan across every ecosystem the repository declares, scored ONCE. Three sources are unioned and deduplicated by advisory identity (rule id + alias closure, CVE<->GHSA) scoped to package+version, keeping the worst severity: `osv-scanner --recursive` over osv.dev for Dart pub, Elixir/Hex (and Erlang, whose `rebar.lock` syft first converts to a CycloneDX SBOM the scanner reads, with rows attributed back to the lock), Go, Java and Kotlin via Maven/Gradle (and Scala, whose sbt build's pinned direct declarations are written into a CycloneDX SBOM the scanner reads, with rows attributed back to the build file), npm, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift; `trivy fs --scanners vuln` for npm lockfiles; and `dotnet list package --vulnerable --include-transitive` for NuGet (with per-advisory collapse of the project x target-framework fan-out), plus a DECLARED-dependency arm that resolves a published gem's gemspec against rubygems.org where no Gemfile.lock is committed. `SeverityScore(c,h,m,l, normalizer 8.0)`. NotApplicable only when NO ecosystem is readable; if any applicable ecosystem could not be scanned the findings are REPORTED and the score is withheld. Supersedes the npm and OSV arms, retired 2026-09-05. Advisory since rubric-2026.11.2 (CAI decision 0006): every row is a match against a vulnerability database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

43 finding(s): 1 critical, 28 high, 12 medium, 2 low.

REDACTED
REDACTED
REDACTED
REDACTED
REDACTED

What to do

  1. Resolve the 27 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (27). — One of this dimension's main actionable groups (27 issue-level).
  2. Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
  3. Resolve the 1 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).

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

D31 · IaC & Container Security10.0 0.0 / 10Critical○ Nothing flagged

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

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

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 0% · ceiling Documented

trivy and checkov found no infrastructure-as-code or container misconfigurations.

Detailed fixes: d31_recommendation.md.

D34 · Knowledge Freshness10.0 / 10Exemplary✓ Tool-verified

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

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

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Every significant source file has living knowledge — recently and meaningfully worked. Counted over 265 of the 354 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.

✓ On the Gold path — maintain.

Detailed fixes: d34_recommendation.md.

D35 · Change Coupling10.0 / 10Stronggated by 1 serious finding✓ Tool-verified

What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.

Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.

Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling. 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.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Strongest change-coupling: AdminRoleController.php↔AdminUserController.php 67%

Change coupling: AdminRoleController.php ↔ AdminUserController.phpsrc/Controllers/AdminRoleController.php:1

What to do

  1. Resolve the 1 Change coupling finding(s) in Change Coupling — start with AdminRoleController.php. — One of this dimension's main actionable groups (1 warning-level).

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

D36 · Supply-chain Provenance & Signing0.0 / 10Critical✓ Tool-verified

What it measures: Whether the build pipeline provides supply-chain integrity — generated provenance/attestation, signed artifacts (cosign/sigstore), an SBOM, and pinned build actions. Presence of the configuration, not a runtime guarantee.

Method: Supply-chain provenance/signing read deterministically from CI/build config (.github/workflows, .gitlab-ci.yml, azure-pipelines, Jenkinsfile, .circleci) + the release surface: four signals — generated provenance/attestation (SLSA/in-toto/actions-attest), artifact signing (cosign/sigstore/gitsign), an SBOM (syft/sbom-action/*.spdx.json/*.cdx.json), and SHA-pinned build actions — scored 10·present/denom. NotApplicable without a build pipeline. Detects configuration presence, not runtime enforcement.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

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

REDACTED
REDACTED
REDACTED
REDACTED
REDACTED

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

What to do

  1. Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
  2. Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).

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

D43 · Malicious Dependencies10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether any dependency the repository declares is published as MALICIOUS rather than merely vulnerable — a package that is an attacker's work, in any ecosystem osv-scanner reads. Reported apart from D30 because the answer is binary: there is no safe version to upgrade to, and the fix is to remove the package and rotate every credential it could have read.

Method: The same dependency scan D30 reads, partitioned on the scanner's own classification rather than rescanned: a row is MALICIOUS when its id is in the `MAL-` space (the ossf/malicious-packages feed) OR its `database_specific.cwe_ids` carries `CWE-506` ("Embedded Malicious Code"). Both channels are structural; the summary text is deliberately NOT read, because a malicious-package record whose summary says only "Critical severity vulnerability" is a real shape ([GHSA redacted]) and a text matcher misses it. Scored BINARY: any surviving row is 0, whatever its severity and however many CVEs sit beside it — a hostile dependency is not a quantity. Applicability and degradation are D30's: NotApplicable only when no ecosystem is readable, and an unscannable ecosystem degrades rather than reading clean. Advisory since rubric-2026.11.2 (CAI decision 0006): the malicious-package feed is a database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No dependency in any ecosystem this repository declares is published as malicious.

✓ On the Gold path — maintain.

Detailed fixes: d43_recommendation.md.

D44 · Platform End-of-Life10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether anyone still ships security patches for the platform this repository RUNS ON — the runtime it pins and the framework majors its own constraints hold it to. Separate from D12 because the question differs: a current Django on an end-of-life Python is perfectly up to date and completely unsupported, and the fix is a migration rather than a version bump. What the repository says it merely SUPPORTS is never charged.

Method: End-of-life PLATFORM read from the repository's own declarations and graded against a FROZEN, dated table of vendor support dates — no network, no feed, no API, so this dimension answers identically inside a closed scan fence. Two subjects: a RUNTIME the project pins (a single or all-end-of-life TargetFramework, a .nvmrc or .python-version, a requires-python CAP) and a FRAMEWORK major a dependency constraint cannot move off (a caret, tilde or exact version; `vue@^2.7.16` pins Vue 2). A FLOOR is deliberately never charged — `requires-python = ">=3.8"` states what a package SUPPORTS, not what it runs on — and a multi-target project is charged only when EVERY target is out of support. Runtime 4.0/product capped 8.0, framework 1.5 capped 4.5. The table is safe to freeze because a statement about support that ended in the past cannot become false: it loses recall as it ages, never precision, and a test asserts every entry predates the freeze date. Disjoint from D31 (a container image's OS layer) and D29 (the toolchain a CI workflow installs). Abstains when the repository declares no platform this pass reads — never scores it clean.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 2 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.

✓ On the Gold path — maintain.

Detailed fixes: d44_recommendation.md.

Frontend & cross-cutting dimensions

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

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

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

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

Coverage: Population: form controls, buttons, links, fieldsets and known UI-library field components in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and spread/dynamic-attribute elements are skipped, so a control whose label arrives through a spread or a runtime expression is deliberately not judged. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.

  • This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×2) — admin-views/src/pages/login/DefaultLogin/index.tsx:94, admin-views/src/pages/login/DefaultLogin/index.tsx:106

What to do

  • Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure5.0 / 10Adequate✓ Tool-verified

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

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

Coverage: Population: the PARSED MARKUP documents (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). The page-level checks — lang, title, single main landmark — fire ONCE PER FULL DOCUMENT (an <html> root) and never on a partial or component fragment, so a repo of fragments is assessed only on the per-element checks (heading order, table headers, iframe titles, meta-refresh, zoom). Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.

  • No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it. — admin-views/index.html:2

What to do

  • Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics1.0 / 10Critical✓ Tool-verified

Other · Accessibility — Whether interactive behaviour is keyboard-reachable — no click handler on a non-interactive element lacking a role, tabindex and key handler, no element the repo's own CSS styles `cursor: pointer` without giving it any of the three, no unfocusable element whose only binding is a mouse enter/leave pair or a double-click, no positive tabindex, no href-less anchor, no placeholder-href (#/javascript) link acting as a button. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: click handlers on non-interactive elements lacking role+tabindex+key handler, positive tabindex values, and href-less anchors. Components skipped, spreads suppressed. Deterministic, hard fact per element.

Coverage: Population: elements that pose a keyboard-semantics question, in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) — a non-natively-interactive element carrying a click handler, a double-click or hover enter/leave binding, a pointer-only gesture on a tabindex="0" element, or `cursor: pointer` from the repo's own CSS; an href-less or placeholder-href (#, javascript:) anchor; and any element with a positive tabindex. Natively interactive elements used correctly (<button>, <a href>, form controls) are NOT in the population — there is nothing to judge — so a page of nothing but correct controls gives AC4 nothing to measure. Keyboard reachability is judged from the markup, never from a rendered page. ★ An interactive element declared in a tagged-template (html`…`) or hyperscript frontend is NOT in this population — no producer reads either — so an empty population is reported as an analyzer gap, never as "this repository has no interactive elements".

  • A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. (×3) — admin-views/src/layouts/DoubleLayout/index.tsx:108, admin-views/src/layouts/components/IconButton/index.tsx:6, admin-views/src/layouts/components/LayoutTabs/components/Tab/index.tsx:57

What to do

  • Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC6 · Visual & motion safety4.2 / 10Weak✓ Tool-verified

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

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

Coverage: Population: styled elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx), plus in-repo <style> blocks, in-repo .css files and CSS-in-JS literals. Colour contrast is computed from LITERAL colour pairs only (hex/rgb/hsl/named, including var() tokens and Tailwind neutral utilities) — computed, runtime-themed and external-CDN colour is never resolved, so this is a partial read of contrast by construction. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.

  • `.loader` moves (`animation: antRotate 1.2s infinite linear`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — admin-views/public/scripts/loading.js:14
  • `.ant-menu .ant-menu-item-icon` moves (`transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1)`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — admin-views/src/global.css:60
  • `.parallax > use` moves (`animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — admin-views/src/pages/login/DefaultLogin/bg/style/index.module.css:27
  • `.navbar-user` moves (`transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — admin-views/src/components/AmisRender/style/index.less:237

What to do

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

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.

AX3 · Project dependency cycles6.1 / 10Adequate✓ Tool-verified

Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).

Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.

  • The projects src → src/Console → src (one cycle inside a mutually-dependent group of 11 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference. — src/AdminServiceProvider.php:15

What to do

  • Break project reference cycles by extracting shared abstractions into a separate project; keep the graph a DAG.
AX4 · Dependency direction10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) — the clean-architecture dependency rule, checked across the project graph.

Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.

AX6 · Interface segregation10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether interfaces stay focused rather than fat — the Interface-Segregation principle (SOLID 'I').

Method: Roslyn scan: public interface declared-member counts (accessors fold into their property/event); fat-interface threshold (over 15 declared members) flagged per type. Each finding also reports the distinct-OPERATION count — members counted by name, so an overload group counts once — which decides whether it states the caller-side ISP harm or the implementer-side burden of an overload set. TypeScript: exported interfaces that declare behaviour, counted over their REQUIRED operations (method signatures and function-typed properties with no `?`, once per signature) — data-shape interfaces and ambient .d.ts declarations are outside the population; JavaScript declares no interfaces and is not applicable. Deterministic, type-level.

AX8 · Test isolation10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether production projects stay free of references to test projects — tests may depend on production, never the reverse.

Method: Csproj graph: each production project checked for references to test projects (identified by test-framework presence, not name). Zero violations is clean. Deterministic.

C1 · Data Protection6.5 / 10Adequate✓ Tool-verified

Other · Security — Whether sensitive data is encrypted at rest and in transit and keys are vaulted.

Method: Roslyn plus filesystem scan: encryption presence (EF ColumnEncryption, key-vault references, HTTPS enforcement) and key-derivation KDF detection. Deterministic.

What to do

  • Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, GCP KMS / Secret Manager, HashiCorp Vault — not only APP_KEY in .env) and encrypt the most sensitive columns (Eloquent 'encrypted' casts, CipherSweet) — partial coverage still leaves gaps.
C2 · Access Controls3.3 / 10Weak✓ Tool-verified

Other · Security — Whether access is authorized by default — a framework authorization attribute/decorator or policy, or imperative guard methods (throw-on-violation) called from handlers.

Method: Roslyn scan: [Authorize] usage and authorization policies, plus imperative throw-on-violation guard methods detected via syntax. Deterministic.

  • Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
  • Only 2 place(s) refuse an unauthorized caller — too few to demonstrate default-deny across handlers.

What to do

  • Name the access rules — Gate abilities and policy classes (Gate::define, a UserPolicy), spatie/laravel-permission roles and permissions, or a Symfony Voter — and consult them where access is checked ($this->authorize, a can: middleware, #[IsGranted]), so the rule set is reviewable and testable on its own.
  • Enforce authorization at every handler — a guard on each route, or a global authentication guard/middleware with explicit public opt-outs, so protected-by-default is demonstrable.
M1 · Documentation (README)8.0 / 10Strong✓ Tool-verified

Maturity · Maturity — Whether the repository and its projects have a README, and whether it is substantive.

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 build/run (quick start) section to the root README — the first thing a newcomer needs.
  • Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
M2 · Architecture documentation0.0 / 10Critical✓ Tool-verified

Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.

Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.

  • No Architecture Decision Records found — no conventional ADR directory, no 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 your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
  • Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure10.0 / 10Exemplary✓ Tool-verified

Maturity · Maturity — Whether the repository is organised deliberately: production code and tests are set apart in a way its ecosystem or the repository itself declares.

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

P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

Readiness · Readiness — Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

P3 · Security & performance tooling0.0 / 10Critical✓ Tool-verified

Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).

Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step — in this repository's own ecosystem. Exhaustive, deterministic.

  • No static application security testing detected. For this repository's stack, add phpstan or psalm (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 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. — REDACTED:7
  • `admin-views/package.json` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`. — admin-views/package.json:10

What to do

  • Add a SAST step to CI running what this repository's stack ships: phpstan or psalm — or `semgrep --config=auto`, which runs on any language — 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.
P6 · Release Hygiene5.0 / 10Adequate✓ Tool-verified

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

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

  • 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.
P7 · Outbound HTTP resilience3.0 / 10Weak✓ Tool-verified

Readiness · Readiness — Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.

Method: Source scan: outbound HTTP clients and what bounds them — resilience handlers (Polly, AddStandardResilienceHandler) on .NET; on Go, the JVM, Python, JavaScript/TypeScript, Ruby, PHP, Rust, Elixir, Swift, Dart and Erlang, a timeout, deadline, retry or breaker beside each call, or a process-wide client default (a framework-wide deadline such as Drupal core's, Laravel's or actix's awc counts). Exhaustive, deterministic.

  • `file_get_contents('https://` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — src/Console/CheckCommand.php:60

What to do

  • Give every client an explicit bound: `new Client(['timeout' => 10, 'connect_timeout' => 3])` for Guzzle (whose default is to wait forever), `CURLOPT_TIMEOUT`/`CURLOPT_CONNECTTIMEOUT` before `curl_exec`, `timeout`/`max_duration` on Symfony HttpClient (or `framework.http_client.default_options`), and a stream-context `timeout` or `connection_timeout` for `file_get_contents`/`SoapClient`. In Drupal, use the `http_client` service, which carries core's site-wide timeout, rather than `new Client()`. Add retries with back-off (Guzzle `Middleware::retry`, Symfony `RetryableHttpClient`, Laravel `->retry()`) around dependencies that fail.
P8 · Schema migrations10.0 / 10Exemplary○ Nothing flagged

Readiness · Readiness — Whether database schema changes go through versioned migrations rather than being auto-created from the model at startup.

Method: Roslyn scan: EF Core DbContext for a versioned migrations directory versus bare EnsureCreated usage; off .NET, a file scan of dependency manifests, migration histories (Flyway, Liquibase, Alembic, Django, Rails, Prisma, TypeORM, Knex/Sequelize, golang-migrate, goose, Laravel, Doctrine, Diesel/sqlx) and schema auto-create in production source or config. Exhaustive, deterministic.

X16 · Unfloored truncation loop10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a loop that shortens a string until it fits a length budget has a floor — one with none grinds the value down to the empty string, or past it into a negative-length `Substring`.

Method: Roslyn syntax + semantics: while/do loops whose body's only effect on a string is to drop its last character, checked for whether anything — a direct comparison on the length, a body guard, a break — bounds that length below. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `while`/`do` loop whose body’s one assignment to a value is `x = x.slice(0, -1)` or `x = x.slice|substring|substr(0, x.length - 1)`, driven by a condition that reads `x.length` only as a term of a larger expression — never compared directly, never tested for truthiness, and with no other read of `x` — and whose body has no `break`, `return`, `throw` or `if` naming `x`. Deterministic, provable per finding. Advisory.

X18 · Disposal-pattern correctness10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a type's disposal matches what it OWNS — releasing what it created, leaving alone what it was handed, and not declaring a finalizer for state that has nothing unmanaged to finalize.

Method: Roslyn syntax + semantics: every assignment to a disposable field is read to decide whether the type CREATED the value or was handed it, and the type's disposal is checked against that answer — an injected interface it disposes, a value it constructed and never releases, a finalizer on a type holding nothing unmanaged, and a disposable local whose every reference is a plain member read. A value handed to a container that disposes its contents (a parent control's `Controls` collection, a component `IContainer`) is released by that container and is not reported; generated code is out of population. On a repository with no .NET source the same ownership questions are read in JavaScript/TypeScript off the engine’s own token stream (test, vendored, generated and minified paths not): a class declaring `dispose()`, `[Symbol.dispose]()` or `[Symbol.asyncDispose]()` that disposes a field it was handed through a constructor parameter typed as a repository interface or resolved by a dependency-injection container; that assigns a field only ever from `new X(…)` of a disposable class and neither releases it anywhere in the class nor names it in its disposal member or a method that member calls, nor hands it to anything else; and a `const`/`let` local built from literals only whose every reference opens a statement operating on a non-release member of it. A class is disposable when every repository declaration of its name declares or inherits a disposal member, or when it is a documented library disposable (`vscode` EventEmitter, CancellationTokenSource and Disposable; three.js geometries, materials, textures, render targets, renderers, controls and composers). The finalizer arm has no JavaScript counterpart: a class cannot declare one. Dart is read for the owned-and-never-released arm: a Flutter `State` (or a class declaring `dispose()`/`close()`) whose library-private field is written only with direct creations of a framework controller, `FocusNode`, `StreamController` or periodic `Timer` (or a `.listen(…)` into a field declared `StreamSubscription`), which nothing in the class or its library releases (`dispose`/`close`/`cancel`) and which is never handed on except as a named argument. Ruby is read for the owned-and-never-released arm and the abandoned-local arm: a class declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose instance variable is written only with a blockless core descriptor creation (`File.open`/`new`, `Tempfile`, `Dir.open`, `IO.popen`, the `socket` and `openssl` socket classes) that no method of the class closes and that is never handed on (passed, returned, stored, exposed by `attr_reader`, delegated) — a class whose superclass or mixin lies outside the repository is not judged — and a blockless creation read through and dropped (`File.open(path).read`) or held in a local that is never closed, returned, passed or stored (a `&:read` block-pass, an `autoclose: false` borrow and a `fileno` hand-over are not abandonment). PHP is read for the same two arms: a class (not a trait, and not one using a trait) declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose `private` property (or a `final` class's `protected` one) is written only with a direct core `fopen`, `tmpfile`, `popen`, `proc_open`, `fsockopen`, `stream_socket_client`/`server` or `opendir` that nothing in the class closes (`fclose`, `pclose`, `closedir`, `unset`, a reset to `null`) and that is never handed on, and a handle held in a function's local, or read through as the argument of a reader, that is never closed, returned, passed, captured or stored; a `php://` stream, `curl_init`, `SplFileObject`, `PDO` and a function the repository declares under the core name are not read. Deterministic, provable per finding. Advisory.

X21 · Side-effecting pattern guard10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a `when` guard is free of side effects — a guard that increments a counter or assigns while deciding whether its arm matches applies that change during PATTERN MATCHING, on an arm that may not be selected, and skips it entirely when a short-circuit to its left answers first.

Method: Roslyn syntax: `when` guards on case labels and switch-expression arms, read for a mutation (`++`/`--`/assignment) sitting in a position the guard's own `&&`/`||`/`??`/`?:`/`?.` can skip. Deterministic, provable per finding. Advisory.

X27 · Collection changed while being enumerated10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a `foreach` leaves the array or collection it is walking alone — PHP raises nothing, but the loop's view and the collection part: an array walked by value (and a Doctrine or Laravel collection) is walked as the snapshot taken when the loop began, so an element added in the body is never visited and one removed is visited anyway; an array walked by reference (`as &$v`) and an SPL container (`SplObjectStorage`, `ArrayObject`, `SplQueue`) are walked live, so an added element is walked too and a removal skips the next one; and after an `array_splice`, `array_shift` or sort every later key names a different element.

Method: Roslyn syntax + semantics: `foreach` statements whose body calls a structural mutator (`Add`/`Remove`/`Clear`/`Insert`/…) on the very expression the loop is enumerating. Two arms. ARM A — the source is a concrete fragile BCL collection, or a live `Keys`/`Values` view over one, and the mutator resolves to that same collection's own member; concurrent and immutable collections and arrays are outside the population by construction, since their enumerators survive a structural change. ARM B — the source is an argument-less accessor CALL on a receiver whose body is in source: the accessor must return a stored field VERBATIM and a sibling member must structurally change that same field, both read off the implementations rather than from the members' names. A mutation the loop provably exits immediately after (`break`/`return`/`throw`/`goto`), or one written inside a nested loop or a lambda, is counted and never reported. Deterministic, provable per finding. Advisory.

X29 · Per-element action decided by a fixed element10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a decision taken once per element is taken ABOUT that element — a test inside a counted loop that reads a fixed subscript of the very collection its guarded statement indexes by the loop variable applies element zero's answer to all of them, so the elements that differ from it are all handled wrongly, and in the same direction.

Method: Roslyn syntax only, no semantic model: every `for` statement declaring exactly ONE loop variable, and every `if` inside its body that is not under a nested loop or a lambda. A site enters the population when the `if`’s condition never mentions the loop variable while the statement it guards indexes some collection by that variable ALONE (`c[i]`; `c[i + 1]` and `c[i, j]` are outside it). A finding additionally needs the AGREEING TWIN at the same-collection grain: the condition must read THAT SAME collection at a subscript that does not move — written into the condition, or reached through a local declared BEFORE the loop, so an alias bound inside the body is not followed. Both collection expressions must be simple identifiers. On a repository with no .NET source the same rule reads JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `for (let|var|const x = …; …; …)` with one declarator and a braced body, an alias followed only when it is declared before the loop in a block that encloses it and never assigned inside the loop. Deterministic, provable per finding. Advisory.

X3 · Exception handling4.4 / 10Weak✓ Tool-verified

Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.

Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.

  • An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×10) — src/Support/Composer.php:80, src/Support/Helper.php:40, src/Support/Helper.php:145, …
  • `catch (\Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×2) — src/Support/Cores/Database.php:365, src/Console/IdeHelperCommand.php:71
  • `catch (\Throwable)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×2) — src/Services/AdminService.php:216, src/Console/IdeHelperCommand.php:179

What to do

  • Swallowed exception (empty catch)
X5 · Nullable reference types2.0 / 10Critical✓ Tool-verified

Other · Code Health — Whether PHP's static analysis checks null and is not undermined by a nullness baseline — PHPStan from level 8 (`checkNullables`) or Psalm at `errorLevel` 3 or stricter is what makes `?User` a type whose method call is an error, and the null entries of a baseline, `@psalm-suppress PossiblyNull…` and `@phpstan-ignore *.nonObject` are what silence it.

Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.

  • This repository commits no PHPStan or Psalm configuration (`phpstan.neon[.dist]`, `phpstan.dist.neon`, `psalm.xml[.dist]`, or one a composer.json script names with `--configuration`), so nothing checks null: a `?Customer` reaches `->name()` silently and throws `Error: Call to a member function name() on null` the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration — this check reads configuration, and configuration is all it can read.

What to do

  • Raise PHPStan to level 8 (`level: 8` in `phpstan.neon.dist`, or `max`) or Psalm to `errorLevel="3"` or stricter, so `?Type` is a type the checker holds you to; generate a baseline for what that surfaces only to pay it down, not to keep it. Then resolve the baselined nullness errors rather than adding to them: each is a call on a value the checker showed could be null — narrow it (`if ($x === null) { … }`, `?->`, an early return), make the property non-nullable and initialise it in the constructor, or change the return type so the null cannot arrive.

WCAG coverage — what static analysis assessed

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

DimensionWCAG 2.2 A/AA criteriaCoverage
AC2 · Forms & labels1.3.1, 3.3.2, 4.1.2Partial signal
AC3 · Page structure1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2Partial signal
AC4 · Keyboard semantics2.1.1, 2.4.3Partial signal
AC6 · Visual & motion safety1.4.3, 2.4.7Partial — literal CSS only

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

Reference — by lens

The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.

LensScoreRatingImpact
Code Health44.3Weak — gated by D3, D4, X5Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture87.6Adequate — gated by D5Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Maturity57.9Adequate — gated by M2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness41.8Weak — gated by P3, P7Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security47.0Weak — gated by D31, D36, C2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Accessibility30.9Weak — gated by AC4Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Unscored — 2 check(s) recorded observations but carry no score

These checks ran and found something, but they do not carry a score — either by design (an advisory check reports evidence rather than grading it) or because they could not be scored here. They are excluded from the score for that reason, not because there was nothing to see.

  • X10 Duplicated predicate — 4 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
  • X7 Silent fallback defaults — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
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 — Repo shows no audit-logging mechanism (an audit-log table or model, a change-history library on the models — spatie/laravel-activitylog's LogsActivity, owen-it/laravel-auditing's Auditable, venturecraft/revisionable, Gedmo Loggable — or an Eloquent model event, observer or Doctrine listener that records each change) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
  • C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
  • C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
  • 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 — 63 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 image/media element found in the parsed markup — AC1 not applicable here.
  • AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
  • AX1 Captive dependencies — 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
  • AX2 Stateful singletons — Not applicable: PHP builds its object graph per request and shares none of it between requests. TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
  • 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
  • AX7 Slice cohesion — not applicable — not a vertical-slice architecture
  • 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.
  • AXR1 Runtime accessibility — the dev server (`npm run dev` in admin-views/) kept running but served no page within 2 minutes. Likely cause (not identified): the dev server kept running but no port it opened served a page in the time allowed. Last output: "5:48:22 PM [vite] (client) Pre-transform error: Failed to resolve import "mobx-react" from "node_modules/.vite/deps/amis-editor.js?v=245a9ebe". Does the file exist? / Plugin: vite:import-analysis / File: <repo>/admin-views/node_modules/.vite/deps/amis-editor.js?v=245a9ebe:46:26 / 44 | import { t as require_pickBy } from "./pickBy-DOy6jGsF.js"; / 45 | import { t as require_axios$2 } from "./axios-DSiME4_W.js"; / 46 | import { observer } from "mobx-react"; / | ^ / 47 | / 48 | //#region node_modules/i18n-runtime/es/index.js" No runtime evidence was gathered. This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
  • D10 Test Quality — ~789 lines of test source are present (.php) 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 .php test runner
  • 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.
  • D21 Naming Consistency — Naming consistency does not read PHP yet; not measured.
  • D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
  • D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ sibling projects each declaring an entity of their own or taking another project's integration events. Aggregate roots were found in only one source directory (Models), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
  • D24 Comment Value — D24 reads C#, Visual Basic, TypeScript and JavaScript comments only — this repository's production source is .php, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
  • D25 ADR Conformance — no ADRs to check
  • D26 Project Cohesion — D26 could not read how the parts of this repository's one build unit reference each other, so its cohesion was not measured. Not scored: this is a gap in the analyzer, not a verdict about this repository.
  • D27 Navigability — symbol resolution incomplete — navigability not assessed
  • 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.
  • 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.
  • D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
  • D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
  • D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
  • D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
  • D8 Code Coverage — Coverage not included — suite not readable by the collector
  • DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (10 aggregate root(s) (types guarding their own state behind command methods — this language has no AggregateRoot base to inherit); its 10 aggregate(s) are ORM models only — persistence, not behaviour: a CRUD model, measured, not claimed as DDD)
  • ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • 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#, F#, JavaScript/TypeScript, Dart, Ruby, Scala, Rust and Java, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
  • IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • M4 Documentation accuracy — Not applicable: the 4 current-state document(s) make no claim of a kind M4 checks. 9 claim(s) of kinds M4 does not check were not checked (path 1, command argument 2, environment variable 6); M4 checks only links and versions and artefact counts.
  • P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
  • P2 Observability — This repository's PHP source (1 module(s), 359 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
  • P9 Domain vs controller coverage — coverage not measured: this check compares the coverage of the analyzer's own test run across the domain and web layers, and that run measured none here — Test coverage (D8) says why
  • PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for PHPBench subjects (`bench*` methods, or `@Subject`/`#[Subject]` ones) in a file importing PhpBench or carrying its annotations, `bench*` methods in a `*Bench.php` file where PHPBench is installed, or phpbench/phpbench in a composer.json or a phpbench.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
  • PF2 Allocation hygiene — Not scored: this check counted allocation-aware idioms (Span, pools, stackalloc) per line, which describes what kind of code a repository is rather than whether it has an allocation problem, so it was withdrawn. Nothing here is a finding about your code.
  • PF3 Async & latency hygiene — Not applicable: PHP has no async/await function colour, so there is no asynchronous code for a blocking call to stall.
  • S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
  • SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • X12 Unreachable branch — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • X13 Undrained process stream — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • X14 Bypassable address classification — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X15 Unvalidated length from an untrusted reader — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X17 Uncapped recursion over a caller-supplied document — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • X19 Unrestored process-global state — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X2 Cancellation propagation — no C# was loaded; this repository's PHP was read and makes no request a caller can cancel (amphp's HttpClient or connect) — synchronous PHP offers its callers no cancellation to take
  • X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
  • X22 Contradicted release guard — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X23 Unguarded diagnostic materialisation — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X24 Document value interpolated into markup unescaped — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • X25 Inert configuration knob — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. PHP gives a request one thread of its own; the event-loop libraries (ReactPHP, Amp) run callbacks one at a time, and ext-parallel copies every value across its channels, so no array or collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
  • X28 Index access outside its own emptiness guard — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X30 Support guard that admits what it rejects — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
  • X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • 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.

Critical — 39 finding(s)
D30 · Dependency Vulnerabilities · High CVE · ×27
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • + 2 more in this group — see findings.md.
D29 · Static Analysis (SAST) · REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
AC4 · Keyboard semantics · Click handler on a non-interactive <div> · ×3
  • Click handler on a non-interactive <div> admin-views/src/layouts/DoubleLayout/index.tsx:108 — A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
  • Click handler on a non-interactive <div> admin-views/src/layouts/components/IconButton/index.tsx:6 — A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
  • Click handler on a non-interactive <div> admin-views/src/layouts/components/LayoutTabs/components/Tab/index.tsx:57 — A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
AX3 · Project dependency cycles · Project dependency cycle · ×1
  • Project dependency cycle src/AdminServiceProvider.php:15 — The projects src → src/Console → src (one cycle inside a mutually-dependent group of 11 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference.
D29 · Static Analysis (SAST) · REDACTED · ×1
  • REDACTED
D30 · Dependency Vulnerabilities · Critical CVE · ×1
  • REDACTED
D30 · Dependency Vulnerabilities · High vulnerability · ×1
  • REDACTED
D5 · Coupling · Circular dependency · ×1
  • Circular dependency src/AdminServiceProvider.php:15 — src → src/Console → src (one cycle inside a mutually-dependent group of 11 modules)
Serious — 352 finding(s)
D3 · God Classes · TooManyMethods · ×134
  • TooManyMethods: Amis src/Renderers/Amis.php:5 — TooManyMethods — 229 methods. The bar is 30 methods; this is 199 over it, 7.63× 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: TableControl src/Renderers/TableControl.php:11 — TooManyMethods — 120 methods. The bar is 30 methods; this is 90 over it, 4.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.
  • TooManyMethods: TransferPickerControl src/Renderers/TransferPickerControl.php:11 — 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: TabsTransferControl src/Renderers/TabsTransferControl.php:11 — TooManyMethods — 111 methods. The bar is 30 methods; this is 81 over it, 3.70× 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: TabsTransferPickerControl src/Renderers/TabsTransferPickerControl.php:11 — TooManyMethods — 111 methods. The bar is 30 methods; this is 81 over it, 3.70× 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: TransferControl src/Renderers/TransferControl.php:11 — TooManyMethods — 111 methods. The bar is 30 methods; this is 81 over it, 3.70× 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: BaseTransferControl src/Renderers/BaseTransferControl.php:11 — TooManyMethods — 110 methods. The bar is 30 methods; this is 80 over it, 3.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: SelectControl src/Renderers/SelectControl.php:11 — TooManyMethods — 109 methods. The bar is 30 methods; this is 79 over it, 3.63× 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: TreeControl src/Renderers/TreeControl.php:11 — TooManyMethods — 109 methods. The bar is 30 methods; this is 79 over it, 3.63× 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: TreeSelectControl src/Renderers/TreeSelectControl.php:11 — TooManyMethods — 108 methods. The bar is 30 methods; this is 78 over it, 3.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: CRUDTable src/Renderers/CRUDTable.php:11 — TooManyMethods — 103 methods. The bar is 30 methods; this is 73 over it, 3.43× 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: CRUDList src/Renderers/CRUDList.php:11 — TooManyMethods — 98 methods. The bar is 30 methods; this is 68 over it, 3.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.
  • TooManyMethods: TextControl src/Renderers/TextControl.php:11 — TooManyMethods — 97 methods. The bar is 30 methods; this is 67 over it, 3.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: CRUDCards src/Renderers/CRUDCards.php:11 — TooManyMethods — 96 methods. The bar is 30 methods; this is 66 over it, 3.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: ImageControl src/Renderers/ImageControl.php:13 — 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: PickerControl src/Renderers/PickerControl.php:11 — 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: NestedSelectControl src/Renderers/NestedSelectControl.php:11 — TooManyMethods — 92 methods. The bar is 30 methods; this is 62 over it, 3.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: ArrayControl src/Renderers/ArrayControl.php:11 — TooManyMethods — 91 methods. The bar is 30 methods; this is 61 over it, 3.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: ButtonGroupControl src/Renderers/ButtonGroupControl.php:11 — TooManyMethods — 91 methods. The bar is 30 methods; this is 61 over it, 3.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: ComboControl src/Renderers/ComboControl.php:11 — TooManyMethods — 91 methods. The bar is 30 methods; this is 61 over it, 3.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: TagControl src/Renderers/TagControl.php:11 — TooManyMethods — 91 methods. The bar is 30 methods; this is 61 over it, 3.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: BaseComboControl src/Renderers/BaseComboControl.php:11 — TooManyMethods — 90 methods. The bar is 30 methods; this is 60 over it, 3.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.
  • TooManyMethods: FileControl src/Renderers/FileControl.php:13 — TooManyMethods — 90 methods. The bar is 30 methods; this is 60 over it, 3.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.
  • TooManyMethods: CheckboxesControl src/Renderers/CheckboxesControl.php:11 — TooManyMethods — 88 methods. The bar is 30 methods; this is 58 over it, 2.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: ListControl src/Renderers/ListControl.php:11 — TooManyMethods — 88 methods. The bar is 30 methods; this is 58 over it, 2.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.
  • + 109 more in this group — see findings.md.
D30 · Dependency Vulnerabilities · Medium CVE · ×12
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
X3 · Exception handling · Swallowed exception (empty catch) · ×10
  • Swallowed exception (empty catch) src/Support/Composer.php:80 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Support/Helper.php:40 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Support/Helper.php:145 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Support/Cores/Api.php:55 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Support/Cores/Relationships.php:24 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Support/CodeGenerator/BaseGenerator.php:54 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Support/CodeGenerator/Generator.php:334 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Extend/Manager.php:145 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Controllers/AuthController.php:245 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
  • Swallowed exception (empty catch) src/Console/CheckCommand.php:71 — An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
AC6 · Visual & motion safety · Animation without a prefers-reduced-motion guard · ×4
  • Animation without a prefers-reduced-motion guard admin-views/public/scripts/loading.js:14 — `.loader` moves (`animation: antRotate 1.2s infinite linear`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
  • Animation without a prefers-reduced-motion guard admin-views/src/global.css:60 — `.ant-menu .ant-menu-item-icon` moves (`transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1)`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
  • Animation without a prefers-reduced-motion guard admin-views/src/pages/login/DefaultLogin/bg/style/index.module.css:27 — `.parallax > use` moves (`animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
  • Animation without a prefers-reduced-motion guard admin-views/src/components/AmisRender/style/index.less:237 — `.navbar-user` moves (`transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
D4 · Code Duplication · Duplicated block (5 lines × 2) · ×4
  • Duplicated block (5 lines × 2) src/Console/InstallCommand.php:67 — src/Console/InstallCommand.php:67-72 | src/Console/InstallCommand.php:87-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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
  • Duplicated block (5 lines × 2) src/Services/AdminPermissionService.php:93 — src/Services/AdminPermissionService.php:93-97 | src/Services/AdminRoleService.php:103-109 — 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) src/Support/CodeGenerator/BaseGenerator.php:91 — src/Support/CodeGenerator/BaseGenerator.php:91-95 | src/Support/Helper.php:61-65 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
  • Duplicated block (5 lines × 2) src/Support/CodeGenerator/Generator.php:204 — src/Support/CodeGenerator/Generator.php:204-208 | src/Support/CodeGenerator/Generator.php:272-276 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/Support/CodeGenerator/Generator.php:204` 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, `src/Support/CodeGenerator/Generator.php:277` calls `str_contains` and `src/Support/CodeGenerator/Generator.php:209` 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.
X3 · Exception handling · Swallowed exception (caught, then discarded) · ×4
  • Swallowed exception (caught, then discarded) src/Support/Cores/Database.php:365 — `catch (\Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
  • Swallowed exception (caught, then discarded) src/Services/AdminService.php:216 — `catch (\Throwable)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
  • Swallowed exception (caught, then discarded) src/Console/IdeHelperCommand.php:71 — `catch (\Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
  • Swallowed exception (caught, then discarded) src/Console/IdeHelperCommand.php:179 — `catch (\Throwable)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
D3 · God Classes · MethodTooLong · ×3
  • MethodTooLong: Generator.getDatabaseColumns src/Support/CodeGenerator/Generator.php:101 — MethodTooLong — getDatabaseColumns runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36× 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: Database.up src/Support/Cores/Database.php:46 — MethodTooLong — up runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04× 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: AuthController.loginPage src/Controllers/AuthController.php:78 — MethodTooLong — loginPage runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01× 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.
D4 · Code Duplication · Duplicated block (13 lines × 2) · ×3
  • Duplicated block (13 lines × 2) src/Console/UpdateCommand.php:123 — src/Console/UpdateCommand.php:123-135 | src/Console/UpdateCommand.php:251-263 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/Console/UpdateCommand.php:123` 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 (13 lines × 2) src/Support/CodeGenerator/ControllerGenerator.php:25 — src/Support/CodeGenerator/ControllerGenerator.php:25-37 | src/Support/CodeGenerator/ServiceGenerator.php:24-36 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
  • Duplicated block (13 lines × 2) src/Traits/UploadTrait.php:109 — src/Traits/UploadTrait.php:109-121 | src/Traits/UploadTrait.php:153-165 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/Traits/UploadTrait.php:109` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
AC2 · Forms & labels · <Input> field component without a label · ×2
  • <Input> field component without a label admin-views/src/pages/login/DefaultLogin/index.tsx:94 — This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
  • <Input> field component without a label admin-views/src/pages/login/DefaultLogin/index.tsx:106 — This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
D36 · Supply-chain Provenance & Signing · REDACTED
  • REDACTED
  • REDACTED
D4 · Code Duplication · Edited copy of a member (7 corresponding lines) · ×2
  • Edited copy of a member (7 corresponding lines) src/Services/AdminPermissionService.php:91 — src/Services/AdminPermissionService.php:91-97 | src/Services/AdminRoleService.php:101-109 — These two members are one piece of code written twice and then edited apart: 7 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.
  • Edited copy of a member (7 corresponding lines) src/Controllers/AdminController.php:108 — src/Controllers/AdminController.php:108-116 | src/Controllers/DevTools/CodeGeneratorController.php:41-47 — These two members are one piece of code written twice and then edited apart: 7 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.
D4 · Code Duplication · Edited copy of a member (11 corresponding lines) · ×2
  • Edited copy of a member (11 corresponding lines) src/Traits/QueryPathTrait.php:68 — src/Traits/QueryPathTrait.php:68-78 | src/Traits/QueryPathTrait.php:98-110 — 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.
  • Edited copy of a member (11 corresponding lines) src/Services/AdminMenuService.php:42 — src/Services/AdminMenuService.php:42-56 | src/Services/AdminPermissionService.php:40-50 — 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.
D4 · Code Duplication · Duplicated block (9 lines × 2) · ×2
  • Duplicated block (9 lines × 2) src/Console/UpdateCommand.php:274 — src/Console/UpdateCommand.php:274-282 | src/Support/Cores/Database.php:161-169 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/Console/UpdateCommand.php:274` 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 (9 lines × 2) src/Services/AdminUserService.php:284 — src/Services/AdminUserService.php:284-292 | src/Services/AdminUserService.php:353-361 — 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.
D5 · Coupling · Off the main sequence · ×2
  • Off the main sequence: src/Events — src/Events: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and depended on by 1 project(s), so it's rigid to change.
  • Off the main sequence: src/Traits — src/Traits: abstractness 0.00, instability 0.22, distance 0.78 — zone of pain — concrete and depended on by 7 project(s), so it's rigid to change.
AC3 · Page structure · Page without a main landmark · ×1
  • Page without a main landmark admin-views/index.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it.
D1 · Cyclomatic Complexity · UploadTrait.chunkUploadFinish (cyclomatic 46) · ×1
  • UploadTrait.chunkUploadFinish (cyclomatic 46) src/Traits/UploadTrait.php:146 — UploadTrait.chunkUploadFinish has cyclomatic complexity 46 (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.
D1 · Cyclomatic Complexity · Generator.getDatabaseColumns (cyclomatic 39) · ×1
  • Generator.getDatabaseColumns (cyclomatic 39) src/Support/CodeGenerator/Generator.php:101 — Generator.getDatabaseColumns 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.
D1 · Cyclomatic Complexity · ConditionBuilderScopeTrait.buildConditionBuilderQuery (cyclomatic 27) · ×1
  • ConditionBuilderScopeTrait.buildConditionBuilderQuery (cyclomatic 27) src/Traits/ConditionBuilderScopeTrait.php:39 — ConditionBuilderScopeTrait.buildConditionBuilderQuery has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
D1 · Cyclomatic Complexity · MigrationGenerator.generateContent (cyclomatic 16) · ×1
  • MigrationGenerator.generateContent (cyclomatic 16) src/Support/CodeGenerator/MigrationGenerator.php:52 — MigrationGenerator.generateContent 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.
D1 · Cyclomatic Complexity · UploadTrait.chunkUpload (cyclomatic 16) · ×1
  • UploadTrait.chunkUpload (cyclomatic 16) src/Traits/UploadTrait.php:103 — UploadTrait.chunkUpload has cyclomatic complexity 16 (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.
D15 · Churn × Complexity Hotspots · Repeated repair · ×1
  • Repeated repair: src/Services/AdminUserService.php src/Services/AdminUserService.php:164 — src/Services/AdminUserService.php changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 8 (its worst body is AdminUserService.listQuery at line 164), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix: 阻止 CRUD 批量赋值写入主键与敏感列 (#253)”; “fix(security): enforce object-level auth on admin user CRUD (#250) (#251)”; “fix: 防止管理员用户创建/更新时越权绑定角色 (#248)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-08-06 09:04:06 +08:00' --until='2026-11-04 09:04:06 +08:00' --full-history --no-merges -- src/Services/AdminUserService.php`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
D2 · Cognitive Complexity · Generator.getDatabaseColumns (cognitive 71) · ×1
  • Generator.getDatabaseColumns (cognitive 71) src/Support/CodeGenerator/Generator.php:101 — Generator.getDatabaseColumns has cognitive complexity 71 (threshold 15). Drivers by points: if/else 7 (27 pts), loops 5 (14 pts), match/switch 3 (11 pts), boolean chains 8, ternaries 2 (8 pts), error handling 2 (3 pts) (nesting depth added 44). 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.
D2 · Cognitive Complexity · UploadTrait.chunkUploadFinish (cognitive 48) · ×1
  • UploadTrait.chunkUploadFinish (cognitive 48) src/Traits/UploadTrait.php:146 — UploadTrait.chunkUploadFinish has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 30, if/else 12 (15 pts), ternaries 2, loops 1 (nesting depth added 3). 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.
D2 · Cognitive Complexity · Helper.array (cognitive 30) · ×1
  • Helper.array (cognitive 30) src/Support/Helper.php:20 — Helper.array has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (6 pts), error handling 1 (5 pts), boolean chains 3 (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.
D2 · Cognitive Complexity · MigrationGenerator.generateContent (cognitive 25) · ×1
  • MigrationGenerator.generateContent (cognitive 25) src/Support/CodeGenerator/MigrationGenerator.php:52 — MigrationGenerator.generateContent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 5, loops 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.
D2 · Cognitive Complexity · EditorController.parse (cognitive 21) · ×1
  • EditorController.parse (cognitive 21) src/Controllers/DevTools/EditorController.php:18 — EditorController.parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts) (nesting depth added 11). 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.
D2 · Cognitive Complexity · AuthController.login (cognitive 19) · ×1
  • AuthController.login (cognitive 19) src/Controllers/AuthController.php:21 — AuthController.login has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 1 (2 pts), error handling 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.
D2 · Cognitive Complexity · AdminCodeGeneratorService.filterData (cognitive 19) · ×1
  • AdminCodeGeneratorService.filterData (cognitive 19) src/Services/AdminCodeGeneratorService.php:57 — AdminCodeGeneratorService.filterData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 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.
D2 · Cognitive Complexity · ControllerGenerator.replaceFormContent (cognitive 18) · ×1
  • ControllerGenerator.replaceFormContent (cognitive 18) src/Support/CodeGenerator/ControllerGenerator.php:117 — ControllerGenerator.replaceFormContent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, ternaries 1 (2 pts), 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.
D2 · Cognitive Complexity · AdminPermissionController.autoGenerate (cognitive 17) · ×1
  • AdminPermissionController.autoGenerate (cognitive 17) src/Controllers/AdminPermissionController.php:167 — AdminPermissionController.autoGenerate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (6 pts), loops 3 (4 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.
D2 · Cognitive Complexity · ConditionBuilderScopeTrait.buildConditionBuilderQuery (cognitive 17) · ×1
  • ConditionBuilderScopeTrait.buildConditionBuilderQuery (cognitive 17) src/Traits/ConditionBuilderScopeTrait.php:39 — ConditionBuilderScopeTrait.buildConditionBuilderQuery has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 1 (3 pts), boolean chains 2, match/switch 1 (2 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.
D2 · Cognitive Complexity · ControllerGenerator.replaceListContent (cognitive 16) · ×1
  • ControllerGenerator.replaceListContent (cognitive 16) src/Support/CodeGenerator/ControllerGenerator.php:49 — ControllerGenerator.replaceListContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 2). 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.
D2 · Cognitive Complexity · FilterGenerator.renderComponent (cognitive 16) · ×1
  • FilterGenerator.renderComponent (cognitive 16) src/Support/CodeGenerator/FilterGenerator.php:30 — FilterGenerator.renderComponent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (4 pts), ternaries 1 (4 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.
D3 · God Classes · ClassTooLong · ×1
  • ClassTooLong: Amis src/Renderers/Amis.php:5 — ClassTooLong — 814 significant lines (blank, comment-only and punctuation-only lines excluded), 229 methods. The bar is 400 significant lines; this is 414 over it, 2.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.
D3 · God Classes · FileTooLong · ×1
  • FileTooLong: Renderers/Amis.php src/Renderers/Amis.php — FileTooLong — 816 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Amis (5-1862). The bar is 500 significant lines; this is 316 over it, 1.63× 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.
D35 · Change Coupling · Change coupling · ×1
  • Change coupling: AdminRoleController.php ↔ AdminUserController.php src/Controllers/AdminRoleController.php:1 — `src/Controllers/AdminRoleController.php` and `src/Controllers/AdminUserController.php` change together 67% of the time (12 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package — so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are `13fec44d` feat: 优化系统内置功能使用体验; `90f4aed5` feat: 调整超管逻辑, 超管不可再次分配; `31869e4c` refactor: 统一页面渲染 — run `git show` on any of them.
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
D4 · Code Duplication · Edited copy of a member (41 corresponding lines) · ×1
  • Edited copy of a member (41 corresponding lines) src/Support/CodeGenerator/BaseGenerator.php:46 — src/Support/CodeGenerator/BaseGenerator.php:46-86 | src/Support/Helper.php:137-178 — These two members are one piece of code written twice and then edited apart: 41 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.
D4 · Code Duplication · Edited copy of a member (25 corresponding lines) · ×1
  • Edited copy of a member (25 corresponding lines) src/Support/CodeGenerator/ControllerGenerator.php:22 — src/Support/CodeGenerator/ControllerGenerator.php:22-46 | src/Support/CodeGenerator/ServiceGenerator.php:21-48 — These two members are one piece of code written twice and then edited apart: 25 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.
D4 · Code Duplication · Edited copy of a member (20 corresponding lines) · ×1
  • Edited copy of a member (20 corresponding lines) src/Traits/ElementTrait.php:82 — src/Traits/ElementTrait.php:82-101 | src/Traits/ElementTrait.php:115-138 — These two members are one piece of code written twice and then edited apart: 20 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.
D4 · Code Duplication · Edited copy of a member (23 corresponding lines) · ×1
  • Edited copy of a member (23 corresponding lines) src/Services/AdminUserService.php:280 — src/Services/AdminUserService.php:280-302 | src/Services/AdminUserService.php:353-375 — These two members are one piece of code written twice and then edited apart: 23 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.
D4 · Code Duplication · Edited copy of a member (18 corresponding lines) · ×1
  • Edited copy of a member (18 corresponding lines) src/Console/Module/InitCommand.php:24 — src/Console/Module/InitCommand.php:24-42 | src/Console/Module/InitDbCommand.php:27-44 — These two members are one piece of code written twice and then edited apart: 18 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.
D4 · Code Duplication · Edited copy of a member (13 corresponding lines) · ×1
  • Edited copy of a member (13 corresponding lines) src/Controllers/AdminController.php:174 — src/Controllers/AdminController.php:174-186 | src/Controllers/AdminController.php:200-216 — These two members are one piece of code written twice and then edited apart: 13 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.
D4 · Code Duplication · Edited copy of a member (9 corresponding lines) · ×1
  • Edited copy of a member (9 corresponding lines) src/Console/Module/InitCommand.php:158 — src/Console/Module/InitCommand.php:158-166 | src/Console/Module/InitCommand.php:213-227 — These two members are one piece of code written twice and then edited apart: 9 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.
D4 · Code Duplication · Edited copy of a member (19 corresponding lines) · ×1
  • Edited copy of a member (19 corresponding lines) src/Services/AdminRoleService.php:55 — src/Services/AdminRoleService.php:55-73 | src/Services/AdminRoleService.php:78-96 — These two members are one piece of code written twice and then edited apart: 19 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.
D4 · Code Duplication · Edited copy of a member (12 corresponding lines) · ×1
  • Edited copy of a member (12 corresponding lines) src/Services/AdminMenuService.php:61 — src/Services/AdminMenuService.php:61-72 | src/Services/AdminPermissionService.php:75-86 — These two members are one piece of code written twice and then edited apart: 12 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.
D4 · Code Duplication · Edited copy of a member (15 corresponding lines) · ×1
  • Edited copy of a member (15 corresponding lines) src/Controllers/DevTools/Traits/CodeGeneratorConfigTrait.php:85 — src/Controllers/DevTools/Traits/CodeGeneratorConfigTrait.php:85-99 | src/Controllers/DevTools/Traits/CodeGeneratorConfigTrait.php:145-159 — These two members are one piece of code written twice and then edited apart: 15 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.
D4 · Code Duplication · Edited copies of one member (3 members, 8+ corresponding lines) · ×1
  • Edited copies of one member (3 members, 8+ corresponding lines) src/Support/Apis/DataCreateApi.php:21 — src/Support/Apis/DataCreateApi.php:21-28 | src/Support/Apis/DataDeleteApi.php:32-40 | src/Support/Apis/DataUpdateApi.php:32-40 — These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, 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 out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart.
D4 · Code Duplication · Edited copy of a member (21 corresponding lines) · ×1
  • Edited copy of a member (21 corresponding lines) src/Traits/ElementTrait.php:48 — src/Traits/ElementTrait.php:48-68 | src/Traits/ElementTrait.php:195-216 — These two members are one piece of code written twice and then edited apart: 21 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.
D4 · Code Duplication · Edited copies of one member (3 members, 5+ corresponding lines) · ×1
  • Edited copies of one member (3 members, 5+ corresponding lines) src/Console/InstallCommand.php:67 — src/Console/InstallCommand.php:67-73 | src/Console/InstallCommand.php:78-82 | src/Console/InstallCommand.php:87-92 — These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, 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 out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart.
D4 · Code Duplication · Edited copies of one member (3 members, 16+ corresponding lines) · ×1
  • Edited copies of one member (3 members, 16+ corresponding lines) src/Console/MenuCommand.php:309 — src/Console/MenuCommand.php:309-325 | src/Console/Module/InitCommand.php:55-70 | src/Console/Module/InitDbCommand.php:63-78 — These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, 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 out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart.
D4 · Code Duplication · Edited copy of a member (4 corresponding lines) · ×1
  • Edited copy of a member (4 corresponding lines) src/Console/DbCommand.php:179 — src/Console/DbCommand.php:179-182 | src/Console/MenuCommand.php:413-416 — These two members are one piece of code written twice and then edited apart: 4 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.
D4 · Code Duplication · Duplicated block (33–38 lines × 2) · ×1
  • Duplicated block (33–38 lines × 2) src/Support/CodeGenerator/Generator.php:126 — src/Support/CodeGenerator/Generator.php:126-158 | src/Support/CodeGenerator/Generator.php:231-268 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/Support/CodeGenerator/Generator.php:126` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
D4 · Code Duplication · Duplicated block (12 lines × 2) · ×1
  • Duplicated block (12 lines × 2) src/Console/UpdateCommand.php:155 — src/Console/UpdateCommand.php:155-166 | src/Console/UpdateCommand.php:174-185 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/Console/UpdateCommand.php:155` 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.
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×1
  • Duplicated block (10 lines × 2) src/Traits/ElementTrait.php:88 — src/Traits/ElementTrait.php:88-97 | src/Traits/ElementTrait.php:125-134 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/Traits/ElementTrait.php:88` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
D4 · Code Duplication · Duplicated block (7–9 lines × 2) · ×1
  • Duplicated block (7–9 lines × 2) src/Console/InstallCommand.php:97 — src/Console/InstallCommand.php:97-103 | src/Console/InstallCommand.php:108-116 — 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. 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.
D4 · Code Duplication · Duplicated block (8 lines × 3) · ×1
  • Duplicated block (8 lines × 3) src/Console/Module/InitCommand.php:123 — src/Console/Module/InitCommand.php:123-130 | src/Console/Module/InitCommand.php:171-178 | src/Console/Module/InitCommand.php:183-190 — 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. 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.
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×1
  • Duplicated block (8 lines × 2) src/Console/UpdateCommand.php:287 — src/Console/UpdateCommand.php:287-294 | src/Support/Cores/Database.php:172-179 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/Console/UpdateCommand.php:287` 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.
D4 · Code Duplication · Duplicated block (11 lines × 2) · ×1
  • Duplicated block (11 lines × 2) src/Services/AdminMenuService.php:27 — src/Services/AdminMenuService.php:27-37 | src/Services/AdminPermissionService.php:25-35 — 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.
D4 · Code Duplication · Duplicated block (6 lines × 2) · ×1
  • Duplicated block (6 lines × 2) src/Support/Apis/DataCreateApi.php:23 — src/Support/Apis/DataCreateApi.php:23-28 | src/Support/Apis/DataUpdateApi.php:35-40 — 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 `src/Support/Apis/DataCreateApi.php:23` 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.
D4 · Code Duplication · Duplicated block (179 lines × 2) · ×1
  • Duplicated block (179 lines × 2) src/Renderers/Action.php:15 — src/Renderers/Action.php:15-193 | src/Renderers/VanillaAction.php:15-457 — 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 `src/Renderers/Action.php:15` 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.
D4 · Code Duplication · Duplicated block (484 lines × 2) · ×1
  • Duplicated block (484 lines × 2) src/Renderers/AjaxAction.php:15 — src/Renderers/AjaxAction.php:15-498 | src/Renderers/DrawerAction.php:15-498 — before extracting anything, compare `src/Renderers/AjaxAction.php` and `src/Renderers/DrawerAction.php` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 3388 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 `src/Renderers/AjaxAction.php:15` 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.
D4 · Code Duplication · Duplicated block (241 lines × 94) · ×1
  • Duplicated block (241 lines × 94) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (209 lines × 121) · ×1
  • Duplicated block (209 lines × 121) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (177 lines × 152) · ×1
  • Duplicated block (177 lines × 152) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (722 lines × 16) · ×1
  • Duplicated block (722 lines × 16) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ComboControl.php:15-737 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (217 lines × 115) · ×1
  • Duplicated block (217 lines × 115) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Card.php:15-247 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (33 lines × 185) · ×1
  • Duplicated block (33 lines × 185) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/AutoGenerateFilter.php:19-51 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboCondition.php:19-51 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/ConditionGroupValue.php:15-55 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Expandable.php:19-59 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HBoxColumn.php:19-91 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListBodyField.php:19-67 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QRCodeImageSettings.php:19-59 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/RowSelection.php:19-75 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SchemaQuickEdit.php:19-59 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/Toast.php:19-75 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (274 lines × 7) · ×1
  • Duplicated block (274 lines × 7) src/Renderers/Avatar.php:15 — src/Renderers/Avatar.php:15-288 | src/Renderers/CRUD2Cards.php:15-584 | src/Renderers/CRUD2List.php:15-608 | src/Renderers/CRUDCards.php:15-776 | src/Renderers/CRUDList.php:15-792 | src/Renderers/FieldSetControl.php:15-611 | src/Renderers/Progress.php:15-304 — before extracting anything, compare `src/Renderers/CRUD2Cards.php` and `src/Renderers/CRUD2List.php` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 3112 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 `src/Renderers/Avatar.php:15` 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.
D4 · Code Duplication · Duplicated block (81 lines × 171) · ×1
  • Duplicated block (81 lines × 171) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (169 lines × 134) · ×1
  • Duplicated block (169 lines × 134) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (145 lines × 159) · ×1
  • Duplicated block (145 lines × 159) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (225 lines × 117) · ×1
  • Duplicated block (225 lines × 117) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Card.php:15-247 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (323 lines × 86) · ×1
  • Duplicated block (323 lines × 86) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseCards.php` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 23850 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (274 lines × 96) · ×1
  • Duplicated block (274 lines × 96) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseCards.php` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 23850 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (716 lines × 18) · ×1
  • Duplicated block (716 lines × 18) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ComboControl.php:15-737 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (578 lines × 30) · ×1
  • Duplicated block (578 lines × 30) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/FormOptions.php:19-652 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/WizardStep.php:19-611 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (537 lines × 39) · ×1
  • Duplicated block (537 lines × 39) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/FormOptions.php:19-652 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/WizardStep.php:19-611 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (570 lines × 31) · ×1
  • Duplicated block (570 lines × 31) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/FormOptions.php:19-652 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/WizardStep.php:19-611 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (339 lines × 84) · ×1
  • Duplicated block (339 lines × 84) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (233 lines × 110) · ×1
  • Duplicated block (233 lines × 110) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (385 lines × 74) · ×1
  • Duplicated block (385 lines × 74) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/WizardStep.php:19-611 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (874 lines × 6) · ×1
  • Duplicated block (874 lines × 6) src/Renderers/BaseTransferControl.php:19 — src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 — before extracting anything, compare `src/Renderers/BaseTransferControl.php` and `src/Renderers/TableControl.php` as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 32436 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 `src/Renderers/BaseTransferControl.php:19` 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.
D4 · Code Duplication · Duplicated block (89 lines × 140) · ×1
  • Duplicated block (89 lines × 140) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (417 lines × 64) · ×1
  • Duplicated block (417 lines × 64) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (233 lines × 100) · ×1
  • Duplicated block (233 lines × 100) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Card.php:15-247 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (425 lines × 63) · ×1
  • Duplicated block (425 lines × 63) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (570 lines × 5) · ×1
  • Duplicated block (570 lines × 5) src/Renderers/CRUD2Cards.php:15 — src/Renderers/CRUD2Cards.php:15-584 | src/Renderers/CRUD2List.php:15-608 | src/Renderers/CRUDCards.php:15-776 | src/Renderers/CRUDList.php:15-792 | src/Renderers/FieldSetControl.php:15-611 — before extracting anything, compare `src/Renderers/CRUD2Cards.php` and `src/Renderers/CRUD2List.php` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 3112 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 `src/Renderers/CRUD2Cards.php:15` 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.
D4 · Code Duplication · Duplicated block (594 lines × 4) · ×1
  • Duplicated block (594 lines × 4) src/Renderers/CRUD2List.php:15 — src/Renderers/CRUD2List.php:15-608 | src/Renderers/CRUDCards.php:15-776 | src/Renderers/CRUDList.php:15-792 | src/Renderers/FieldSetControl.php:15-611 — before extracting anything, compare `src/Renderers/CRUD2List.php` and `src/Renderers/CRUDCards.php` as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 3890 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 `src/Renderers/CRUD2List.php:15` 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.
D4 · Code Duplication · Duplicated block (625 lines × 22) · ×1
  • Duplicated block (625 lines × 22) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ListControl.php:15-712 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (762 lines × 2) · ×1
  • Duplicated block (762 lines × 2) src/Renderers/CRUDCards.php:15 — src/Renderers/CRUDCards.php:15-776 | src/Renderers/CRUDList.php:15-792 — before extracting anything, compare `src/Renderers/CRUDCards.php` and `src/Renderers/CRUDList.php` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 4668 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 `src/Renderers/CRUDCards.php:15` 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.
D4 · Code Duplication · Duplicated block (817 lines × 9) · ×1
  • Duplicated block (817 lines × 9) src/Renderers/CRUDTable.php:15 — src/Renderers/CRUDTable.php:15-831 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/CRUDTable.php` and `src/Renderers/SelectControl.php` as WHOLE FILES: this scan already matched 96 separate duplicated blocks between them, totalling at least 91584 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 `src/Renderers/CRUDTable.php:15` 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.
D4 · Code Duplication · Duplicated block (329 lines × 76) · ×1
  • Duplicated block (329 lines × 76) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (321 lines × 78) · ×1
  • Duplicated block (321 lines × 78) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (658 lines × 21) · ×1
  • Duplicated block (658 lines × 21) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ListControl.php:15-712 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (33 lines × 147) · ×1
  • Duplicated block (33 lines × 147) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/ChartRadios.php:15-47 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/ConditionGroupValue.php:15-55 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/WebComponent.php:15-47 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (498 lines × 41) · ×1
  • Duplicated block (498 lines × 41) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (698 lines × 18) · ×1
  • Duplicated block (698 lines × 18) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ListControl.php:15-712 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (65 lines × 143) · ×1
  • Duplicated block (65 lines × 143) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (289 lines × 85) · ×1
  • Duplicated block (289 lines × 85) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (185 lines × 129) · ×1
  • Duplicated block (185 lines × 129) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (538 lines × 34) · ×1
  • Duplicated block (538 lines × 34) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (41 lines × 145) · ×1
  • Duplicated block (41 lines × 145) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/ConditionGroupValue.php:15-55 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (452 lines × 6) · ×1
  • Duplicated block (452 lines × 6) src/Renderers/AjaxAction.php:15 — src/Renderers/AjaxAction.php:15-498 | src/Renderers/CopyAction.php:15-466 | src/Renderers/DialogAction.php:15-490 | src/Renderers/DrawerAction.php:15-498 | src/Renderers/EmailAction.php:15-482 | src/Renderers/UrlAction.php:15-474 — before extracting anything, compare `src/Renderers/AjaxAction.php` and `src/Renderers/CopyAction.php` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 1452 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 `src/Renderers/AjaxAction.php:15` 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.
D4 · Code Duplication · Duplicated block (73 lines × 142) · ×1
  • Duplicated block (73 lines × 142) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (225 lines × 106) · ×1
  • Duplicated block (225 lines × 106) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Card.php:15-247 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (553 lines × 30) · ×1
  • Duplicated block (553 lines × 30) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (586 lines × 25) · ×1
  • Duplicated block (586 lines × 25) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (562 lines × 28) · ×1
  • Duplicated block (562 lines × 28) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (353 lines × 73) · ×1
  • Duplicated block (353 lines × 73) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (476 lines × 3) · ×1
  • Duplicated block (476 lines × 3) src/Renderers/AjaxAction.php:15 — src/Renderers/AjaxAction.php:15-498 | src/Renderers/DialogAction.php:15-490 | src/Renderers/DrawerAction.php:15-498 — before extracting anything, compare `src/Renderers/AjaxAction.php` and `src/Renderers/DialogAction.php` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 2904 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 `src/Renderers/AjaxAction.php:15` 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.
D4 · Code Duplication · Duplicated block (458 lines × 53) · ×1
  • Duplicated block (458 lines × 53) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (345 lines × 75) · ×1
  • Duplicated block (345 lines × 75) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (305 lines × 83) · ×1
  • Duplicated block (305 lines × 83) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (466 lines × 52) · ×1
  • Duplicated block (466 lines × 52) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (468 lines × 4) · ×1
  • Duplicated block (468 lines × 4) src/Renderers/AjaxAction.php:15 — src/Renderers/AjaxAction.php:15-498 | src/Renderers/DialogAction.php:15-490 | src/Renderers/DrawerAction.php:15-498 | src/Renderers/EmailAction.php:15-482 — before extracting anything, compare `src/Renderers/AjaxAction.php` and `src/Renderers/DialogAction.php` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 2904 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 `src/Renderers/AjaxAction.php:15` 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.
D4 · Code Duplication · Duplicated block (41 lines × 182) · ×1
  • Duplicated block (41 lines × 182) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Expandable.php:19-59 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HBoxColumn.php:19-91 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListBodyField.php:19-67 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QRCodeImageSettings.php:19-59 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/RowSelection.php:19-75 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SchemaQuickEdit.php:19-59 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/Toast.php:19-75 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (369 lines × 68) · ×1
  • Duplicated block (369 lines × 68) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (434 lines × 60) · ×1
  • Duplicated block (434 lines × 60) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (442 lines × 57) · ×1
  • Duplicated block (442 lines × 57) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (634 lines × 24) · ×1
  • Duplicated block (634 lines × 24) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/FormOptions.php:19-652 | src/Renderers/ListControl.php:15-712 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (97 lines × 165) · ×1
  • Duplicated block (97 lines × 165) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (113 lines × 136) · ×1
  • Duplicated block (113 lines × 136) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (474 lines × 50) · ×1
  • Duplicated block (474 lines × 50) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/GroupControl.php:15-488 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (73 lines × 172) · ×1
  • Duplicated block (73 lines × 172) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HBoxColumn.php:19-91 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (193 lines × 128) · ×1
  • Duplicated block (193 lines × 128) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (17 lines × 191) · ×1
  • Duplicated block (17 lines × 191) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/AutoGenerateFilter.php:19-51 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/ChartRadios.php:15-47 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboCondition.php:19-51 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/ConditionGroupValue.php:15-55 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Expandable.php:19-59 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HBoxColumn.php:19-91 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconChecked.php:19-35 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListBodyField.php:19-67 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QRCodeImageSettings.php:19-59 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/RowSelection.php:19-75 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaCopyable.php:20-36 | src/Renderers/SchemaMessage.php:19-43 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SchemaQuickEdit.php:19-59 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SvgIcon.php:15-39 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/Toast.php:19-75 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/WebComponent.php:15-47 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (397 lines × 66) · ×1
  • Duplicated block (397 lines × 66) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (51 lines × 3) · ×1
  • Duplicated block (51 lines × 3) src/Renderers/Action.php:15 — src/Renderers/Action.php:15-193 | src/Renderers/ImageToolbarAction.php:15-65 | src/Renderers/VanillaAction.php:15-457 — 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 `src/Renderers/Action.php:15` 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.
D4 · Code Duplication · Duplicated block (385 lines × 67) · ×1
  • Duplicated block (385 lines × 67) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (506 lines × 40) · ×1
  • Duplicated block (506 lines × 40) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (482 lines × 49) · ×1
  • Duplicated block (482 lines × 49) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (522 lines × 38) · ×1
  • Duplicated block (522 lines × 38) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (450 lines × 54) · ×1
  • Duplicated block (450 lines × 54) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (177 lines × 133) · ×1
  • Duplicated block (177 lines × 133) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (249 lines × 91) · ×1
  • Duplicated block (249 lines × 91) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (490 lines × 43) · ×1
  • Duplicated block (490 lines × 43) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (444 lines × 8) · ×1
  • Duplicated block (444 lines × 8) src/Renderers/AjaxAction.php:15 — src/Renderers/AjaxAction.php:15-498 | src/Renderers/CopyAction.php:15-466 | src/Renderers/DialogAction.php:15-490 | src/Renderers/DrawerAction.php:15-498 | src/Renderers/EmailAction.php:15-482 | src/Renderers/LinkAction.php:15-458 | src/Renderers/ToastAction.php:15-458 | src/Renderers/UrlAction.php:15-474 — before extracting anything, compare `src/Renderers/AjaxAction.php` and `src/Renderers/CopyAction.php` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 1452 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 `src/Renderers/AjaxAction.php:15` 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.
D4 · Code Duplication · Duplicated block (49 lines × 178) · ×1
  • Duplicated block (49 lines × 178) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HBoxColumn.php:19-91 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListBodyField.php:19-67 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/RowSelection.php:19-75 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/Toast.php:19-75 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (212 lines × 134) · ×1
  • Duplicated block (212 lines × 134) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Card.php:15-247 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (49 lines × 144) · ×1
  • Duplicated block (49 lines × 144) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (201 lines × 126) · ×1
  • Duplicated block (201 lines × 126) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (361 lines × 71) · ×1
  • Duplicated block (361 lines × 71) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (241 lines × 105) · ×1
  • Duplicated block (241 lines × 105) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseCards.php` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 23850 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (89 lines × 166) · ×1
  • Duplicated block (89 lines × 166) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (730 lines × 12) · ×1
  • Duplicated block (730 lines × 12) src/Renderers/CRUDTable.php:15 — src/Renderers/CRUDTable.php:15-831 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/CRUDTable.php` and `src/Renderers/NestedSelectControl.php` as WHOLE FILES: this scan already matched 93 separate duplicated blocks between them, totalling at least 88722 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 `src/Renderers/CRUDTable.php:15` 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.
D4 · Code Duplication · Duplicated block (546 lines × 32) · ×1
  • Duplicated block (546 lines × 32) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (436 lines × 10) · ×1
  • Duplicated block (436 lines × 10) src/Renderers/AjaxAction.php:15 — src/Renderers/AjaxAction.php:15-498 | src/Renderers/CopyAction.php:15-466 | src/Renderers/DialogAction.php:15-490 | src/Renderers/DrawerAction.php:15-498 | src/Renderers/EmailAction.php:15-482 | src/Renderers/LinkAction.php:15-458 | src/Renderers/OtherAction.php:15-450 | src/Renderers/ReloadAction.php:15-450 | src/Renderers/ToastAction.php:15-458 | src/Renderers/UrlAction.php:15-474 — before extracting anything, compare `src/Renderers/AjaxAction.php` and `src/Renderers/CopyAction.php` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 1452 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 `src/Renderers/AjaxAction.php:15` 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.
D4 · Code Duplication · Duplicated block (257 lines × 89) · ×1
  • Duplicated block (257 lines × 89) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (739 lines × 11) · ×1
  • Duplicated block (739 lines × 11) src/Renderers/CRUDTable.php:15 — src/Renderers/CRUDTable.php:15-831 | src/Renderers/PickerControl.php:15-753 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/CRUDTable.php` and `src/Renderers/PickerControl.php` as WHOLE FILES: this scan already matched 94 separate duplicated blocks between them, totalling at least 89676 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 `src/Renderers/CRUDTable.php:15` 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.
D4 · Code Duplication · Duplicated block (265 lines × 87) · ×1
  • Duplicated block (265 lines × 87) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (217 lines × 124) · ×1
  • Duplicated block (217 lines × 124) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Card.php:15-247 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/ArrayControl.php` as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 37206 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (290 lines × 6) · ×1
  • Duplicated block (290 lines × 6) src/Renderers/CRUD2Cards.php:15 — src/Renderers/CRUD2Cards.php:15-584 | src/Renderers/CRUD2List.php:15-608 | src/Renderers/CRUDCards.php:15-776 | src/Renderers/CRUDList.php:15-792 | src/Renderers/FieldSetControl.php:15-611 | src/Renderers/Progress.php:15-304 — before extracting anything, compare `src/Renderers/CRUD2Cards.php` and `src/Renderers/CRUD2List.php` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 3112 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 `src/Renderers/CRUD2Cards.php:15` 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.
D4 · Code Duplication · Duplicated block (297 lines × 84) · ×1
  • Duplicated block (297 lines × 84) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (666 lines × 19) · ×1
  • Duplicated block (666 lines × 19) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ListControl.php:15-712 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (514 lines × 39) · ×1
  • Duplicated block (514 lines × 39) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Form.php:15-567 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputSignature.php:15-576 | src/Renderers/ListControl.php:15-712 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/SelectControl.php:15-880 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/ButtonGroupControl.php` as WHOLE FILES: this scan already matched 92 separate duplicated blocks between them, totalling at least 87768 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (57 lines × 177) · ×1
  • Duplicated block (57 lines × 177) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HBoxColumn.php:19-91 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/RowSelection.php:19-75 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/Toast.php:19-75 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (137 lines × 160) · ×1
  • Duplicated block (137 lines × 160) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (25 lines × 188) · ×1
  • Duplicated block (25 lines × 188) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/AutoGenerateFilter.php:19-51 | src/Renderers/Badge.php:19-99 | src/Renderers/Base.php:15-183 | src/Renderers/BaseApi.php:19-163 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/ChartRadios.php:15-47 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboCondition.php:19-51 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/ConditionGroupValue.php:15-55 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Expandable.php:19-59 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridColumn.php:19-115 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HBoxColumn.php:19-91 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListBodyField.php:19-67 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NavOverflow.php:19-107 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Option.php:19-115 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QRCodeImageSettings.php:19-59 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/RowSelection.php:19-75 | src/Renderers/SchemaApi.php:19-155 | src/Renderers/SchemaMessage.php:19-43 | src/Renderers/SchemaPopOver.php:19-99 | src/Renderers/SchemaQuickEdit.php:19-59 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/Toast.php:19-75 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/WebComponent.php:15-47 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (866 lines × 7) · ×1
  • Duplicated block (866 lines × 7) src/Renderers/SelectControl.php:15 — src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 — before extracting anything, compare `src/Renderers/SelectControl.php` and `src/Renderers/TableControl.php` as WHOLE FILES: this scan already matched 98 separate duplicated blocks between them, totalling at least 93492 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 `src/Renderers/SelectControl.php:15` 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.
D4 · Code Duplication · Duplicated block (161 lines × 158) · ×1
  • Duplicated block (161 lines × 158) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/AnchorNavSection.php:19-195 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/Column.php:19-195 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/State.php:19-179 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (185 lines × 149) · ×1
  • Duplicated block (185 lines × 149) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/Step.php:19-203 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (242 lines × 8) · ×1
  • Duplicated block (242 lines × 8) src/Renderers/Avatar.php:15 — src/Renderers/Avatar.php:15-288 | src/Renderers/CRUD2Cards.php:15-584 | src/Renderers/CRUD2List.php:15-608 | src/Renderers/CRUDCards.php:15-776 | src/Renderers/CRUDList.php:15-792 | src/Renderers/FieldSetControl.php:15-611 | src/Renderers/Progress.php:15-304 | src/Renderers/Steps.php:15-256 — before extracting anything, compare `src/Renderers/CRUD2Cards.php` and `src/Renderers/CRUD2List.php` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 3112 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 `src/Renderers/Avatar.php:15` 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.
D4 · Code Duplication · Duplicated block (25 lines × 148) · ×1
  • Duplicated block (25 lines × 148) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Breadcrumb.php:15-103 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/ChartRadios.php:15-47 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Code.php:15-79 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/ConditionGroupValue.php:15-55 | src/Renderers/Container.php:15-231 | src/Renderers/Custom.php:15-87 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid.php:15-87 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Log.php:15-103 | src/Renderers/Mapping.php:15-239 | src/Renderers/Markdown.php:15-63 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/Property.php:15-103 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SvgIcon.php:15-39 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/WebComponent.php:15-47 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (249 lines × 102) · ×1
  • Duplicated block (249 lines × 102) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseCards.php` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 23850 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (401 lines × 65) · ×1
  • Duplicated block (401 lines × 65) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/DiffControl.php:15-472 | src/Renderers/EditorControl.php:15-480 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (201 lines × 141) · ×1
  • Duplicated block (201 lines × 141) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/BaseButtonGroup.php:19-243 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseRemark.php:19-252 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListItem.php:19-230 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NavItem.php:19-259 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Options.php:19-251 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Portlet.php:15-280 | src/Renderers/PortletTab.php:19-235 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Tab.php:19-267 | src/Renderers/Table.php:15-415 | src/Renderers/TableColumn.php:19-219 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/Words.php:15-255 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (882 lines × 5) · ×1
  • Duplicated block (882 lines × 5) src/Renderers/TableControl.php:15 — src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 — before extracting anything, compare `src/Renderers/TableControl.php` and `src/Renderers/TabsTransferControl.php` as WHOLE FILES: this scan already matched 100 separate duplicated blocks between them, totalling at least 95400 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 `src/Renderers/TableControl.php:15` 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.
D4 · Code Duplication · Duplicated block (770 lines × 10) · ×1
  • Duplicated block (770 lines × 10) src/Renderers/CRUDTable.php:15 — src/Renderers/CRUDTable.php:15-831 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/CRUDTable.php` and `src/Renderers/SelectControl.php` as WHOLE FILES: this scan already matched 96 separate duplicated blocks between them, totalling at least 91584 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 `src/Renderers/CRUDTable.php:15` 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.
D4 · Code Duplication · Duplicated block (265 lines × 97) · ×1
  • Duplicated block (265 lines × 97) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseCards.php:19-341 | src/Renderers/BaseCollapse.php:19-292 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseDateRangeControl.php:19-596 | src/Renderers/BaseForm.php:19-555 | src/Renderers/BaseInputFormulaControl.php:19-588 | src/Renderers/BaseList.php:19-357 | src/Renderers/BaseTable.php:19-403 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormOptions.php:19-652 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/Panel.php:15-320 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TimelineItem.php:19-283 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Video.php:15-319 | src/Renderers/Wizard.php:15-367 | src/Renderers/WizardStep.php:19-611 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseCards.php` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 23850 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 `src/Renderers/ArrayControl.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (313 lines × 79) · ×1
  • Duplicated block (313 lines × 79) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Drawer.php:15-359 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputSignature.php:15-576 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/LocationControl.php:15-496 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Page.php:15-439 | src/Renderers/PickerControl.php:15-753 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SelectControl.php:15-880 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/Wizard.php:15-367 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/Button.php` as WHOLE FILES: this scan already matched 63 separate duplicated blocks between them, totalling at least 60102 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (898 lines × 2) · ×1
  • Duplicated block (898 lines × 2) src/Renderers/TableControl.php:15 — src/Renderers/TableControl.php:15-968 | src/Renderers/TransferPickerControl.php:15-912 — before extracting anything, compare `src/Renderers/TableControl.php` and `src/Renderers/TransferPickerControl.php` as WHOLE FILES: this scan already matched 101 separate duplicated blocks between them, totalling at least 96354 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 `src/Renderers/TableControl.php:15` 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.
D4 · Code Duplication · Duplicated block (858 lines × 8) · ×1
  • Duplicated block (858 lines × 8) src/Renderers/SelectControl.php:15 — src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 — before extracting anything, compare `src/Renderers/SelectControl.php` and `src/Renderers/TableControl.php` as WHOLE FILES: this scan already matched 98 separate duplicated blocks between them, totalling at least 93492 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 `src/Renderers/SelectControl.php:15` 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.
D4 · Code Duplication · Duplicated block (460 lines × 5) · ×1
  • Duplicated block (460 lines × 5) src/Renderers/AjaxAction.php:15 — src/Renderers/AjaxAction.php:15-498 | src/Renderers/DialogAction.php:15-490 | src/Renderers/DrawerAction.php:15-498 | src/Renderers/EmailAction.php:15-482 | src/Renderers/UrlAction.php:15-474 — before extracting anything, compare `src/Renderers/AjaxAction.php` and `src/Renderers/DialogAction.php` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 2904 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 `src/Renderers/AjaxAction.php:15` 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.
D4 · Code Duplication · Duplicated block (105 lines × 137) · ×1
  • Duplicated block (105 lines × 137) src/Renderers/Alert.php:15 — src/Renderers/Alert.php:15-255 | src/Renderers/AnchorNav.php:15-223 | src/Renderers/ArrayControl.php:15-737 | src/Renderers/Audio.php:15-231 | src/Renderers/Base.php:15-183 | src/Renderers/Button.php:15-431 | src/Renderers/ButtonGroup.php:15-247 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/ButtonToolbar.php:15-440 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/Calendar.php:15-223 | src/Renderers/Card.php:15-247 | src/Renderers/Card2.php:15-223 | src/Renderers/Cards.php:15-343 | src/Renderers/Carousel.php:15-335 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/Chart.php:15-335 | src/Renderers/CheckboxControl.php:15-512 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/Collapse.php:15-303 | src/Renderers/CollapseGroup.php:15-231 | src/Renderers/Color.php:15-199 | src/Renderers/ComboControl.php:15-737 | src/Renderers/ConditionBuilderControl.php:15-552 | src/Renderers/Container.php:15-231 | src/Renderers/Date.php:15-239 | src/Renderers/DateControl.php:15-568 | src/Renderers/DateRange.php:15-223 | src/Renderers/DateRangeControl.php:15-600 | src/Renderers/DateTimeControl.php:15-576 | src/Renderers/Dialog.php:15-367 | src/Renderers/DiffControl.php:15-472 | src/Renderers/Divider.php:15-239 | src/Renderers/Drawer.php:15-359 | src/Renderers/DropdownButton.php:15-319 | src/Renderers/Each.php:15-231 | src/Renderers/EditorControl.php:15-480 | src/Renderers/FeedbackDialog.php:15-383 | src/Renderers/Flex.php:15-223 | src/Renderers/Form.php:15-567 | src/Renderers/FormBaseControl.php:15-448 | src/Renderers/FormControl.php:15-456 | src/Renderers/FormulaControl.php:15-480 | src/Renderers/Grid2D.php:15-231 | src/Renderers/GridNav.php:15-127 | src/Renderers/GroupControl.php:15-488 | src/Renderers/HBox.php:15-231 | src/Renderers/HiddenControl.php:15-448 | src/Renderers/IFrame.php:15-239 | src/Renderers/Icon.php:15-207 | src/Renderers/IconPickerControl.php:15-448 | src/Renderers/Image.php:15-411 | src/Renderers/Images.php:15-399 | src/Renderers/InputCityControl.php:15-520 | src/Renderers/InputColorControl.php:15-496 | src/Renderers/InputDateBaseControl.php:15-536 | src/Renderers/InputDatetimeRange.php:15-247 | src/Renderers/InputExcel.php:15-223 | src/Renderers/InputGroupControl.php:15-464 | src/Renderers/InputKV.php:15-231 | src/Renderers/InputKVS.php:15-191 | src/Renderers/InputSignature.php:15-576 | src/Renderers/InputTimeRange.php:15-231 | src/Renderers/InputYearRange.php:15-263 | src/Renderers/JSONSchemaEditorControl.php:15-504 | src/Renderers/Json.php:15-263 | src/Renderers/Link.php:15-240 | src/Renderers/ListControl.php:15-712 | src/Renderers/ListRenderer.php:15-359 | src/Renderers/ListenerAction.php:15-127 | src/Renderers/LocationControl.php:15-496 | src/Renderers/Mapping.php:15-239 | src/Renderers/MatrixControl.php:15-496 | src/Renderers/MonthControl.php:15-536 | src/Renderers/MonthRangeControl.php:15-600 | src/Renderers/MultilineText.php:15-215 | src/Renderers/Nav.php:15-375 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/NumberControl.php:15-560 | src/Renderers/Operation.php:15-215 | src/Renderers/Page.php:15-439 | src/Renderers/Pagination.php:15-271 | src/Renderers/PaginationWrapper.php:15-239 | src/Renderers/Panel.php:15-320 | src/Renderers/Password.php:15-191 | src/Renderers/PickerControl.php:15-753 | src/Renderers/Plain.php:15-217 | src/Renderers/Portlet.php:15-280 | src/Renderers/QRCode.php:15-311 | src/Renderers/QuarterControl.php:15-536 | src/Renderers/QuarterRangeControl.php:15-600 | src/Renderers/RadioControl.php:15-496 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/RangeControl.php:15-560 | src/Renderers/RatingControl.php:15-528 | src/Renderers/Remark.php:15-255 | src/Renderers/RepeatControl.php:15-456 | src/Renderers/SearchBox.php:15-247 | src/Renderers/SelectControl.php:15-880 | src/Renderers/Service.php:15-319 | src/Renderers/Slider.php:15-215 | src/Renderers/SparkLine.php:15-231 | src/Renderers/Spinner.php:15-279 | src/Renderers/StaticExactControl.php:15-498 | src/Renderers/Status.php:15-229 | src/Renderers/SubFormControl.php:15-576 | src/Renderers/SwitchContainer.php:15-191 | src/Renderers/SwitchControl.php:15-496 | src/Renderers/Table.php:15-415 | src/Renderers/TableControl.php:15-968 | src/Renderers/TableSchema2.php:15-439 | src/Renderers/Tabs.php:15-375 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/Tag.php:15-247 | src/Renderers/TagControl.php:15-736 | src/Renderers/Tasks.php:15-382 | src/Renderers/TextControl.php:15-784 | src/Renderers/TextareaControl.php:15-504 | src/Renderers/TimeControl.php:15-552 | src/Renderers/Timeline.php:15-271 | src/Renderers/TooltipWrapper.php:15-327 | src/Renderers/Tpl.php:15-250 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UUIDControl.php:15-456 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/VBox.php:15-191 | src/Renderers/Video.php:15-319 | src/Renderers/Watermark.php:15-119 | src/Renderers/Wizard.php:15-367 | src/Renderers/Words.php:15-255 | src/Renderers/Wrapper.php:15-207 | src/Renderers/YearControl.php:15-536 — before extracting anything, compare `src/Renderers/Alert.php` and `src/Renderers/AnchorNav.php` as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 29574 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 `src/Renderers/Alert.php:15` 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D4 · Code Duplication · Duplicated block (593 lines × 26) · ×1
  • Duplicated block (593 lines × 26) src/Renderers/ArrayControl.php:15 — src/Renderers/ArrayControl.php:15-737 | src/Renderers/BaseComboControl.php:19-734 | src/Renderers/BaseTransferControl.php:19-892 | src/Renderers/ButtonGroupControl.php:15-736 | src/Renderers/CRUD2Table.php:15-639 | src/Renderers/CRUDTable.php:15-831 | src/Renderers/ChainedSelectControl.php:15-672 | src/Renderers/CheckboxesControl.php:15-712 | src/Renderers/ComboControl.php:15-737 | src/Renderers/FormOptions.php:19-652 | src/Renderers/ListControl.php:15-712 | src/Renderers/NestedSelectControl.php:15-744 | src/Renderers/PickerControl.php:15-753 | src/Renderers/RadiosControl.php:15-680 | src/Renderers/SelectControl.php:15-880 | src/Renderers/TableControl.php:15-968 | src/Renderers/TabsTransferControl.php:15-896 | src/Renderers/TabsTransferPickerControl.php:15-896 | src/Renderers/TagControl.php:15-736 | src/Renderers/TextControl.php:15-784 | src/Renderers/TransferControl.php:15-896 | src/Renderers/TransferPickerControl.php:15-912 | src/Renderers/TreeControl.php:15-880 | src/Renderers/TreeSelectControl.php:15-872 | src/Renderers/UserSelectControl.php:15-672 | src/Renderers/WizardStep.php:19-611 — before extracting anything, compare `src/Renderers/ArrayControl.php` and `src/Renderers/BaseComboControl.php` as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 31482 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 `src/Renderers/ArrayControl.php:15` 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.
D4 · Code Duplication · Duplicated block (7 lines × 2) · ×1
  • Duplicated block (7 lines × 2) src/Console/UpdateCommand.php:141 — src/Console/UpdateCommand.php:141-147 | src/Support/Cores/Database.php:128-134 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/Support/Cores/Database.php:135` calls `text`, `nullable`, `comment` and `src/Console/UpdateCommand.php:148` 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.
D5 · Coupling · Unstable project src/Console · ×1
  • Unstable project src/Console — src/Console has instability 0.83 with 1 dependents.
D6 · Cohesion (LCOM4) · Low cohesion · ×1
  • Low cohesion: BaseGenerator (LCOM4 4) src/Support/CodeGenerator/BaseGenerator.php:10 — BaseGenerator's methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
P7 · Outbound HTTP resilience · Outbound HTTP without resilience · ×1
  • Outbound HTTP without resilience src/Console/CheckCommand.php:60 — `file_get_contents('https://` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Minor — 19 finding(s)
X10 · Duplicated predicate · Duplicated predicate · ×4
  • Duplicated predicate admin-views/src/layouts/DefaultLayout/index.tsx:19 — `getSetting('system_theme_setting.siderTheme') == 'dark' && !getSetting('system_theme_setting.darkTheme')` appears character-identically in 2 files — admin-views/src/layouts/DefaultLayout/index.tsx, admin-views/src/layouts/TopMixLayout/index.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate admin-views/src/layouts/TopLayout/index.tsx:15 — `getSetting('system_theme_setting.topTheme') == 'dark' && !getSetting('system_theme_setting.darkTheme')` appears character-identically in 2 files — admin-views/src/layouts/TopLayout/index.tsx, admin-views/src/layouts/TopMixLayout/index.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate admin-views/src/components/AmisEditor/index.tsx:32 — `localeMap[getSetting('locale') || 'zh_CN'] || 'zh-CN'` appears character-identically in 2 files — admin-views/src/components/AmisEditor/index.tsx, admin-views/src/components/AmisRender/index.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate admin-views/src/components/AmisEditor/index.tsx:52 — `location.startsWith('http') || location.startsWith('https')` appears character-identically in 2 files — admin-views/src/components/AmisEditor/index.tsx, admin-views/src/components/AmisRender/index.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
D30 · Dependency Vulnerabilities · Low CVE · ×2
  • REDACTED
  • REDACTED
C2 · Access Controls · No named authorization policies · ×1
  • No named authorization policies — Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
C2 · Access Controls · Thin authorization enforcement · ×1
  • Thin authorization enforcement — Only 2 place(s) refuse an unauthorized caller — too few to demonstrate default-deny across handlers.
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
M2 · Architecture documentation · No ADRs · ×1
  • No ADRs — No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
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.
P3 · Security & performance tooling · No SAST · ×1
  • No SAST REDACTED:7 — No static application security testing detected. For this repository's stack, add phpstan or psalm (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 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.
P3 · Security & performance tooling · No dependency-update automation · ×1
  • No dependency-update automation admin-views/package.json:10 — `admin-views/package.json` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`.
P6 · Release Hygiene · No changelog · ×1
  • 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.)
X5 · Nullable reference types · PHP static analysis does not check null everywhere · ×1
  • PHP static analysis does not check null everywhere — This repository commits no PHPStan or Psalm configuration (`phpstan.neon[.dist]`, `phpstan.dist.neon`, `psalm.xml[.dist]`, or one a composer.json script names with `--configuration`), so nothing checks null: a `?Customer` reaches `->name()` silently and throws `Error: Call to a member function name() on null` the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration — this check reads configuration, and configuration is all it can read.
X7 · Silent fallback defaults · Silent fallback default in catch · ×1
  • Silent fallback default in catch admin-views/src/layouts/components/SettingPanel/index.tsx:126 — `SettingPanel` swallows every exception into `return false` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.

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.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --log-opts "--full-history --all --skip=0 --max-count=200" --report-format json --report-path /tmp/watchdog-gitleaks-f0c9b30bea4a4023b053864923ee0154/history.json --exit-code 0 --source .2artifacts/raw/gitleaks-history.json
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --log-opts "--full-history --all --skip=200 --max-count=238" --report-format json --report-path /tmp/watchdog-gitleaks-f0c9b30bea4a4023b053864923ee0154/history-1.json --exit-code 0 --source .2artifacts/raw/gitleaks-history-1.json
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --log-opts "--full-history --all --skip=438 --max-count=210" --report-format json --report-path /tmp/watchdog-gitleaks-f0c9b30bea4a4023b053864923ee0154/history-2.json --exit-code 0 --source .0artifacts/raw/gitleaks-history-2.json
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --log-opts "--full-history --all --skip=648 --max-count=137" --report-format json --report-path /tmp/watchdog-gitleaks-f0c9b30bea4a4023b053864923ee0154/history-3.json --exit-code 0 --source .0artifacts/raw/gitleaks-history-3.json
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --log-opts "--full-history --all --skip=785 --max-count=60" --report-format json --report-path /tmp/watchdog-gitleaks-f0c9b30bea4a4023b053864923ee0154/history-4.json --exit-code 0 --source .0artifacts/raw/gitleaks-history-4.json
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --log-opts "--full-history --all --skip=845 --max-count=58" --report-format json --report-path /tmp/watchdog-gitleaks-f0c9b30bea4a4023b053864923ee0154/history-5.json --exit-code 0 --source .0—
D28 · Secrets (history)gitleaks—gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-f0c9b30bea4a4023b053864923ee0154/tree.json --exit-code 0 --source .2artifacts/raw/gitleaks-tree.json
D29 · Static Analysis (SAST)semgrep—semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/canine-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt --exclude admin-views --exclude src/Console/Module/stubs --exclude src/Console/stubs --exclude src/Extend/stubs --exclude src/Support/CodeGenerator/stubs .5artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiestrivy—trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** .43artifacts/raw/trivy-fs.json
D31 · IaC & Container Securitytrivy—trivy config --format json --quiet .0artifacts/raw/trivy-config.json
D32 · Data Compliance (PII/GDPR)semgrep—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.0—
D37 · Vulnerability-disclosure Policydisclosure—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.0—
D40 · Network Egress Confinementruntime-hardening—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.0—
D41 · Kernel & Syscall Confinementruntime-hardening—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.0—
D42 · Runtime Threat Enforcementruntime-hardening—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.0—
D43 · Malicious Dependenciestrivy—trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** .0artifacts/raw/trivy-fs.json

Run 01a1ea9e-1a79-71ea-a09d-c4e4602a9033 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

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.

⬇ Findings, MITRE CWE-tagged .sarif⬇ Health changelog .md