Duplication Overall
  • 6% duplication:
    • 1,293 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 86 duplicated lines
  • 3 duplicates
system6% (86 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ts52% (56 lines)
svelte2% (16 lines)
jsx29% (7 lines)
tsx8% (7 lines)
Duplication per Component (primary)
astro20% (35 lines)
svelte-kit22% (28 lines)
elder-js2% (16 lines)
next-js3% (7 lines)
gu-rendering0% (0 lines)
ROOT0% (0 lines)

Duplication Between Components (50+ lines)

flowchart TB
    n0["astro"]
    n1["svelte-kit"]
    n0 ---|"56"| n1
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#DC143CFF,stroke-width:10px



2D force graph | 3D force graph

Show more details on duplication between components...
From Component
 --> To Component
Duplicated
Lines
File Pairs Details
astro (16%)
  --> svelte-kit (22%)
56 1 file pair details...

Longest Duplicates
The list of 3 longest duplicates.
See data for all 3 duplicates...
Size#FoldersFilesLinesCode
28 x 2 astro/src/styles
svelte-kit/src/styles
6:43 (100%)
6:43 (100%)
view
8 x 2 elder-js/src/routes/hooks
elder-js/src/routes/simple
7:16 (33%)
3:12 (36%)
view
7 x 2 astro/src/components
next-js/components
5:12 (58%)
5:12 (63%)
view
About This Analysis
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...