guardian/interactive-economic-dashboard-v3
Duplication Places in code with 6 or more lines that are exactly the same. |
Duplication Overall
- 59% duplication:
- 4,025 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
- 2,403 duplicated lines
- 121 duplicates
Duplication per Extension
Duplication per Component (primary)
Longest Duplicates
The list of 50 longest duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 233 | x 2 | atoms/ftse100/client/cssatoms/pmi/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/retail/client/cssatoms/transport/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/gdp/client/cssatoms/rics/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/cpi/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/pmi/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/retail/client/cssatoms/rics/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/gdp/client/cssatoms/transport/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/cpi/client/cssatoms/ftse100/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/ftse100/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/gdp/client/cssatoms/retail/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/rics/client/cssatoms/transport/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/cpi/client/cssatoms/pmi/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/cpi/client/cssatoms/retail/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/transport/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/ftse100/client/cssatoms/rics/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/gdp/client/cssatoms/pmi/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/retail/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/cpi/client/cssatoms/transport/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/pmi/client/cssatoms/rics/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/ftse100/client/cssatoms/gdp/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/ftse100/client/cssatoms/retail/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/pmi/client/cssatoms/transport/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/cpi/client/cssatoms/rics/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/gdp/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/pmi/client/cssatoms/retail/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/ftse100/client/cssatoms/transport/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/rics/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/cpi/client/cssatoms/gdp/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/retail/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/transport/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/rics/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/gdp/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/cpi/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/borrowing/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/ftse100/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 233 | x 2 | atoms/pmi/client/cssatoms/unemployment/client/css | 1:283 (100%)1:283 (100%) | view | |
| 15 | x 2 | shared/jsshared/js | 166:180 (4%)247:261 (4%) | view | |
| 15 | x 2 | atoms/borrowing/client/jsatoms/transport/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/cpi/client/jsatoms/pmi/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/gdp/client/jsatoms/rics/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/ftse100/client/jsatoms/retail/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/gdp/client/jsatoms/pmi/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/cpi/client/jsatoms/rics/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/retail/client/jsatoms/unemployment/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/pmi/client/jsatoms/rics/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/cpi/client/jsatoms/gdp/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/ftse100/client/jsatoms/unemployment/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/borrowing/client/jsatoms/gdp/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/rics/client/jsatoms/transport/client/js | 1:22 (100%)1:22 (100%) | view | |
| 15 | x 2 | atoms/borrowing/client/jsatoms/rics/client/js | 1:22 (100%)1:22 (100%) | view |
Most Frequent Duplicates
The list of 50 most frequently found duplicates.
| Size | # | Folders | Files | Lines | Code |
|---|---|---|---|---|---|
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 86:91 (2%)86:91 (2%)86:91 (2%)86:91 (2%)86:91 (2%)86:91 (2%)86:91 (2%)86:91 (2%)86:91 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 81:87 (2%)81:87 (2%)81:87 (2%)81:87 (2%)81:87 (2%)81:87 (2%)81:87 (2%)81:87 (2%)81:87 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 153:159 (2%)153:159 (2%)153:159 (2%)153:159 (2%)153:159 (2%)153:159 (2%)153:159 (2%)153:159 (2%)153:159 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 174:180 (2%)174:180 (2%)174:180 (2%)174:180 (2%)174:180 (2%)174:180 (2%)174:180 (2%)174:180 (2%)174:180 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 102:116 (2%)102:116 (2%)102:116 (2%)102:116 (2%)102:116 (2%)102:116 (2%)102:116 (2%)102:116 (2%)102:116 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 132:138 (2%)132:138 (2%)132:138 (2%)132:138 (2%)132:138 (2%)132:138 (2%)132:138 (2%)132:138 (2%)132:138 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 275:280 (2%)275:280 (2%)275:280 (2%)275:280 (2%)275:280 (2%)275:280 (2%)275:280 (2%)275:280 (2%)275:280 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 179:184 (2%)179:184 (2%)179:184 (2%)179:184 (2%)179:184 (2%)179:184 (2%)179:184 (2%)179:184 (2%)179:184 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 255:260 (2%)255:260 (2%)255:260 (2%)255:260 (2%)255:260 (2%)255:260 (2%)255:260 (2%)255:260 (2%)255:260 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 224:230 (2%)224:230 (2%)224:230 (2%)224:230 (2%)224:230 (2%)224:230 (2%)224:230 (2%)224:230 (2%)224:230 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 195:200 (2%)195:200 (2%)195:200 (2%)195:200 (2%)195:200 (2%)195:200 (2%)195:200 (2%)195:200 (2%)195:200 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 262:267 (2%)262:267 (2%)262:267 (2%)262:267 (2%)262:267 (2%)262:267 (2%)262:267 (2%)262:267 (2%)262:267 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 134:140 (2%)134:140 (2%)134:140 (2%)134:140 (2%)134:140 (2%)134:140 (2%)134:140 (2%)134:140 (2%)134:140 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 161:172 (2%)161:172 (2%)161:172 (2%)161:172 (2%)161:172 (2%)161:172 (2%)161:172 (2%)161:172 (2%)161:172 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 160:170 (2%)160:170 (2%)160:170 (2%)160:170 (2%)160:170 (2%)160:170 (2%)160:170 (2%)160:170 (2%)160:170 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 2:11 (2%)2:11 (2%)2:11 (2%)2:11 (2%)2:11 (2%)2:11 (2%)2:11 (2%)2:11 (2%)2:11 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 85:90 (2%)85:90 (2%)85:90 (2%)85:90 (2%)85:90 (2%)85:90 (2%)85:90 (2%)85:90 (2%)85:90 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 172:178 (2%)172:178 (2%)172:178 (2%)172:178 (2%)172:178 (2%)172:178 (2%)172:178 (2%)172:178 (2%)172:178 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 215:220 (2%)215:220 (2%)215:220 (2%)215:220 (2%)215:220 (2%)215:220 (2%)215:220 (2%)215:220 (2%)215:220 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 225:231 (2%)225:231 (2%)225:231 (2%)225:231 (2%)225:231 (2%)225:231 (2%)225:231 (2%)225:231 (2%)225:231 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 196:201 (2%)196:201 (2%)196:201 (2%)196:201 (2%)196:201 (2%)196:201 (2%)196:201 (2%)196:201 (2%)196:201 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 56:63 (2%)56:63 (2%)56:63 (2%)56:63 (2%)56:63 (2%)56:63 (2%)56:63 (2%)56:63 (2%)56:63 (2%) | view | |
| 6 | x 9 | atoms/borrowing/client/jsatoms/transport/client/jsatoms/pmi/client/jsatoms/cpi/client/jsatoms/gdp/client/jsatoms/rics/client/jsatoms/retail/client/jsatoms/ftse100/client/jsatoms/unemployment/client/js | 3:12 (40%)3:12 (40%)3:12 (40%)3:12 (40%)3:12 (40%)3:12 (40%)3:12 (40%)3:12 (40%)3:12 (40%) | view | |
| 6 | x 9 | atoms/borrowing/client/jsatoms/transport/client/jsatoms/pmi/client/jsatoms/cpi/client/jsatoms/gdp/client/jsatoms/rics/client/jsatoms/retail/client/jsatoms/ftse100/client/jsatoms/unemployment/client/js | 1:9 (40%)1:9 (40%)1:9 (40%)1:9 (40%)1:9 (40%)1:9 (40%)1:9 (40%)1:9 (40%)1:9 (40%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 120:127 (2%)120:127 (2%)120:127 (2%)120:127 (2%)120:127 (2%)120:127 (2%)120:127 (2%)120:127 (2%)120:127 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 147:153 (2%)147:153 (2%)147:153 (2%)147:153 (2%)147:153 (2%)147:153 (2%)147:153 (2%)147:153 (2%)147:153 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 218:223 (2%)218:223 (2%)218:223 (2%)218:223 (2%)218:223 (2%)218:223 (2%)218:223 (2%)218:223 (2%)218:223 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 64:73 (2%)64:73 (2%)64:73 (2%)64:73 (2%)64:73 (2%)64:73 (2%)64:73 (2%)64:73 (2%)64:73 (2%) | view | |
| 6 | x 9 | atoms/borrowing/client/jsatoms/transport/client/jsatoms/pmi/client/jsatoms/cpi/client/jsatoms/gdp/client/jsatoms/rics/client/jsatoms/retail/client/jsatoms/ftse100/client/jsatoms/unemployment/client/js | 10:17 (40%)10:17 (40%)10:17 (40%)10:17 (40%)10:17 (40%)10:17 (40%)10:17 (40%)10:17 (40%)10:17 (40%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 208:215 (2%)208:215 (2%)208:215 (2%)208:215 (2%)208:215 (2%)208:215 (2%)208:215 (2%)208:215 (2%)208:215 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 29:36 (2%)29:36 (2%)29:36 (2%)29:36 (2%)29:36 (2%)29:36 (2%)29:36 (2%)29:36 (2%)29:36 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 156:163 (2%)156:163 (2%)156:163 (2%)156:163 (2%)156:163 (2%)156:163 (2%)156:163 (2%)156:163 (2%)156:163 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 42:47 (2%)42:47 (2%)42:47 (2%)42:47 (2%)42:47 (2%)42:47 (2%)42:47 (2%)42:47 (2%)42:47 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 185:190 (2%)185:190 (2%)185:190 (2%)185:190 (2%)185:190 (2%)185:190 (2%)185:190 (2%)185:190 (2%)185:190 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 209:216 (2%)209:216 (2%)209:216 (2%)209:216 (2%)209:216 (2%)209:216 (2%)209:216 (2%)209:216 (2%)209:216 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 1:10 (2%)1:10 (2%)1:10 (2%)1:10 (2%)1:10 (2%)1:10 (2%)1:10 (2%)1:10 (2%)1:10 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 198:203 (2%)198:203 (2%)198:203 (2%)198:203 (2%)198:203 (2%)198:203 (2%)198:203 (2%)198:203 (2%)198:203 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 15:22 (2%)15:22 (2%)15:22 (2%)15:22 (2%)15:22 (2%)15:22 (2%)15:22 (2%)15:22 (2%)15:22 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 182:187 (2%)182:187 (2%)182:187 (2%)182:187 (2%)182:187 (2%)182:187 (2%)182:187 (2%)182:187 (2%)182:187 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 259:264 (2%)259:264 (2%)259:264 (2%)259:264 (2%)259:264 (2%)259:264 (2%)259:264 (2%)259:264 (2%)259:264 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 11:17 (2%)11:17 (2%)11:17 (2%)11:17 (2%)11:17 (2%)11:17 (2%)11:17 (2%)11:17 (2%)11:17 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 144:151 (2%)144:151 (2%)144:151 (2%)144:151 (2%)144:151 (2%)144:151 (2%)144:151 (2%)144:151 (2%)144:151 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 194:199 (2%)194:199 (2%)194:199 (2%)194:199 (2%)194:199 (2%)194:199 (2%)194:199 (2%)194:199 (2%)194:199 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 274:279 (2%)274:279 (2%)274:279 (2%)274:279 (2%)274:279 (2%)274:279 (2%)274:279 (2%)274:279 (2%)274:279 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 59:67 (2%)59:67 (2%)59:67 (2%)59:67 (2%)59:67 (2%)59:67 (2%)59:67 (2%)59:67 (2%)59:67 (2%) | view | |
| 6 | x 9 | atoms/borrowing/client/jsatoms/transport/client/jsatoms/pmi/client/jsatoms/cpi/client/jsatoms/gdp/client/jsatoms/rics/client/jsatoms/retail/client/jsatoms/ftse100/client/jsatoms/unemployment/client/js | 13:20 (40%)13:20 (40%)13:20 (40%)13:20 (40%)13:20 (40%)13:20 (40%)13:20 (40%)13:20 (40%)13:20 (40%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 229:234 (2%)229:234 (2%)229:234 (2%)229:234 (2%)229:234 (2%)229:234 (2%)229:234 (2%)229:234 (2%)229:234 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/rics/client/cssatoms/gdp/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 170:177 (2%)170:177 (2%)170:177 (2%)170:177 (2%)170:177 (2%)170:177 (2%)170:177 (2%)170:177 (2%)170:177 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 232:237 (2%)232:237 (2%)232:237 (2%)232:237 (2%)232:237 (2%)232:237 (2%)232:237 (2%)232:237 (2%)232:237 (2%) | view | |
| 6 | x 9 | atoms/retail/client/cssatoms/transport/client/cssatoms/gdp/client/cssatoms/rics/client/cssatoms/cpi/client/cssatoms/borrowing/client/cssatoms/ftse100/client/cssatoms/pmi/client/cssatoms/unemployment/client/css | 271:277 (2%)271:277 (2%)271:277 (2%)271:277 (2%)271:277 (2%)271:277 (2%)271:277 (2%)271:277 (2%)271:277 (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."