Duplication Overall
- 28% duplication:
- 4,270 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
- 1,228 duplicated lines
- 167 duplicates
Duplication per Extension
Duplication per Component (primary)
Longest Duplicates
The list of 50 longest duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 54 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case2 | 10:97 (60%)7:94 (61%) | view | |
| 39 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 128:180 (14%)169:221 (13%) | view | |
| 26 | x 2 | Coding Challenges/LeaderboardCoding Challenges/Space-Battle/game-server/library | 3:52 (100%)3:52 (100%) | view | |
| 22 | x 2 | Coding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-server | 318:339 (6%)349:370 (6%) | view | |
| 22 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 183:205 (8%)224:246 (7%) | view | |
| 21 | x 2 | Coding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-server | 318:338 (6%)380:400 (6%) | view | |
| 21 | x 2 | Coding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-server | 349:369 (6%)380:400 (6%) | view | |
| 20 | x 2 | Coding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 4:30 (100%)4:30 (100%) | view | |
| 20 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 248:273 (7%)241:266 (7%) | view | |
| 20 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/library | 4:30 (100%)4:30 (100%) | view | |
| 20 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case2 | 4:30 (100%)4:30 (100%) | view | |
| 20 | x 2 | Coding Challenges/Challe...tigation For Adam/Case3Coding Challenges/Space-Battle/game-server/library | 4:30 (100%)4:30 (100%) | view | |
| 20 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case3 | 4:30 (100%)4:30 (100%) | view | |
| 20 | x 2 | Coding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Space-Battle/game-server/library | 4:30 (100%)4:30 (100%) | view | |
| 19 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case3 | 84:110 (21%)123:149 (15%) | view | |
| 17 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case2 | 99:125 (19%)100:127 (19%) | view | |
| 17 | x 2 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/Rich | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...cles On Images/template | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe.../solutions/markrichards | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...cles On Images/template | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe.../solutions/markrichards | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...cles On Images/template | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...cles On Images/template | 1:21 (100%)1:21 (100%) | view | |
| 17 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/Rich | 1:21 (100%)1:21 (100%) | view | |
| 16 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 212:243 (3%)268:299 (3%) | view | |
| 16 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 212:243 (3%)329:360 (3%) | view | |
| 16 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 268:299 (3%)329:360 (3%) | view | |
| 15 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 298:317 (5%)305:324 (5%) | view | |
| 15 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 340:356 (5%)354:370 (5%) | view | |
| 15 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case2 | 127:141 (16%)129:143 (17%) | view | |
| 15 | x 2 | Coding Challenges/Challe...ergy Points/game-serverCoding Challenges/Space-Battle/game-server | 354:370 (5%)822:836 (3%) | view | |
| 15 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Space-Battle/game-server | 340:356 (5%)822:836 (3%) | view | |
| 14 | x 2 | Coding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 130:143 (15%)167:180 (11%) | view | |
| 14 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case3 | 128:141 (15%)167:180 (11%) | view | |
| 13 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 212:239 (2%)696:723 (2%) | view | |
| 13 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 268:295 (2%)696:723 (2%) | view | |
| 13 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 329:356 (2%)696:723 (2%) | view | |
| 12 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 123:146 (2%)169:192 (2%) | view | |
| 12 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 123:146 (2%)263:286 (2%) | view | |
| 12 | x 2 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 169:192 (2%)263:286 (2%) | view | |
| 12 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 87:102 (4%)98:113 (4%) | view | |
| 12 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 1:14 (70%)1:14 (70%) | view | |
| 12 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 1:14 (70%)1:14 (70%) | view | |
| 12 | x 2 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichards | 1:14 (70%)1:14 (70%) | view | |
| 12 | x 2 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/Francis | 1:14 (70%)1:14 (70%) | view | |
| 12 | x 2 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe.../solutions/markrichards | 1:14 (70%)1:14 (70%) | view |
Most Frequent Duplicates
The list of 50 most frequently found duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 6 | x 8 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 140:146 (1%)186:192 (1%)224:230 (1%)280:286 (1%)341:347 (1%)407:413 (1%)510:516 (1%)708:714 (1%) | view | |
| 6 | x 8 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 5:11 (35%)5:11 (35%)5:11 (35%)5:11 (35%)5:11 (35%)5:11 (35%)5:11 (35%)5:11 (35%) | view | |
| 6 | x 8 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 2:7 (35%)2:7 (35%)2:7 (35%)2:7 (35%)2:7 (35%)2:7 (35%)2:7 (35%)2:7 (35%) | view | |
| 6 | x 8 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 128:142 (1%)174:188 (1%)212:226 (1%)268:282 (1%)329:343 (1%)395:409 (1%)498:512 (1%)696:710 (1%) | view | |
| 6 | x 8 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 138:145 (1%)184:191 (1%)222:229 (1%)278:285 (1%)339:346 (1%)405:412 (1%)508:515 (1%)706:713 (1%) | view | |
| 6 | x 8 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 4:10 (35%)4:10 (35%)4:10 (35%)4:10 (35%)4:10 (35%)4:10 (35%)4:10 (35%)4:10 (35%) | view | |
| 6 | x 8 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 1:6 (35%)1:6 (35%)1:6 (35%)1:6 (35%)1:6 (35%)1:6 (35%)1:6 (35%)1:6 (35%) | view | |
| 6 | x 8 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 133:144 (1%)179:190 (1%)217:228 (1%)273:284 (1%)334:345 (1%)400:411 (1%)503:514 (1%)701:712 (1%) | view | |
| 6 | x 8 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 7:14 (35%)7:14 (35%)7:14 (35%)7:14 (35%)7:14 (35%)7:14 (35%)7:14 (35%)7:14 (35%) | view | |
| 6 | x 8 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 3:9 (35%)3:9 (35%)3:9 (35%)3:9 (35%)3:9 (35%)3:9 (35%)3:9 (35%)3:9 (35%) | view | |
| 6 | x 8 | Coding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/template | 6:12 (35%)6:12 (35%)6:12 (35%)6:12 (35%)6:12 (35%)6:12 (35%)6:12 (35%)6:12 (35%) | view | |
| 6 | x 6 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...ergy Points/game-serverCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...tigation For Adam/Case3 | 13:20 (30%)13:20 (30%)98:105 (2%)13:20 (30%)87:94 (2%)13:20 (30%) | view | |
| 6 | x 6 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...ergy Points/game-serverCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...tigation For Adam/Case3 | 16:21 (30%)16:21 (30%)101:106 (2%)16:21 (30%)90:95 (2%)16:21 (30%) | view | |
| 6 | x 5 | Coding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-server | 289:294 (1%)323:328 (1%)354:359 (1%)385:390 (1%)409:414 (1%) | view | |
| 6 | x 5 | Coding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-server | 286:291 (1%)320:325 (1%)351:356 (1%)382:387 (1%)406:411 (1%) | view | |
| 6 | x 5 | Coding Challenges/Challe...s submissions/regis/rpnCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe.../regis/prisoner-dilemmaCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe...ons/regis/movie-seating | 32:37 (16%)41:46 (13%)41:46 (13%)36:41 (15%)36:41 (15%) | view | |
| 6 | x 5 | Coding Challenges/Challe...s submissions/regis/rpnCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe.../regis/prisoner-dilemmaCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe...ons/regis/movie-seating | 42:47 (16%)51:56 (13%)51:56 (13%)46:51 (15%)46:51 (15%) | view | |
| 6 | x 5 | Coding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-server | 287:292 (1%)321:326 (1%)352:357 (1%)383:388 (1%)407:412 (1%) | view | |
| 6 | x 5 | Coding Challenges/Challe...s submissions/regis/rpnCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe.../regis/prisoner-dilemmaCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe...ons/regis/movie-seating | 5:11 (16%)5:11 (13%)5:11 (13%)5:11 (15%)5:11 (15%) | view | |
| 6 | x 5 | Coding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-serverCoding Challenges/Challe...ers Dilemma/game-server | 288:293 (1%)322:327 (1%)353:358 (1%)384:389 (1%)408:413 (1%) | view | |
| 6 | x 5 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3Coding Challenges/Space-Battle/game-server/library | 21:28 (30%)21:28 (30%)21:28 (30%)21:28 (30%)134:141 (4%) | view | |
| 6 | x 5 | Coding Challenges/Challe...s submissions/regis/rpnCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe.../regis/prisoner-dilemmaCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe...ons/regis/movie-seating | 43:48 (16%)52:57 (13%)52:57 (13%)47:52 (15%)47:52 (15%) | view | |
| 6 | x 5 | Coding Challenges/Challe...s submissions/regis/rpnCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe.../regis/prisoner-dilemmaCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe...ons/regis/movie-seating | 4:10 (16%)4:10 (13%)4:10 (13%)4:10 (15%)4:10 (15%) | view | |
| 6 | x 5 | Coding Challenges/Challe...s submissions/regis/rpnCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe.../regis/prisoner-dilemmaCoding Challenges/Challe...users-submissions/regisCoding Challenges/Challe...ons/regis/movie-seating | 31:36 (16%)40:45 (13%)40:45 (13%)35:40 (15%)35:40 (15%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 17:24 (30%)17:24 (30%)17:24 (30%)17:24 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 11:18 (35%)11:18 (35%)11:18 (35%)11:18 (35%) | view | |
| 6 | x 4 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 10:17 (35%)10:17 (35%)10:17 (35%)10:17 (35%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 19:26 (30%)19:26 (30%)19:26 (30%)19:26 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 9:16 (30%)9:16 (30%)9:16 (30%)9:16 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server | 12:29 (6%)12:29 (4%)15:32 (6%)15:32 (1%) | view | |
| 6 | x 4 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 229:239 (1%)285:295 (1%)346:356 (1%)713:723 (1%) | view | |
| 6 | x 4 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 225:235 (1%)281:291 (1%)342:352 (1%)709:719 (1%) | view | |
| 6 | x 4 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 228:238 (1%)284:294 (1%)345:355 (1%)712:722 (1%) | view | |
| 6 | x 4 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe.../solutions/markrichards | 9:15 (35%)9:15 (35%)9:15 (35%)9:15 (35%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 12:19 (30%)12:19 (30%)12:19 (30%)12:19 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 9:15 (35%)9:15 (35%)9:15 (35%)9:15 (35%) | view | |
| 6 | x 4 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe.../solutions/markrichards | 12:20 (35%)12:20 (35%)12:20 (35%)12:20 (35%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 24:30 (30%)24:30 (30%)24:30 (30%)24:30 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...n Images/solutions/Rich | 1:7 (85%)1:7 (85%)1:7 (85%)1:7 (85%) | view | |
| 6 | x 4 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichardsCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...n Images/solutions/Rich | 2:8 (85%)2:8 (85%)2:8 (85%)2:8 (85%) | view | |
| 6 | x 4 | Coding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe.../solutions/markrichards | 14:21 (35%)14:21 (35%)14:21 (35%)14:21 (35%) | view | |
| 6 | x 4 | Coding Challenges/Challe...mages/solutions/FrancisCoding Challenges/Challe...n Images/solutions/RichCoding Challenges/Challe...cles On Images/templateCoding Challenges/Challe.../solutions/markrichards | 14:21 (35%)14:21 (35%)14:21 (35%)14:21 (35%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 10:17 (30%)10:17 (30%)10:17 (30%)10:17 (30%) | view | |
| 6 | x 4 | Coding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-serverCoding Challenges/Space-Battle/game-server | 226:237 (1%)282:293 (1%)343:354 (1%)710:721 (1%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 8:13 (30%)8:13 (30%)8:13 (30%)8:13 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 18:25 (30%)18:25 (30%)18:25 (30%)18:25 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server | 7:27 (6%)7:27 (4%)10:30 (6%)10:30 (1%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 7:12 (30%)7:12 (30%)7:12 (30%)7:12 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 11:18 (30%)11:18 (30%)11:18 (30%)11:18 (30%) | view | |
| 6 | x 4 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Challe...tigation For Adam/Case2Coding Challenges/Challe...tigation For Adam/Case3 | 4:11 (30%)4:11 (30%)4:11 (30%)4:11 (30%) | view |
Duplicated Units
The list of top 5 duplicated units.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 16 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case2 | 71:88 68:85 | view | |
| 15 | x 2 | Coding Challenges/Challe...tigation For Adam/Case1Coding Challenges/Challe...tigation For Adam/Case2 | 45:61 42:58 | view | |
| 13 | x 2 | Coding Challenges/Space-Battle/game-server/libraryCoding Challenges/Leaderboard | 36:50 36:50 | view | |
| 9 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 142:152 183:193 | view | |
| 7 | x 2 | Coding Challenges/Challe...ng Salesman/game-serverCoding Challenges/Challe...ergy Points/game-server | 131:139 172:180 | 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."