Duplication Overall
- 15% duplication:
- 15,683 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
- 2,372 duplicated lines
- 120 duplicates
Duplication per Extension
Duplication per Component (primary)
Longest Duplicates
The list of 50 longest duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 213 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 14:263 (96%)14:263 (96%) | view | |
| 124 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 326:507 (32%)341:522 (37%) | view | |
| 108 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 129:252 (48%)128:251 (49%) | view | |
| 108 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 129:252 (48%)128:251 (49%) | view | |
| 74 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 31:115 (74%)31:115 (74%) | view | |
| 49 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 1:56 (100%)1:56 (100%) | view | |
| 43 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 140:191 (27%)158:209 (24%) | view | |
| 42 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 87:133 (27%)109:155 (24%) | view | |
| 35 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 268:312 (9%)297:341 (10%) | view | |
| 34 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 206:264 (8%)242:297 (10%) | view | |
| 30 | x 2 | pytheas-core/src/main/java/com/netflix/explorerspytheas-core/src/main/java/com/netflix/explorers | 137:182 (29%)121:166 (32%) | view | |
| 25 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 164:202 (6%)190:228 (7%) | view | |
| 21 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 23:52 (13%)20:49 (12%) | view | |
| 20 | x 2 | pytheas-core/src/main/java/com/netflix/explorerspytheas-core/src/main/java/com/netflix/explorers | 42:64 (19%)36:58 (21%) | view | |
| 20 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 86:109 (9%)99:124 (9%) | view | |
| 20 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 86:109 (9%)99:124 (9%) | view | |
| 18 | x 2 | pytheas-core/src/main/resources/js/bootstrap/csspytheas-core/src/main/resources/js/bootstrap/css | 294:311 (2%)530:547 (2%) | view | |
| 17 | x 2 | pytheas-core/src/main/re.../jquery/breadcrumbs/csspytheas-core/src/main/re.../jquery/breadcrumbs/css | 4:24 (8%)4:24 (17%) | view | |
| 16 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 348:366 (4%)153:171 (10%) | view | |
| 16 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 348:366 (4%)171:189 (9%) | view | |
| 16 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 37:53 (4%)189:209 (9%) | view | |
| 16 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 333:351 (4%)171:189 (9%) | view | |
| 16 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 37:53 (4%)171:191 (10%) | view | |
| 16 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 333:351 (4%)153:171 (10%) | view | |
| 15 | x 2 | pytheas-core/src/main/java/com/netflix/explorerspytheas-core/src/main/java/com/netflix/explorers | 108:133 (14%)92:117 (16%) | view | |
| 14 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 1:16 (14%)1:16 (14%) | view | |
| 14 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 316:332 (3%)137:151 (9%) | view | |
| 13 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 36:52 (17%)58:73 (17%) | view | |
| 12 | x 2 | pytheas-core/src/main/resources/js/bootstrap/csspytheas-core/src/main/resources/js/bootstrap/css | 204:215 (1%)440:451 (1%) | view | |
| 12 | x 2 | pytheas-api/src/main/jav...netflix/explorers/modelpytheas-core/src/main/java/com/netflix/explorers | 78:95 (22%)77:94 (20%) | view | |
| 12 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 34:46 (3%)97:109 (6%) | view | |
| 11 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 53:66 (2%)127:140 (3%) | view | |
| 11 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 162:173 (5%)108:119 (8%) | view | |
| 11 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 320:332 (2%)158:169 (6%) | view | |
| 10 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 39:51 (4%)58:70 (4%) | view | |
| 10 | x 2 | pytheas-core/src/main/resources/js/d3pytheas-core/src/main/resources/js/d3 | 419:428 (1%)438:447 (1%) | view | |
| 10 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 18:29 (10%)18:29 (10%) | view | |
| 10 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 145:155 (4%)91:101 (7%) | view | |
| 10 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 5:16 (21%)6:17 (41%) | view | |
| 9 | x 2 | pytheas-core/src/main/resources/js/bootstrap/csspytheas-core/src/main/resources/js/bootstrap/css | 314:322 (1%)550:558 (1%) | view | |
| 9 | x 2 | pytheas-core/src/main/resources/js/bootstrap/csspytheas-core/src/main/resources/js/bootstrap/css | 369:377 (1%)605:613 (1%) | view | |
| 9 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 52:75 (5%)55:78 (5%) | view | |
| 9 | x 2 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 204:218 (5%)228:242 (5%) | view | |
| 9 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 22:31 (32%)30:39 (26%) | view | |
| 8 | x 2 | pytheas-core/src/main/resources/js/bootstrap/csspytheas-core/src/main/resources/js/bootstrap/css | 34:41 (1%)184:191 (1%) | view | |
| 8 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 24:31 (3%)17:24 (6%) | view | |
| 8 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 1:8 (25%)7:16 (16%) | view | |
| 8 | x 2 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 1:9 (28%)1:9 (23%) | view | |
| 8 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 27:36 (3%)24:33 (10%) | view | |
| 8 | x 2 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 27:36 (3%)24:33 (10%) | view |
Most Frequent Duplicates
The list of 50 most frequently found duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 6 | x 9 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 163:168 (2%)162:167 (2%)163:168 (2%)226:231 (2%)235:240 (2%)227:232 (2%)236:241 (2%)227:232 (2%)236:241 (2%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 47:55 (2%)47:55 (2%)68:75 (2%)68:75 (2%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 46:51 (2%)46:51 (2%)67:72 (2%)67:72 (2%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 350:356 (1%)173:179 (3%)155:161 (3%)335:341 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 68:74 (1%)142:148 (1%)81:91 (3%)77:87 (3%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 355:361 (1%)178:184 (3%)160:166 (3%)340:346 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 349:355 (1%)172:178 (3%)154:160 (3%)334:340 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 341:347 (1%)163:169 (3%)145:151 (3%)326:332 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 359:365 (1%)182:188 (3%)164:170 (3%)344:350 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 348:353 (1%)171:176 (3%)153:158 (3%)333:338 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 356:362 (1%)179:185 (3%)161:167 (3%)341:347 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 360:366 (1%)183:189 (3%)165:171 (3%)345:351 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 353:360 (1%)176:183 (3%)158:165 (3%)338:345 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 352:359 (1%)175:182 (3%)157:164 (3%)337:344 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 357:364 (1%)180:187 (3%)162:169 (3%)342:349 (1%) | view | |
| 6 | x 4 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 351:357 (1%)174:180 (3%)156:162 (3%)336:342 (1%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 157:164 (2%)156:163 (2%)157:164 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 41:48 (11%)14:20 (12%)14:20 (12%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 170:175 (2%)169:174 (2%)170:175 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 241:246 (2%)240:245 (2%)241:246 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 197:205 (2%)196:204 (2%)197:205 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 30:36 (2%)27:33 (8%)30:36 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/csspytheas-core/src/main/re...s/jquery/datatables/css | 144:150 (3%)162:168 (3%)325:331 (1%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 226:231 (2%)225:230 (2%)226:231 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 172:177 (2%)171:176 (2%)172:177 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 237:242 (2%)236:241 (2%)237:242 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 228:233 (2%)227:232 (2%)228:233 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 139:144 (2%)138:143 (2%)139:144 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 162:167 (2%)161:166 (2%)162:167 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 220:227 (2%)219:226 (2%)220:227 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 140:146 (2%)139:145 (2%)140:146 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 142:149 (2%)141:148 (2%)142:149 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 233:238 (2%)232:237 (2%)233:238 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 173:178 (2%)172:177 (2%)173:178 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 190:195 (2%)189:194 (2%)190:195 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 212:217 (2%)211:216 (2%)212:217 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 232:237 (2%)231:236 (2%)232:237 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 171:176 (2%)170:175 (2%)171:176 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 129:136 (2%)128:135 (2%)129:136 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 167:172 (2%)166:171 (2%)167:172 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 229:234 (2%)228:233 (2%)229:234 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/bootstrappytheas-core/src/main/resources/layout/main | 51:56 (11%)23:28 (12%)23:28 (12%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 198:206 (2%)197:205 (2%)198:206 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 87:92 (2%)102:107 (2%)87:92 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 221:228 (2%)220:227 (2%)221:228 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 98:105 (2%)113:120 (2%)98:105 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 97:103 (2%)112:118 (2%)97:103 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 235:240 (2%)234:239 (2%)235:240 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 182:188 (2%)181:187 (2%)182:188 (2%) | view | |
| 6 | x 3 | pytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themespytheas-core/src/main/re...es/js/Highcharts/themes | 181:187 (2%)180:186 (2%)181:187 (2%) | 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."