apache / usergrid
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system34% (49,534 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
css99% (20,312 lines)
java11% (10,082 lines)
php88% (6,683 lines)
js49% (4,492 lines)
py42% (2,592 lines)
html41% (1,950 lines)
yaml79% (1,857 lines)
jsp96% (459 lines)
t63% (292 lines)
erb34% (190 lines)
rb5% (168 lines)
groovy26% (147 lines)
m3% (102 lines)
xml12% (86 lines)
pm22% (84 lines)
g14% (38 lines)
Duplication per Component (primary)
content99% (12,960 lines)
stack15% (11,977 lines)
portal56% (9,300 lines)
sdks50% (7,315 lines)
website96% (4,494 lines)
utils37% (1,910 lines)
chop11% (1,227 lines)
deployment29% (337 lines)
ugc2% (14 lines)
release0% (0 lines)

Duplication Between Components (50+ lines)

G content content portal portal content--portal 16293 website website content--website 9180 deployment deployment stack stack deployment--stack 153

Download: SVG DOT (open online Graphviz editor)

Open 2D force graph... Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 18,704 duplicates...
Size#FoldersFilesLinesCode
4504 x 2 content/v101-portal-demo/js/libs/bootstrap/css
portal/js/libs/bootstrap/css
10:5469 (100%)
10:5469 (100%)
view
1441 x 2 content/css
website/content/css
11:1559 (100%)
11:1559 (100%)
view
1349 x 2 content/css
website/content/css
1:1553 (100%)
1:1553 (100%)
view
1343 x 2 content/v101-portal-demo/js/libs
portal/js/libs
22:2568 (100%)
22:2568 (100%)
view
1079 x 2 content/v101-portal-demo/js/libs/bootstrap/css
portal/js/libs/bootstrap/css
11:1345 (100%)
11:1345 (100%)
view
981 x 2 content/v101-portal-demo/js/libs/bootstrap/css
portal/js/libs/bootstrap/css
10:1245 (100%)
10:1245 (100%)
view
405 x 2 content/css
website/content/css
1:405 (100%)
1:405 (100%)
view
372 x 2 content/js
website/content/js
37:708 (100%)
37:708 (100%)
view
333 x 2 stack/core/src/main/java/org/apache/usergrid/utils
stack/corepersistence/qu...persistence/index/utils
38:763 (100%)
38:763 (100%)
view
332 x 2 content/css
website/content/css
11:354 (100%)
11:354 (100%)
view
225 x 2 portal/scripts
portal
1:263 (100%)
1:263 (100%)
view
168 x 2 content/community
website/content/community
238:492 (39%)
2:256 (100%)
view
154 x 2 content/community
website/layouts
24:190 (36%)
21:187 (78%)
view
138 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.0
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
17:156 (13%)
17:156 (13%)
view
137 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.0
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
607:744 (13%)
607:744 (13%)
view
131 x 2 stack/core/src/main/java/org/apache/usergrid/utils
stack/corepersistence/qu...persistence/index/utils
37:268 (68%)
37:268 (70%)
view
113 x 2 utils/usergrid-util-python/index_test
utils/usergrid-util-python/index_test
365:483 (29%)
368:486 (28%)
view
111 x 2 stack/corepersistence/co...tion/serialization/impl
stack/corepersistence/co...tion/serialization/impl
182:438 (46%)
168:427 (48%)
view
110 x 2 stack/core/src/main/java/org/apache/usergrid/utils
stack/corepersistence/qu...persistence/index/utils
31:228 (100%)
32:229 (100%)
view
99 x 2 content/v101-portal-demo
portal
20:129 (100%)
20:129 (100%)
view
87 x 2 utils/usergrid-util-python/index_test
utils/usergrid-util-python/index_test
237:357 (22%)
241:360 (22%)
view
84 x 2 content/v101-portal-demo
portal
19:154 (100%)
19:154 (100%)
view
78 x 2 content/v101-portal-demo
content/v101-portal-demo
19:148 (98%)
19:148 (98%)
view
75 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
122:196 (20%)
122:196 (20%)
view
75 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
46:120 (20%)
46:120 (20%)
view
75 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
198:272 (20%)
198:272 (20%)
view
71 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
24:95 (15%)
101:171 (15%)
view
71 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
24:94 (19%)
100:170 (19%)
view
71 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
24:94 (19%)
100:170 (19%)
view
71 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.0
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
867:937 (6%)
867:937 (6%)
view
70 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
25:94 (19%)
101:170 (19%)
view
68 x 2 stack/scripts
stack/scripts
340:417 (18%)
426:503 (14%)
view
65 x 2 stack/core/src/main/java/org/apache/usergrid/mq
stack/core/src/main/java...he/usergrid/persistence
172:308 (43%)
163:299 (46%)
view
65 x 2 stack/core/src/main/java/org/apache/usergrid/utils
stack/corepersistence/co...serialization/impl/util
448:526 (28%)
290:368 (38%)
view
65 x 2 chop/api/src/main/java/o...pache/usergrid/chop/api
chop/api/src/main/java/o...pache/usergrid/chop/api
297:407 (31%)
178:288 (46%)
view
64 x 2 stack/core/src/main/java/org/apache/usergrid/utils
stack/corepersistence/co...serialization/impl/util
33:181 (28%)
35:183 (38%)
view
63 x 2 content
website/layouts
166:254 (40%)
1:89 (100%)
view
63 x 2 content/community
content/releases
499:587 (14%)
132:220 (45%)
view
63 x 2 content/releases
website/layouts
132:220 (45%)
1:89 (100%)
view
63 x 2 content
content/releases
166:254 (40%)
132:220 (45%)
view
63 x 2 content/community
website/layouts
499:587 (14%)
1:89 (100%)
view
63 x 2 content/community
content
499:587 (14%)
166:254 (40%)
view
60 x 2 content/css
website/content/css
1277:1336 (4%)
1469:1528 (4%)
view
60 x 2 content/css
content/css
1277:1336 (4%)
1469:1528 (4%)
view
60 x 2 website/content/css
website/content/css
1277:1336 (4%)
1469:1528 (4%)
view
60 x 2 content/css
website/content/css
1469:1528 (4%)
1277:1336 (4%)
view
59 x 2 utils/usergrid-util-python/index_test
utils/usergrid-util-python/index_test
101:183 (34%)
241:322 (15%)
view
59 x 2 utils/usergrid-util-python/index_test
utils/usergrid-util-python/index_test
101:183 (34%)
237:319 (15%)
view
58 x 2 utils/usergrid-util-python/index_test
utils/usergrid-util-python/index_test
130:212 (14%)
128:210 (14%)
view
58 x 2 sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
sdks/other/php5/apache-u...rid/src/Manifests/1.0.1
199:256 (13%)
198:255 (15%)
view
Duplicated Units
The list of top 50 duplicated units.
See data for all 197 unit duplicates...
Size#FoldersFilesLinesCode
102 x 2 utils/usergrid-util-python/index_test
utils/usergrid-util-python/index_test
0:0 
0:0 
view
99 x 2 website/content/js
content/js
186:321 
186:321 
view
71 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1292:1370 
1292:1370 
view
61 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1211:1282 
1211:1282 
view
60 x 2 stack/corepersistence/co...serialization/impl/util
stack/core/src/main/java/org/apache/usergrid/utils
297:369 
455:527 
view
53 x 2 portal/js/libs
content/v101-portal-demo/js/libs
2309:2367 
2309:2367 
view
52 x 2 portal/js/libs
content/v101-portal-demo/js/libs
696:759 
696:759 
view
52 x 2 portal/js/libs
content/v101-portal-demo/js/libs
761:824 
761:824 
view
51 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1911:1969 
1911:1969 
view
47 x 2 chop/plugin/src/main/jav...he/usergrid/chop/plugin
chop/plugin/src/main/jav...he/usergrid/chop/plugin
46:104 
66:124 
view
46 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1689:1746 
1689:1746 
view
234 x 2 website/content/js
content/js
332:708 
332:708 
view
41 x 2 stack/corepersistence/co...tion/serialization/impl
stack/corepersistence/co...tion/serialization/impl
173:259 
187:273 
view
40 x 2 stack/tools/src/main/jav...g/apache/usergrid/tools
stack/tools/src/main/jav...g/apache/usergrid/tools
209:262 
527:580 
view
40 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1759:1806 
1759:1806 
view
39 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
711:754 
711:754 
view
39 x 2 portal/js/libs
content/v101-portal-demo/js/libs
160:206 
160:206 
view
39 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1423:1469 
1423:1469 
view
91 x 2 website/content/js
content/js
37:181 
37:181 
view
35 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
652:689 
652:689 
view
35 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1506:1550 
1506:1550 
view
30 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
617:649 
617:649 
view
94 x 2 website/content/js
content/js
192:321 
192:321 
view
29 x 2 portal/js/libs
content/v101-portal-demo/js/libs
2483:2515 
2483:2515 
view
28 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1016:1045 
1016:1045 
view
27 x 2 stack/corepersistence/co...tion/serialization/impl
stack/corepersistence/co...tion/serialization/impl
278:344 
292:355 
view
27 x 2 portal/js/libs
content/v101-portal-demo/js/libs
287:336 
287:336 
view
27 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1382:1410 
1382:1410 
view
26 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
323:352 
299:328 
view
26 x 2 portal/js/libs
content/v101-portal-demo/js/libs
643:670 
643:670 
view
25 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
315:344 
321:350 
view
25 x 2 portal
portal/scripts
4:35 
4:35 
view
25 x 2 portal/js/libs
content/v101-portal-demo/js/libs
2540:2566 
2540:2566 
view
24 x 2 portal
portal/scripts
206:233 
206:233 
view
24 x 2 portal
portal/scripts
235:260 
235:260 
view
24 x 2 portal/js/libs
content/v101-portal-demo/js/libs
981:1006 
981:1006 
view
23 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
147:171 
147:171 
view
23 x 2 portal/js/libs
content/v101-portal-demo/js/libs
248:274 
248:274 
view
22 x 2 website/content/js
content/js
4:28 
4:28 
view
22 x 2 portal/js/libs
content/v101-portal-demo/js/libs
916:941 
916:941 
view
22 x 2 portal/js/libs
content/v101-portal-demo/js/libs
944:967 
944:967 
view
22 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1603:1632 
1603:1632 
view
21 x 2 portal/js/libs
content/v101-portal-demo/js/libs
853:875 
853:875 
view
21 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1979:2007 
1979:2007 
view
20 x 2 stack/corepersistence/co...tion/serialization/impl
stack/corepersistence/co...tion/serialization/impl
347:381 
358:391 
view
20 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
189:210 
188:209 
view
132 x 2 portal/js/libs
content/v101-portal-demo/js/libs
77:229 
77:229 
view
20 x 2 portal/js/libs
content/v101-portal-demo/js/libs
511:534 
511:534 
view
20 x 2 portal/js/libs
content/v101-portal-demo/js/libs
1818:1849 
1818:1849 
view
19 x 2 stack/corepersistence/qu...persistence/index/utils
stack/core/src/main/java/org/apache/usergrid/utils
482:502 
482:502 
view