Duplication Overall
  • 3% duplication:
    • 2,478 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 95 duplicated lines
  • 6 duplicates
system3% (95 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
scss7% (83 lines)
js1% (12 lines)
Duplication per Component (primary)
atoms4% (48 lines)
shared4% (47 lines)
ROOT0% (0 lines)
harness0% (0 lines)

Duplication Between Components (50+ lines)

flowchart TB
    n0["atoms"]
    n1["shared"]
    n0 ---|"71"| 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
atoms (3%)
  --> shared (3%)
71 1 file pair details...

Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
13 x 2 atoms/scatterplot/client/css
shared/css
59:72 (5%)
34:47 (6%)
view
9 x 2 atoms/scatterplot/client/css
shared/css
76:86 (3%)
47:57 (4%)
view
7 x 2 atoms/scatterplot/client/css
shared/css
39:51 (2%)
6:16 (3%)
view
7 x 2 atoms/scatterplot/client/css
shared/css
212:220 (2%)
228:236 (3%)
view
6 x 2 shared/css/guss-typography
shared/css/guss-typography
188:193 (5%)
200:205 (5%)
view
6 x 2 atoms/scatterplot/client/js
atoms/scatterplot/client/js
425:431 (1%)
460:466 (1%)
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...