Duplication Overall
- 42% duplication:
- 6,069 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
- 2,606 duplicated lines
- 377 duplicates
Duplication per Extension
Duplication per Component (primary)
Longest Duplicates
The list of 50 longest duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 513 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 16:731 (100%)16:731 (100%) | view | |
| 513 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 16:731 (100%)16:731 (100%) | view | |
| 513 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 16:731 (100%)16:731 (100%) | view | |
| 146 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 129:296 (61%)128:295 (61%) | view | |
| 85 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 16:122 (36%)13:119 (36%) | view | |
| 42 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 59:122 (17%)56:114 (16%) | view | |
| 42 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 56:114 (16%)56:119 (17%) | view | |
| 32 | x 2 | Evaluation/HumanEval/utilsEvaluation/MBPP/utils | 107:146 (26%)1:40 (100%) | view | |
| 31 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 7:49 (100%)7:49 (100%) | view | |
| 27 | x 2 | Evaluation/HumanEvalEvaluation/MBPP | 22:49 (21%)38:65 (16%) | view | |
| 24 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 218:245 (10%)203:227 (9%) | view | |
| 24 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 203:227 (9%)217:244 (10%) | view | |
| 23 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 33:55 (9%)32:54 (9%) | view | |
| 23 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 151:173 (9%)145:167 (9%) | view | |
| 23 | x 2 | Evaluation/HumanEvalEvaluation/MBPP | 129:158 (18%)170:199 (14%) | view | |
| 23 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 32:54 (9%)30:52 (9%) | view | |
| 23 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 145:167 (9%)150:172 (9%) | view | |
| 19 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 176:202 (8%)168:191 (7%) | view | |
| 19 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 168:191 (7%)175:201 (8%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval | 107:125 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval | 107:125 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval | 205:224 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 107:125 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 107:125 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 205:224 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/LeetCode/human_eval | 107:125 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/LeetCode/human_eval | 107:125 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/LeetCode/human_eval | 205:224 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 247:264 (7%)230:248 (7%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 107:125 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 107:125 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 205:224 (3%)107:125 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 205:224 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 281:300 (3%)107:125 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 281:300 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 27:49 (58%)27:49 (58%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 107:125 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 107:125 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 205:224 (3%)107:125 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 205:224 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 281:300 (3%)107:125 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 281:300 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 230:248 (7%)246:263 (7%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 107:125 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 107:125 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 205:224 (3%)107:125 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 205:224 (3%)281:300 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 281:300 (3%)107:125 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 281:300 (3%)205:224 (3%) | view | |
| 18 | x 2 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_eval | 27:49 (58%)27:49 (58%) | view |
Most Frequent Duplicates
The list of 50 most frequently found duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 6 | x 21 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_eval... | 111:116 (1%)111:116 (1%)111:116 (1%)209:214 (1%)247:252 (1%)285:290 (1%)332:337 (1%)364:369 (1%)410:415 (1%)209:214 (1%)... | view | |
| 6 | x 21 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_eval... | 114:119 (1%)114:119 (1%)114:119 (1%)212:217 (1%)250:255 (1%)288:293 (1%)335:340 (1%)367:372 (1%)413:418 (1%)212:217 (1%)... | view | |
| 6 | x 21 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_eval... | 110:115 (1%)110:115 (1%)110:115 (1%)208:213 (1%)246:251 (1%)284:289 (1%)331:336 (1%)363:368 (1%)409:414 (1%)208:213 (1%)... | view | |
| 6 | x 21 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_eval... | 109:114 (1%)109:114 (1%)109:114 (1%)207:212 (1%)245:250 (1%)283:288 (1%)330:335 (1%)362:367 (1%)408:413 (1%)207:212 (1%)... | view | |
| 6 | x 21 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_eval... | 112:117 (1%)112:117 (1%)112:117 (1%)210:215 (1%)248:253 (1%)286:291 (1%)333:338 (1%)365:370 (1%)411:416 (1%)210:215 (1%)... | view | |
| 6 | x 21 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_eval... | 113:118 (1%)113:118 (1%)113:118 (1%)211:216 (1%)249:254 (1%)287:292 (1%)334:339 (1%)366:371 (1%)412:417 (1%)211:216 (1%)... | view | |
| 6 | x 18 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval... | 116:122 (1%)116:122 (1%)116:122 (1%)214:219 (1%)252:257 (1%)290:295 (1%)337:342 (1%)415:420 (1%)214:219 (1%)252:257 (1%)... | view | |
| 6 | x 18 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval... | 117:123 (1%)117:123 (1%)117:123 (1%)215:220 (1%)253:258 (1%)291:296 (1%)338:343 (1%)416:421 (1%)215:220 (1%)253:258 (1%)... | view | |
| 6 | x 18 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval... | 115:120 (1%)115:120 (1%)115:120 (1%)213:218 (1%)251:256 (1%)289:294 (1%)336:341 (1%)414:419 (1%)213:218 (1%)251:256 (1%)... | view | |
| 6 | x 18 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval... | 108:113 (1%)108:113 (1%)108:113 (1%)206:211 (1%)244:249 (1%)282:287 (1%)329:334 (1%)407:412 (1%)206:211 (1%)244:249 (1%)... | view | |
| 6 | x 15 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_eval... | 107:112 (1%)107:112 (1%)107:112 (1%)205:210 (1%)243:248 (1%)281:286 (1%)328:333 (1%)205:210 (1%)243:248 (1%)281:286 (1%)... | view | |
| 6 | x 15 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_eval... | 168:173 (1%)168:173 (1%)168:173 (1%)228:233 (1%)266:271 (1%)304:309 (1%)382:387 (1%)228:233 (1%)266:271 (1%)304:309 (1%)... | view | |
| 6 | x 15 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_eval... | 169:175 (1%)169:175 (1%)169:175 (1%)229:235 (1%)267:273 (1%)305:311 (1%)383:388 (1%)229:235 (1%)267:273 (1%)305:311 (1%)... | view | |
| 6 | x 9 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 184:189 (1%)184:189 (1%)184:189 (1%)316:321 (1%)392:397 (1%)316:321 (1%)392:397 (1%)316:321 (1%)392:397 (1%) | view | |
| 6 | x 9 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 187:192 (1%)187:192 (1%)187:192 (1%)319:324 (1%)395:400 (1%)319:324 (1%)395:400 (1%)319:324 (1%)395:400 (1%) | view | |
| 6 | x 9 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 185:190 (1%)185:190 (1%)185:190 (1%)317:322 (1%)393:398 (1%)317:322 (1%)393:398 (1%)317:322 (1%)393:398 (1%) | view | |
| 6 | x 9 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 119:125 (1%)119:125 (1%)119:125 (1%)217:224 (1%)293:300 (1%)217:224 (1%)293:300 (1%)217:224 (1%)293:300 (1%) | view | |
| 6 | x 9 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 186:191 (1%)186:191 (1%)186:191 (1%)318:323 (1%)394:399 (1%)318:323 (1%)394:399 (1%)318:323 (1%)394:399 (1%) | view | |
| 6 | x 9 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/MBPP/human_eval | 118:124 (1%)118:124 (1%)118:124 (1%)216:223 (1%)292:299 (1%)216:223 (1%)292:299 (1%)216:223 (1%)292:299 (1%) | view | |
| 6 | x 6 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 188:193 (1%)188:193 (1%)188:193 (1%)320:325 (1%)320:325 (1%)320:325 (1%) | view | |
| 6 | x 6 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 322:328 (1%)322:328 (1%)322:328 (1%)354:360 (1%)354:360 (1%)354:360 (1%) | view | |
| 6 | x 6 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_eval | 86:91 (1%)86:91 (1%)86:91 (1%)131:136 (1%)131:136 (1%)131:136 (1%) | view | |
| 6 | x 6 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 315:320 (1%)315:320 (1%)315:320 (1%)347:352 (1%)347:352 (1%)347:352 (1%) | view | |
| 6 | x 6 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_eval | 85:90 (1%)85:90 (1%)85:90 (1%)130:135 (1%)130:135 (1%)130:135 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 47:52 (2%)46:51 (2%)44:49 (2%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 423:430 (1%)423:430 (1%)423:430 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 134:139 (2%)133:138 (2%)133:138 (2%) | view | |
| 6 | x 3 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_eval | 241:247 (1%)241:247 (1%)241:247 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 181:186 (1%)181:186 (1%)181:186 (1%) | view | |
| 6 | x 3 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_eval | 8:20 (19%)8:20 (19%)8:20 (19%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 34:39 (2%)33:38 (2%)31:36 (2%) | view | |
| 6 | x 3 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_eval | 346:351 (1%)346:351 (1%)346:351 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 38:43 (2%)37:42 (2%)35:40 (2%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 110:120 (2%)104:111 (2%)107:117 (2%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 156:161 (2%)150:155 (2%)155:160 (2%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 508:513 (1%)508:513 (1%)508:513 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 54:68 (1%)54:68 (1%)54:68 (1%) | view | |
| 6 | x 3 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_eval | 351:356 (1%)351:356 (1%)351:356 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 75:85 (1%)75:85 (1%)75:85 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 163:168 (2%)157:162 (2%)162:167 (2%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 677:688 (1%)677:688 (1%)677:688 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 599:606 (1%)599:606 (1%)599:606 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 206:214 (2%)195:200 (2%)205:213 (2%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 485:493 (1%)485:493 (1%)485:493 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 39:51 (1%)39:51 (1%)39:51 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 176:181 (1%)176:181 (1%)176:181 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 171:177 (1%)171:177 (1%)171:177 (1%) | view | |
| 6 | x 3 | Evaluation/LeetCode/human_evalEvaluation/MBPP/human_evalEvaluation/HumanEval/human_eval | 192:207 (1%)192:207 (1%)192:207 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 493:502 (1%)493:502 (1%)493:502 (1%) | view | |
| 6 | x 3 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_evalEvaluation/LeetCode/human_eval | 87:92 (1%)87:92 (1%)87:92 (1%) | view |
Duplicated Units
The list of top 11 duplicated units.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 469 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 36:547 36:547 36:547 | view | |
| 61 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 659:731 659:731 659:731 | view | |
| 23 | x 2 | Evaluation/HumanEvalEvaluation/MBPP | 22:46 38:62 | view | |
| 16 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 32:49 32:49 32:49 | view | |
| 10 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 645:656 645:656 645:656 | view | |
| 10 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 197:208 196:207 | view | |
| 13 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 15:29 15:29 | view | |
| 13 | x 2 | Evaluation/HumanEvalEvaluation/MBPP | 129:143 170:184 | view | |
| 12 | x 2 | Evaluation/HumanEval/human_evalEvaluation/MBPP/human_eval | 180:194 179:193 | view | |
| 7 | x 3 | Evaluation/HumanEval/human_evalEvaluation/LeetCode/human_evalEvaluation/MBPP/human_eval | 591:600 591:600 591:600 | view | |
| 6 | x 2 | Evaluation/HumanEval/utilsEvaluation/MBPP/utils | 130:138 24:32 | 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."