microsoft / singleshotpose
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
  • 88% duplication:
    • 9,069 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 8,010 duplicated lines
  • 4,041 duplicates
system88% (8,010 lines)
Duplication per Extension
py85% (6,303 lines)
cfg98% (1,707 lines)
Duplication per Component (primary)
py286% (2,153 lines)
ROOT84% (1,474 lines)
multi_obj_pose_estimation83% (1,395 lines)
py2/multi_obj_pose_estimation88% (1,281 lines)
multi_obj_pose_estimation/cfg99% (431 lines)
py2/multi_obj_pose_estimation/cfg100% (430 lines)
py2/cfg99% (427 lines)
cfg96% (419 lines)

Duplication Between Components (50+ lines)

G ROOT ROOT py2 py2 ROOT--py2 2568 multi_obj_pose_estimation multi_obj_pose_estimation ROOT--multi_obj_pose_estimation 2006 py2/multi_obj_pose_estimation py2/multi_obj_pose_estimation ROOT--py2/multi_obj_pose_estimation 1149 py2--py2/multi_obj_pose_estimation 2003 multi_obj_pose_estimation--py2 1868 multi_obj_pose_estimation--py2/multi_obj_pose_estimation 1708 multi_obj_pose_estimation/cfg multi_obj_pose_estimation/cfg py2/multi_obj_pose_estimation/cfg py2/multi_obj_pose_estimation/cfg multi_obj_pose_estimation/cfg--py2/multi_obj_pose_estimation/cfg 860 py2/cfg py2/cfg multi_obj_pose_estimation/cfg--py2/cfg 808 cfg cfg cfg--py2/cfg 832 cfg--multi_obj_pose_estimation/cfg 812 cfg--py2/multi_obj_pose_estimation/cfg 805 py2/cfg--py2/multi_obj_pose_estimation/cfg 812

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 4,041 duplicates...
Size#FoldersFilesLinesCode
215 x 2 multi_obj_pose_estimation/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-multi-pre.cfg
yolo-pose-multi-pre.cfg
1:261 (100%)
1:261 (100%)
view
212 x 2 cfg
py2/cfg
cfg
yolo-pose-pre.cfg
yolo-pose-pre.cfg
8:261 (98%)
3:256 (99%)
view
202 x 2 py2
py2/multi_obj_pose_estimation
darknet.py
darknet_multi.py
8:229 (56%)
8:229 (57%)
view
197 x 2 multi_obj_pose_estimation/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-multi.cfg
yolo-pose-multi.cfg
23:256 (90%)
26:261 (91%)
view
197 x 2 cfg
py2/cfg
cfg
yolo-pose.cfg
yolo-pose.cfg
31:265 (89%)
21:255 (92%)
view
191 x 2 py2/multi_obj_pose_estimation/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-multi-pre.cfg
yolo-pose-multi.cfg
24:252 (88%)
24:252 (88%)
view
191 x 2 multi_obj_pose_estimation/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-multi-pre.cfg
yolo-pose-multi.cfg
24:252 (88%)
24:252 (88%)
view
190 x 2 multi_obj_pose_estimation/cfg
multi_obj_pose_estimation/cfg
cfg
yolo-pose-multi-pre.cfg
yolo-pose-multi.cfg
26:252 (88%)
23:247 (87%)
view
190 x 2 multi_obj_pose_estimation/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-multi.cfg
yolo-pose-multi-pre.cfg
23:247 (87%)
26:252 (88%)
view
180 x 2 py2/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose.cfg
yolo-pose-multi.cfg
19:232 (84%)
24:237 (83%)
view
180 x 2 multi_obj_pose_estimation/cfg
py2/cfg
cfg
yolo-pose-multi-pre.cfg
yolo-pose.cfg
24:237 (83%)
19:232 (84%)
view
180 x 2 cfg
py2/cfg
cfg
yolo-pose-pre.cfg
yolo-pose.cfg
25:238 (83%)
19:232 (84%)
view
180 x 2 cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-pre.cfg
yolo-pose-multi.cfg
25:238 (83%)
24:237 (83%)
view
180 x 2 cfg
multi_obj_pose_estimation/cfg
cfg
yolo-pose-pre.cfg
yolo-pose-multi-pre.cfg
25:238 (83%)
24:237 (83%)
view
180 x 2 py2/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-pre.cfg
yolo-pose-multi-pre.cfg
20:233 (84%)
24:237 (83%)
view
180 x 2 multi_obj_pose_estimation/cfg
py2/cfg
cfg
yolo-pose-multi-pre.cfg
yolo-pose-pre.cfg
24:237 (83%)
20:233 (84%)
view
180 x 2 py2/cfg
py2/cfg
cfg
yolo-pose-pre.cfg
yolo-pose.cfg
20:233 (84%)
19:232 (84%)
view
180 x 2 py2/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose.cfg
yolo-pose-multi-pre.cfg
19:232 (84%)
24:237 (83%)
view
180 x 2 cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-pre.cfg
yolo-pose-multi-pre.cfg
25:238 (83%)
24:237 (83%)
view
180 x 2 py2/cfg
py2/multi_obj_pose_estimation/cfg
cfg
yolo-pose-pre.cfg
yolo-pose-multi.cfg
20:233 (84%)
24:237 (83%)
view
Duplicated Units
The list of top 20 duplicated units.
See data for all 42 unit duplicates...
Size#FoldersFilesLinesCode
47 x 4 ROOT
multi_obj_pose_estimation
py2
py2/multi_obj_pose_estimation
darknet.py
darknet_multi.py
darknet.py
darknet_multi.py
0:0 
0:0 
0:0 
0:0 
view
47 x 4 ROOT
multi_obj_pose_estimation
py2
py2/multi_obj_pose_estimation
darknet.py
darknet_multi.py
darknet.py
darknet_multi.py
0:0 
0:0 
0:0 
0:0 
view
45 x 4 ROOT
multi_obj_pose_estimation
py2
py2/multi_obj_pose_estimation
darknet.py
darknet_multi.py
darknet.py
darknet_multi.py
0:0 
0:0 
0:0 
0:0 
view
42 x 4 ROOT
multi_obj_pose_estimation
py2
py2/multi_obj_pose_estimation
darknet.py
darknet_multi.py
darknet.py
darknet_multi.py
0:0 
0:0 
0:0 
0:0 
view
37 x 2 ROOT
py2
MeshPly.py
MeshPly.py
0:0 
0:0 
view
33 x 3 multi_obj_pose_estimation
py2
ROOT
utils_multi.py
utils.py
utils.py
0:0 
0:0 
0:0 
view
30 x 2 multi_obj_pose_estimation
py2
utils_multi.py
utils.py
0:0 
0:0 
view
31 x 2 multi_obj_pose_estimation
py2/multi_obj_pose_estimation
image_multi.py
image_multi.py
0:0 
0:0 
view
29 x 2 ROOT
py2
cfg.py
cfg.py
0:0 
0:0 
view
28 x 2 multi_obj_pose_estimation
py2/multi_obj_pose_estimation
image_multi.py
image_multi.py
0:0 
0:0 
view
26 x 2 multi_obj_pose_estimation
ROOT
utils_multi.py
utils.py
0:0 
0:0 
view
24 x 2 multi_obj_pose_estimation
py2/multi_obj_pose_estimation
image_multi.py
image_multi.py
0:0 
0:0 
view
21 x 2 multi_obj_pose_estimation
py2/multi_obj_pose_estimation
image_multi.py
image_multi.py
0:0 
0:0 
view
18 x 2 ROOT
py2
image.py
image.py
0:0 
0:0 
view
16 x 3 multi_obj_pose_estimation
py2
ROOT
utils_multi.py
utils.py
utils.py
0:0 
0:0 
0:0 
view
15 x 2 ROOT
multi_obj_pose_estimation
darknet.py
darknet_multi.py
0:0 
0:0 
view
15 x 3 ROOT
multi_obj_pose_estimation
py2
image.py
image_multi.py
image.py
0:0 
0:0 
0:0 
view
15 x 2 py2
py2/multi_obj_pose_estimation
darknet.py
darknet_multi.py
0:0 
0:0 
view
14 x 3 multi_obj_pose_estimation
py2
py2/multi_obj_pose_estimation
darknet_multi.py
darknet.py
darknet_multi.py
0:0 
0:0 
0:0 
view
14 x 2 multi_obj_pose_estimation
py2
utils_multi.py
utils.py
0:0 
0:0 
view