Duplication Overall
  • 7% duplication:
    • 1,021 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 72 duplicated lines
  • 5 duplicates
system7% (72 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
yaml16% (72 lines)
Duplication per Component (primary)
formstack-consents10% (32 lines)
payment-failure6% (32 lines)
eventbrite-consents3% (8 lines)

Duplication Between Components (50+ lines)

flowchart TB
    n0["formstack-consents"]
    n1["payment-failure"]
    n0 ---|"64"| 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
formstack-consents (10%)
  --> payment-failure (6%)
64 1 file pair details...

Longest Duplicates
The list of 5 longest duplicates.
See data for all 5 duplicates...
Size#FoldersFilesLinesCode
16 x 2 formstack-consents
payment-failure
22:39 (15%)
32:48 (9%)
view
9 x 2 formstack-consents
payment-failure
11:19 (8%)
14:22 (5%)
view
8 x 2 eventbrite-consents
formstack-consents
48:55 (7%)
32:39 (7%)
view
8 x 2 eventbrite-consents
payment-failure
48:55 (7%)
41:48 (4%)
view
7 x 2 formstack-consents
payment-failure
4:10 (6%)
4:10 (3%)
view
Most Frequent Duplicates
The list of 3 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 formstack-consents
payment-failure
eventbrite-consents
32:37 (5%)
41:46 (3%)
48:53 (5%)
view
6 x 3 formstack-consents
payment-failure
eventbrite-consents
33:38 (5%)
42:47 (3%)
49:54 (5%)
view
6 x 3 formstack-consents
payment-failure
eventbrite-consents
34:39 (5%)
43:48 (3%)
50:55 (5%)
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...