Duplication Overall
- 76% duplication:
- 1,738 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
- 1,323 duplicated lines
- 351 duplicates
Duplication per Extension
Duplication per Component (primary)
Duplication Between Components (50+ lines)
flowchart TB
n0["embeds"]
n1["template"]
n0 ---|"1323"| n1
classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
linkStyle 0 stroke:#DC143CFF,stroke-width:10px
Download:
Mermaid (.mmd)
(open online Mermaid editor)
2D force graph
|
3D force graph
Show more details on duplication between components...
From Component
--> To Component
Duplicated
Lines
File Pairs
Details
embeds (50%)
  --> template (1323%)
1323
26 file pairs
details...
flowchart TB
n0["embeds"]
n1["template"]
n0 ---|"1323"| n1
classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
linkStyle 0 stroke:#DC143CFF,stroke-width:10px
Show more details on duplication between components...
| From Component --> To Component |
Duplicated Lines |
File Pairs | Details |
|---|---|---|---|
| embeds (50%)   --> template (1323%) |
1323 | 26 file pairs | details... |
Longest Duplicates
The list of 50 longest duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 49 | x 2 | embeds/brids-1template | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/love2embeds/oct-2018-insomnia-advice | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/christmas-special-2embeds/science-and-religion | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-twoembeds/teststs | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/farming-twoembeds/slavery1 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-oneembeds/figured-out | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/christmas-specialembeds/gloab-trade-03-08-18 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/biodiversity-lossembeds/brids-2 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Turd1embeds/fight-biodiversity-loss | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/farming-oneembeds/oct-2018-the-business-of-sleep | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/protectionism-03-08-18embeds/what-next-for-the-internet | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Turd2embeds/love1 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/is-the-internet-good-for-usembeds/religious-literacy | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/testststemplate | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/christmas-special-2embeds/love2 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/oct-2018-insomnia-adviceembeds/science-and-religion | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-twoembeds/brids-1 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-oneembeds/farming-two | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/figured-outembeds/slavery1 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/biodiversity-lossembeds/gloab-trade-03-08-18 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/brids-2embeds/christmas-special | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Turd1embeds/oct-2018-the-business-of-sleep | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/farming-oneembeds/fight-biodiversity-loss | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/love1embeds/protectionism-03-08-18 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Turd2embeds/what-next-for-the-internet | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/religious-literacyembeds/slavery2 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/brids-1embeds/teststs | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/love2embeds/science-and-religion | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/christmas-special-2embeds/oct-2018-insomnia-advice | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-twotemplate | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/farming-twoembeds/figured-out | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-oneembeds/slavery1 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/brids-2embeds/gloab-trade-03-08-18 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/biodiversity-lossembeds/christmas-special | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Turd1embeds/farming-one | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/fight-biodiversity-lossembeds/oct-2018-the-business-of-sleep | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Turd2embeds/protectionism-03-08-18 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/is-the-internet-good-for-usembeds/slavery2 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/love1embeds/what-next-for-the-internet | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/farming-twoembeds/gloab-trade-03-08-18 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-twoembeds/love2 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/oct-2018-insomnia-adviceembeds/teststs | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/brids-1embeds/christmas-special-2 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/science-and-religiontemplate | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/christmas-specialembeds/slavery1 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Space-oneembeds/biodiversity-loss | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/brids-2embeds/figured-out | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/Turd1embeds/protectionism-03-08-18 | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/fight-biodiversity-lossembeds/what-next-for-the-internet | 2:58 (100%)2:58 (100%) | view | |
| 49 | x 2 | embeds/love1embeds/oct-2018-the-business-of-sleep | 2:58 (100%)2:58 (100%) | view |
Most Frequent Duplicates
The list of 44 most frequently found duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 38:44 (12%)38:44 (12%)38:44 (12%)38:44 (12%)38:44 (12%)38:44 (12%)38:44 (12%)38:44 (12%)38:44 (12%)38:44 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 41:48 (12%)41:48 (12%)41:48 (12%)41:48 (12%)41:48 (12%)41:48 (12%)41:48 (12%)41:48 (12%)41:48 (12%)41:48 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 27:33 (12%)27:33 (12%)27:33 (12%)27:33 (12%)27:33 (12%)27:33 (12%)27:33 (12%)27:33 (12%)27:33 (12%)27:33 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 30:36 (12%)30:36 (12%)30:36 (12%)30:36 (12%)30:36 (12%)30:36 (12%)30:36 (12%)30:36 (12%)30:36 (12%)30:36 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 37:43 (12%)37:43 (12%)37:43 (12%)37:43 (12%)37:43 (12%)37:43 (12%)37:43 (12%)37:43 (12%)37:43 (12%)37:43 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/farming-twoembeds/slavery1embeds/brids-1template... | 7:15 (12%)7:15 (12%)7:15 (12%)7:15 (12%)7:15 (12%)7:15 (12%)7:15 (12%)7:15 (12%)7:15 (12%)7:15 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 24:29 (12%)24:29 (12%)24:29 (12%)24:29 (12%)24:29 (12%)24:29 (12%)24:29 (12%)24:29 (12%)24:29 (12%)24:29 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 18:24 (12%)18:24 (12%)18:24 (12%)18:24 (12%)18:24 (12%)18:24 (12%)18:24 (12%)18:24 (12%)18:24 (12%)18:24 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 43:49 (12%)43:49 (12%)43:49 (12%)43:49 (12%)43:49 (12%)43:49 (12%)43:49 (12%)43:49 (12%)43:49 (12%)43:49 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/farming-twoembeds/slavery1embeds/brids-1template... | 2:7 (12%)2:7 (12%)2:7 (12%)2:7 (12%)2:7 (12%)2:7 (12%)2:7 (12%)2:7 (12%)2:7 (12%)2:7 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/farming-twoembeds/slavery1embeds/brids-1template... | 3:8 (12%)3:8 (12%)3:8 (12%)3:8 (12%)3:8 (12%)3:8 (12%)3:8 (12%)3:8 (12%)3:8 (12%)3:8 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/farming-twoembeds/slavery1embeds/brids-1template... | 6:12 (12%)6:12 (12%)6:12 (12%)6:12 (12%)6:12 (12%)6:12 (12%)6:12 (12%)6:12 (12%)6:12 (12%)6:12 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 45:51 (12%)45:51 (12%)45:51 (12%)45:51 (12%)45:51 (12%)45:51 (12%)45:51 (12%)45:51 (12%)45:51 (12%)45:51 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 50:56 (12%)50:56 (12%)50:56 (12%)50:56 (12%)50:56 (12%)50:56 (12%)50:56 (12%)50:56 (12%)50:56 (12%)50:56 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 46:53 (12%)46:53 (12%)46:53 (12%)46:53 (12%)46:53 (12%)46:53 (12%)46:53 (12%)46:53 (12%)46:53 (12%)46:53 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 12:19 (12%)12:19 (12%)12:19 (12%)12:19 (12%)12:19 (12%)12:19 (12%)12:19 (12%)12:19 (12%)12:19 (12%)12:19 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/farming-twoembeds/slavery1embeds/brids-1template... | 4:9 (12%)4:9 (12%)4:9 (12%)4:9 (12%)4:9 (12%)4:9 (12%)4:9 (12%)4:9 (12%)4:9 (12%)4:9 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 20:26 (12%)20:26 (12%)20:26 (12%)20:26 (12%)20:26 (12%)20:26 (12%)20:26 (12%)20:26 (12%)20:26 (12%)20:26 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 48:54 (12%)48:54 (12%)48:54 (12%)48:54 (12%)48:54 (12%)48:54 (12%)48:54 (12%)48:54 (12%)48:54 (12%)48:54 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 28:34 (12%)28:34 (12%)28:34 (12%)28:34 (12%)28:34 (12%)28:34 (12%)28:34 (12%)28:34 (12%)28:34 (12%)28:34 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 21:27 (12%)21:27 (12%)21:27 (12%)21:27 (12%)21:27 (12%)21:27 (12%)21:27 (12%)21:27 (12%)21:27 (12%)21:27 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 9:17 (12%)9:17 (12%)9:17 (12%)9:17 (12%)9:17 (12%)9:17 (12%)9:17 (12%)9:17 (12%)9:17 (12%)9:17 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 35:40 (12%)35:40 (12%)35:40 (12%)35:40 (12%)35:40 (12%)35:40 (12%)35:40 (12%)35:40 (12%)35:40 (12%)35:40 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 17:23 (12%)17:23 (12%)17:23 (12%)17:23 (12%)17:23 (12%)17:23 (12%)17:23 (12%)17:23 (12%)17:23 (12%)17:23 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 29:35 (12%)29:35 (12%)29:35 (12%)29:35 (12%)29:35 (12%)29:35 (12%)29:35 (12%)29:35 (12%)29:35 (12%)29:35 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 16:21 (12%)16:21 (12%)16:21 (12%)16:21 (12%)16:21 (12%)16:21 (12%)16:21 (12%)16:21 (12%)16:21 (12%)16:21 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 31:37 (12%)31:37 (12%)31:37 (12%)31:37 (12%)31:37 (12%)31:37 (12%)31:37 (12%)31:37 (12%)31:37 (12%)31:37 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 33:38 (12%)33:38 (12%)33:38 (12%)33:38 (12%)33:38 (12%)33:38 (12%)33:38 (12%)33:38 (12%)33:38 (12%)33:38 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 53:58 (12%)53:58 (12%)53:58 (12%)53:58 (12%)53:58 (12%)53:58 (12%)53:58 (12%)53:58 (12%)53:58 (12%)53:58 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 26:31 (12%)26:31 (12%)26:31 (12%)26:31 (12%)26:31 (12%)26:31 (12%)26:31 (12%)26:31 (12%)26:31 (12%)26:31 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 51:57 (12%)51:57 (12%)51:57 (12%)51:57 (12%)51:57 (12%)51:57 (12%)51:57 (12%)51:57 (12%)51:57 (12%)51:57 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 15:20 (12%)15:20 (12%)15:20 (12%)15:20 (12%)15:20 (12%)15:20 (12%)15:20 (12%)15:20 (12%)15:20 (12%)15:20 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 10:18 (12%)10:18 (12%)10:18 (12%)10:18 (12%)10:18 (12%)10:18 (12%)10:18 (12%)10:18 (12%)10:18 (12%)10:18 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 39:45 (12%)39:45 (12%)39:45 (12%)39:45 (12%)39:45 (12%)39:45 (12%)39:45 (12%)39:45 (12%)39:45 (12%)39:45 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 23:28 (12%)23:28 (12%)23:28 (12%)23:28 (12%)23:28 (12%)23:28 (12%)23:28 (12%)23:28 (12%)23:28 (12%)23:28 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/farming-twoembeds/slavery1embeds/brids-1template... | 8:16 (12%)8:16 (12%)8:16 (12%)8:16 (12%)8:16 (12%)8:16 (12%)8:16 (12%)8:16 (12%)8:16 (12%)8:16 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 25:30 (12%)25:30 (12%)25:30 (12%)25:30 (12%)25:30 (12%)25:30 (12%)25:30 (12%)25:30 (12%)25:30 (12%)25:30 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 19:25 (12%)19:25 (12%)19:25 (12%)19:25 (12%)19:25 (12%)19:25 (12%)19:25 (12%)19:25 (12%)19:25 (12%)19:25 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 34:39 (12%)34:39 (12%)34:39 (12%)34:39 (12%)34:39 (12%)34:39 (12%)34:39 (12%)34:39 (12%)34:39 (12%)34:39 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 49:55 (12%)49:55 (12%)49:55 (12%)49:55 (12%)49:55 (12%)49:55 (12%)49:55 (12%)49:55 (12%)49:55 (12%)49:55 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 44:50 (12%)44:50 (12%)44:50 (12%)44:50 (12%)44:50 (12%)44:50 (12%)44:50 (12%)44:50 (12%)44:50 (12%)44:50 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/farming-twoembeds/slavery1embeds/brids-1template... | 5:10 (12%)5:10 (12%)5:10 (12%)5:10 (12%)5:10 (12%)5:10 (12%)5:10 (12%)5:10 (12%)5:10 (12%)5:10 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 40:46 (12%)40:46 (12%)40:46 (12%)40:46 (12%)40:46 (12%)40:46 (12%)40:46 (12%)40:46 (12%)40:46 (12%)40:46 (12%)... | view | |
| 6 | x 27 | embeds/love2embeds/oct-2018-insomnia-adviceembeds/christmas-special-2embeds/science-and-religionembeds/Space-twoembeds/teststsembeds/brids-1templateembeds/farming-twoembeds/slavery1... | 36:41 (12%)36:41 (12%)36:41 (12%)36:41 (12%)36:41 (12%)36:41 (12%)36:41 (12%)36:41 (12%)36:41 (12%)36:41 (12%)... | 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...
- To learn more about duplications and techniques for eliminating duplication, Sokrates recommends the following resources:
- Avoid Repetition, MartinFlower.com (IEEE Software article)
- Refactoring duplicated code, sourcemaking.com
- Beck Design Rules, MartinFowler.com
- DRY (Don't Repeat Yourself) Principle, Wikipedia
- The Cut-and-Paste Programming Software Development Anti-Pattern, sourcemaking.com
- Code Smells / Duplicated Code, Jeff Atwood, codinghorror.com:
- "Duplicated code is the bane of software development. Stamp out duplication whenever possible. You should always be on the lookout for more subtle cases of near-duplication, too. Don't Repeat Yourself!"
- Reducing Coupling, MartinFlower.com (IEEE Software article):
- "There are several ways to describe coupling, but it boils down to this: If changing one module in a program requires changing another module, then coupling exists. ... Duplication always implies coupling, because changing one piece of duplicate code implies changing the other."