facebookresearch / frankmocap
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 41 files with 7,696 lines of code.
    • 1 very long files (2,549 lines of code)
    • 2 long files (1,412 lines of code)
    • 5 medium size files (1,171 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,690 lines of code)
    • 21 very small files (874 lines of code)
33% | 18% | 15% | 21% | 11%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py33% | 18% | 15% | 22% | 10%
fs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
renderer53% | 29% | 0% | 9% | 6%
mocap_utils0% | 0% | 48% | 39% | 11%
bodymocap/utils0% | 0% | 68% | 31% | 0%
handmocap0% | 0% | 61% | 38% | 0%
integration0% | 0% | 100% | 0% | 0%
handmocap/hand_modules0% | 0% | 0% | 73% | 26%
bodymocap/models0% | 0% | 0% | 62% | 37%
bodymocap0% | 0% | 0% | 44% | 55%
renderer/shaders0% | 0% | 0% | 0% | 100%
Longest Files (Top 41)
File# lines# units
glViewer.py
in renderer
2549 110
viewer2D.py
in renderer
856 27
glRenderer.py
in renderer
556 35
geometry_utils_torch.py
in mocap_utils
254 21
demo_utils.py
in mocap_utils
245 11
imutils.py
in bodymocap/utils
236 17
hand_bbox_detector.py
in handmocap
225 12
copy_and_paste.py
in integration
211 4
h3dw_model.py
in handmocap/hand_modules
178 10
visualizer.py
in renderer
172 6
geometry_utils.py
in mocap_utils
160 12
od_renderer.py
in renderer
159 9
resnet.py
in handmocap/hand_modules
150 13
hand_mocap_api.py
in handmocap
141 4
p3d_renderer.py
in renderer
136 3
general_utils.py
in mocap_utils
128 17
hmr.py
in bodymocap/models
127 6
body_mocap_api.py
in bodymocap
116 3
coordconv.py
in mocap_utils
115 8
geometry.py
in bodymocap/utils
108 11
body_bbox_detector.py
in bodymocap
90 4
smpl.py
in bodymocap/models
74 4
denseposeRenderer.py
in renderer
73 4
screen_free_visualizer.py
in renderer
73 3
render_utils.py
in renderer
61 2
base_options.py
in handmocap/hand_modules
61 3
image_utils.py
in renderer
60 6
h3dw_networks.py
in handmocap/hand_modules
58 6
constants.py
in bodymocap
56 -
meshRenderer.py
in renderer
55 3
compare_results.py
in mocap_utils
47 2
framework.py
in renderer/shaders
46 3
timer.py
in mocap_utils
29 4
extract_frame.py
in mocap_utils
22 2
compose_image.py
in mocap_utils
21 1
fs
colorgeo140.fs
in renderer/shaders
14 -
fs
geo140.fs
in renderer/shaders
12 -
fs
normal140.fs
in renderer/shaders
11 -
fs
simple140.fs
in renderer/shaders
8 -
__init__.py
in bodymocap/models
2 -
__init__.py
in handmocap/hand_modules
1 -
Files With Most Units (Top 20)
File# lines# units
glViewer.py
in renderer
2549 110
glRenderer.py
in renderer
556 35
viewer2D.py
in renderer
856 27
geometry_utils_torch.py
in mocap_utils
254 21
general_utils.py
in mocap_utils
128 17
imutils.py
in bodymocap/utils
236 17
resnet.py
in handmocap/hand_modules
150 13
geometry_utils.py
in mocap_utils
160 12
hand_bbox_detector.py
in handmocap
225 12
demo_utils.py
in mocap_utils
245 11
geometry.py
in bodymocap/utils
108 11
h3dw_model.py
in handmocap/hand_modules
178 10
od_renderer.py
in renderer
159 9
coordconv.py
in mocap_utils
115 8
image_utils.py
in renderer
60 6
visualizer.py
in renderer
172 6
hmr.py
in bodymocap/models
127 6
h3dw_networks.py
in handmocap/hand_modules
58 6
denseposeRenderer.py
in renderer
73 4
copy_and_paste.py
in integration
211 4
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 104 long lines.

File# lines# units# long lines
glViewer.py
in renderer
2549 110 29
viewer2D.py
in renderer
856 27 28
base_options.py
in handmocap/hand_modules
61 3 24
visualizer.py
in renderer
172 6 8
glRenderer.py
in renderer
556 35 4
geometry.py
in bodymocap/utils
108 11 2
imutils.py
in bodymocap/utils
236 17 2
denseposeRenderer.py
in renderer
73 4 1
fs
colorgeo140.fs
in renderer/shaders
14 - 1
fs
geo140.fs
in renderer/shaders
12 - 1
demo_utils.py
in mocap_utils
245 11 1
body_mocap_api.py
in bodymocap
116 3 1
body_bbox_detector.py
in bodymocap
90 4 1
hand_mocap_api.py
in handmocap
141 4 1