mapillary / mapillary_tools
Duplication

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

Intro
  • 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...
Duplication Overall
  • 24% duplication:
    • 5,868 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,423 duplicated lines
  • 29 duplicates
system24% (1,423 lines)
Duplication per Extension
scad72% (1,062 lines)
py8% (361 lines)
Duplication per Component (primary)
mounts/gophone58% (543 lines)
mounts/modules100% (519 lines)
mapillary_tools/geotag18% (146 lines)
mapillary_tools4% (138 lines)
mapillary_tools/commands12% (77 lines)
mounts/rigs0% (0 lines)
ROOT0% (0 lines)
pyinstaller/hooks0% (0 lines)
pyinstaller/runtime-hooks0% (0 lines)
pyinstaller0% (0 lines)
script0% (0 lines)

Duplication Between Components (50+ lines)

G mounts/gophone mounts/gophone mounts/modules mounts/modules mounts/gophone--mounts/modules 1038

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 29 longest duplicates.
See data for all 29 duplicates...
Size#FoldersFilesLinesCode
519 x 2 mounts/gophone
mounts/modules
2:593 (100%)
2:593 (100%)
view
57 x 2 mounts/gophone
mounts/modules
408:471 (10%)
336:400 (10%)
view
57 x 2 mounts/gophone
mounts/gophone
336:400 (10%)
408:471 (10%)
view
57 x 2 mounts/modules
mounts/modules
336:400 (10%)
408:471 (10%)
view
57 x 2 mounts/gophone
mounts/modules
336:400 (10%)
408:471 (10%)
view
25 x 2 mapillary_tools/commands
mapillary_tools/commands
14:39 (73%)
14:39 (73%)
view
17 x 2 mapillary_tools/geotag
mapillary_tools/geotag
309:326 (6%)
153:170 (13%)
view
16 x 2 mapillary_tools/commands
mapillary_tools/commands
24:40 (45%)
23:39 (47%)
view
16 x 2 mapillary_tools/commands
mapillary_tools/commands
24:40 (45%)
23:39 (47%)
view
14 x 2 mapillary_tools
mapillary_tools
71:84 (4%)
100:113 (4%)
view
11 x 2 mapillary_tools/commands
mapillary_tools/commands
11:21 (31%)
16:26 (32%)
view
11 x 2 mapillary_tools/commands
mapillary_tools/commands
11:21 (31%)
16:26 (32%)
view
11 x 2 mapillary_tools/geotag
mapillary_tools/geotag
98:108 (4%)
78:88 (9%)
view
10 x 2 mapillary_tools/geotag
mapillary_tools/geotag
103:112 (7%)
118:127 (7%)
view
9 x 2 mapillary_tools
mapillary_tools
293:302 (2%)
349:358 (2%)
view
8 x 2 mapillary_tools
mapillary_tools
122:129 (2%)
139:146 (2%)
view
8 x 2 mapillary_tools
mapillary_tools
47:56 (9%)
33:42 (3%)
view
8 x 2 mapillary_tools/geotag
mapillary_tools/geotag
18:25 (8%)
11:18 (21%)
view
7 x 2 mapillary_tools/geotag
mapillary_tools/geotag
21:27 (5%)
151:157 (5%)
view
7 x 2 mapillary_tools/geotag
mapillary_tools/geotag
27:33 (2%)
21:27 (5%)
view
7 x 2 mapillary_tools/geotag
mapillary_tools/geotag
160:166 (5%)
20:26 (18%)
view
6 x 2 mapillary_tools
mapillary_tools
86:91 (2%)
115:120 (2%)
view
6 x 2 mapillary_tools
mapillary_tools
517:522 (1%)
536:541 (1%)
view
6 x 2 mounts/gophone
mounts/gophone
306:311 (1%)
316:321 (1%)
view
6 x 2 mapillary_tools
mapillary_tools
327:332 (1%)
336:341 (1%)
view
6 x 2 mapillary_tools
mapillary_tools
88:93 (2%)
191:196 (2%)
view
6 x 2 mapillary_tools
mapillary_tools
64:69 (2%)
93:98 (2%)
view
6 x 2 mounts/gophone
mounts/gophone
329:334 (1%)
339:344 (1%)
view
6 x 2 mapillary_tools/geotag
mapillary_tools/geotag
75:80 (2%)
58:63 (4%)
view