← Leaderboard

Kaliiiiiiiiii-Vinyzu/patchright

View on GitHub ↗
Internal86

Unique within the repo — the other 14% repeats across its own files.

Public60

Unique across all public code — a further 26% is its own but appears in other public repos too.

Tidy, but not new — the code doesn't repeat itself, yet a large share already exists across other public repos. A strong candidate for pulling from (or publishing as) a shared package.

Worth consolidating — in the code

Real, actionable duplication in this repo's source, most concrete first.

Longest identical blocks

The longest runs of identical consecutive lines copied between two files (indentation ignored) — the most concrete copy-paste. Lift the block into a shared function or module.

LinesFile AFile BCross-repo
18 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts:280 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts:1218 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pageBindingPatch.ts:9 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts:124 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pageBindingPatch.ts:9 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/init-script-binding.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pageBindingPatch.ts:9 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/execution-context.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pageBindingPatch.ts:9 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/closed-shadow-root.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts:124 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/init-script-binding.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts:124 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/execution-context.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts:124 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/closed-shadow-root.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/closed-shadow-root.spec.ts:1 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/init-script-binding.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/closed-shadow-root.spec.ts:1 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/execution-context.spec.ts:1 same repo
15 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/execution-context.spec.ts:1 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/init-script-binding.spec.ts:1 same repo
14 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/browserContextPatch.ts:49 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts:48 same repo
9 Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/bug.yml:80 Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/regression.yml:80 same repo
7 Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.ts:175 Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.ts:200 same repo
6 Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/build_test_package_on_pr.yml:67 Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patchright_release.yml:400 same repo

Top duplication hotspots

SimilarityOverlapFile AFile BCross-repo
20% 486 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts same repo
16% 267 Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.ts Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.ts same repo
57% 191 Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/bug.yml Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/regression.yml same repo
4% 118 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crPagePatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts same repo
14% 116 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pageBindingPatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts same repo
36% 107 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/execution-context.spec.ts Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/init-script-binding.spec.ts same repo
24% 106 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/closed-shadow-root.spec.ts Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/execution-context.spec.ts same repo
24% 103 Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/closed-shadow-root.spec.ts Kaliiiiiiiiii-Vinyzu/patchright/utils/custom_tests/init-script-binding.spec.ts same repo
12% 99 Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/build_test_package_on_pr.yml Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patchright_release.yml same repo
11% 93 Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patchright_release.yml Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patchright_tests.yml same repo
4% 89 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crNetworkManagerPatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crPagePatch.ts same repo
6% 85 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crPagePatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts same repo
4% 84 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts same repo
4% 82 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crPagePatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts same repo
17% 78 Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/bug.yml Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/feature_request.yml same repo
18% 76 Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/feature_request.yml Kaliiiiiiiiii-Vinyzu/patchright/.github/ISSUE_TEMPLATE/regression.yml same repo
9% 72 Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patch_file_updater.yml Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patchright_release.yml same repo
20% 68 Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/build_test_package_on_pr.yml Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patchright_tests.yml same repo
5% 67 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts same repo
2% 67 Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crNetworkManagerPatch.ts Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts same repo

Duplicate declarations

The same function, variable, class, or type name declared in more than one file — a fast copy-paste signal. Consider extracting a shared definition.

FilesDeclarationWhere
3 type protocol Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crCoveragePatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crNetworkManagerPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts
3 type types Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crNetworkManagerPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts
2 fn buildSourceFile Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.ts
Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.ts
2 fn callbackBridge Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crExecutionContextPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts
2 type claim Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts
2 type CRSession Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts
2 type dispose Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts
2 fn fetchRawFile Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.ts
Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.ts
2 fn findNodesByKindAndSymbol Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.ts
Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.ts
2 fn node Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts
2 type pageBinding Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crBrowserPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crPagePatch.ts
2 fn parseArgs Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.ts
Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.ts
2 type ParsedArgs Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.ts
Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.ts
2 type ParsedSelector Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts
2 type progress Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts
2 type Promise Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crPagePatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.ts
2 type reject Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts
2 type resolve Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/pagePatch.ts
Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.ts

Largest files

Largest files

LOCFileStatus
1332Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/framesPatch.tsindexed
839Kaliiiiiiiiii-Vinyzu/patchright/utils/check_patch_impact.tsindexed
727Kaliiiiiiiiii-Vinyzu/patchright/utils/modify_tests.tsindexed
601Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crNetworkManagerPatch.tsindexed
541Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/crPagePatch.tsindexed
448Kaliiiiiiiiii-Vinyzu/patchright/.github/workflows/patchright_release.ymlindexed
439Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/frameSelectorsPatch.tsindexed
420Kaliiiiiiiiii-Vinyzu/patchright/driver_patches/utilityScriptSerializersPatch.tsindexed
397Kaliiiiiiiiii-Vinyzu/patchright/utils/extract_patched_symbols.tsindexed
287Kaliiiiiiiiii-Vinyzu/patchright/README.mdindexed