facebookresearch / InterHand2.6M
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 22 files with 1,701 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (214 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (698 lines of code)
    • 16 very small files (789 lines of code)
0% | 0% | 12% | 41% | 46%
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
py0% | 0% | 12% | 41% | 46%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
data/InterHand2.6M0% | 0% | 100% | 0% | 0%
common/utils0% | 0% | 0% | 51% | 48%
data/RHD0% | 0% | 0% | 100% | 0%
data/STB0% | 0% | 0% | 100% | 0%
common/nets0% | 0% | 0% | 47% | 52%
common0% | 0% | 0% | 63% | 36%
main0% | 0% | 0% | 0% | 100%
tool/MANO_render0% | 0% | 0% | 0% | 100%
tool/MANO_world_to_camera0% | 0% | 0% | 0% | 100%
tool/camera_visualize0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
dataset.py
in data/InterHand2.6M
214 5
preprocessing.py
in common/utils
157 11
dataset.py
in data/RHD
156 5
dataset.py
in data/STB
153 5
layer.py
in common/nets
119 10
base.py
in common
113 15
render.py
in tool/MANO_render
99 1
vis.py
in common/utils
98 3
convert.py
in tool/MANO_world_to_camera
86 1
model.py
in main
79 5
resnet.py
in common/nets
63 4
train.py
in main
57 2
test.py
in main
52 2
config.py
in main
48 1
module.py
in common/nets
42 6
logger.py
in common
40 6
transforms.py
in common/utils
39 5
camera_visualize.py
in tool/camera_visualize
27 -
loss.py
in common/nets
26 6
timer.py
in common
24 3
dir.py
in common/utils
8 2
__init__.py
in common/utils
1 -
Files With Most Units (Top 20)
File# lines# units
base.py
in common
113 15
preprocessing.py
in common/utils
157 11
layer.py
in common/nets
119 10
logger.py
in common
40 6
loss.py
in common/nets
26 6
module.py
in common/nets
42 6
transforms.py
in common/utils
39 5
model.py
in main
79 5
dataset.py
in data/STB
153 5
dataset.py
in data/InterHand2.6M
214 5
dataset.py
in data/RHD
156 5
resnet.py
in common/nets
63 4
timer.py
in common
24 3
vis.py
in common/utils
98 3
dir.py
in common/utils
8 2
test.py
in main
52 2
train.py
in main
57 2
config.py
in main
48 1
render.py
in tool/MANO_render
99 1
convert.py
in tool/MANO_world_to_camera
86 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 73 long lines.

File# lines# units# long lines
dataset.py
in data/InterHand2.6M
214 5 20
dataset.py
in data/STB
153 5 12
dataset.py
in data/RHD
156 5 12
vis.py
in common/utils
98 3 5
preprocessing.py
in common/utils
157 11 5
render.py
in tool/MANO_render
99 1 5
module.py
in common/nets
42 6 4
model.py
in main
79 5 4
base.py
in common
113 15 3
convert.py
in tool/MANO_world_to_camera
86 1 3