Duplication Overall
  • 2% duplication:
    • 7,497 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 211 duplicated lines
  • 24 duplicates
system2% (211 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
scala1% (114 lines)
yaml16% (97 lines)
Duplication per Component (primary)
membership-attribute-service2% (103 lines)
cloudformation16% (97 lines)
membership-common<1% (11 lines)
project0% (0 lines)
Longest Duplicates
The list of 24 longest duplicates.
See data for all 24 duplicates...
Size#FoldersFilesLinesCode
11 x 2 membership-attribute-ser...p/services/subscription
membership-common/src/ma.../memsub/subsv2/services
11:23 (100%)
23:35 (8%)
view
10 x 2 cloudformation
cloudformation
463:472 (1%)
492:501 (1%)
view
10 x 2 cloudformation
cloudformation
463:472 (1%)
521:530 (1%)
view
10 x 2 cloudformation
cloudformation
492:501 (1%)
521:530 (1%)
view
10 x 2 membership-attribute-service/app/components
membership-attribute-service/app/components
35:44 (21%)
53:62 (21%)
view
9 x 2 cloudformation
cloudformation
307:315 (1%)
390:398 (1%)
view
9 x 2 membership-attribute-service/app/components
membership-attribute-service/app/components
21:29 (19%)
46:54 (7%)
view
8 x 2 cloudformation
cloudformation
308:315 (1%)
465:472 (1%)
view
8 x 2 cloudformation
cloudformation
308:315 (1%)
494:501 (1%)
view
8 x 2 cloudformation
cloudformation
308:315 (1%)
523:530 (1%)
view
8 x 2 cloudformation
cloudformation
391:398 (1%)
465:472 (1%)
view
8 x 2 cloudformation
cloudformation
391:398 (1%)
494:501 (1%)
view
8 x 2 cloudformation
cloudformation
391:398 (1%)
523:530 (1%)
view
8 x 2 membership-attribute-ser...app/services/zuora/rest
membership-attribute-ser...app/services/zuora/rest
141:148 (6%)
644:651 (1%)
view
8 x 2 membership-attribute-service/app/components
membership-attribute-service/app/wiring
37:44 (17%)
79:86 (9%)
view
8 x 2 membership-attribute-service/app/components
membership-attribute-service/app/wiring
55:62 (17%)
79:86 (9%)
view
8 x 2 membership-attribute-service/app/models
membership-attribute-service/app/services
240:247 (3%)
114:121 (4%)
view
7 x 2 cloudformation
cloudformation
442:448 (1%)
454:460 (1%)
view
7 x 2 cloudformation
cloudformation
463:469 (1%)
572:578 (1%)
view
7 x 2 cloudformation
cloudformation
477:483 (1%)
506:512 (1%)
view
7 x 2 cloudformation
cloudformation
492:498 (1%)
572:578 (1%)
view
7 x 2 cloudformation
cloudformation
521:527 (1%)
572:578 (1%)
view
7 x 2 cloudformation
cloudformation
550:556 (1%)
562:568 (1%)
view
7 x 2 membership-attribute-ser...app/services/zuora/rest
membership-attribute-ser...app/services/zuora/rest
86:92 (6%)
629:635 (1%)
view
Most Frequent Duplicates
The list of 8 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 5 cloudformation
cloudformation
cloudformation
cloudformation
cloudformation
308:313 (1%)
391:396 (1%)
465:470 (1%)
494:499 (1%)
523:528 (1%)
view
6 x 5 cloudformation
cloudformation
cloudformation
cloudformation
cloudformation
309:314 (1%)
392:397 (1%)
466:471 (1%)
495:500 (1%)
524:529 (1%)
view
6 x 5 cloudformation
cloudformation
cloudformation
cloudformation
cloudformation
310:315 (1%)
393:398 (1%)
467:472 (1%)
496:501 (1%)
525:530 (1%)
view
6 x 4 cloudformation
cloudformation
cloudformation
cloudformation
464:469 (1%)
493:498 (1%)
522:527 (1%)
573:578 (1%)
view
6 x 4 cloudformation
cloudformation
cloudformation
cloudformation
463:468 (1%)
492:497 (1%)
521:526 (1%)
572:577 (1%)
view
6 x 3 membership-attribute-service/app/components
membership-attribute-service/app/wiring
membership-attribute-service/app/components
39:44 (12%)
81:86 (6%)
57:62 (12%)
view
6 x 3 membership-attribute-service/app/components
membership-attribute-service/app/wiring
membership-attribute-service/app/components
37:42 (12%)
79:84 (6%)
55:60 (12%)
view
6 x 3 membership-attribute-service/app/components
membership-attribute-service/app/wiring
membership-attribute-service/app/components
38:43 (12%)
80:85 (6%)
56:61 (12%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
10 x 2 membership-attribute-ser...p/services/subscription
membership-common/src/ma.../memsub/subsv2/services
13:25 
25:37 
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...