facebookresearch / eft
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 111 files with 22,063 lines of code.
    • 3 very long files (4,363 lines of code)
    • 6 long files (4,621 lines of code)
    • 21 medium size files (6,892 lines of codeclsfd_ftr_w_mp_ins)
    • 29 small files (4,030 lines of code)
    • 52 very small files (2,157 lines of code)
19% | 20% | 31% | 18% | 9%
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
py19% | 20% | 31% | 18% | 9%
fs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
renderer56% | 35% | 0% | 4% | 4%
eft/datasets52% | 26% | 20% | 0% | <1%
eft/train45% | 0% | 50% | 0% | 3%
bodymocap/train0% | 70% | 23% | 0% | 6%
eft/db_processing0% | 20% | 27% | 41% | 10%
bodymocap/models0% | 80% | 0% | 12% | 6%
eft/apps0% | 0% | 89% | 7% | 3%
bodymocap/apps0% | 0% | 70% | 19% | 9%
bodymocap/utils0% | 0% | 32% | 35% | 31%
eft/utils0% | 0% | 34% | 41% | 24%
eft/smplify0% | 0% | 48% | 31% | 19%
eft/cores0% | 0% | 0% | 65% | 34%
bodymocap/core0% | 0% | 0% | 79% | 20%
eft/models0% | 0% | 0% | 73% | 26%
renderer/shaders0% | 0% | 0% | 0% | 100%
bodymocap0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
glViewer.py
in renderer
2255 103
mixed_dataset.py
in eft/datasets
1097 3
eftFitter.py
in eft/train
1011 11
eftFitter.py
in bodymocap/train
991 10
AMT_sample_gen.py
in eft/db_processing
876 5
viewer2D.py
in renderer
849 26
body_models.py
in bodymocap/models
797 16
glRenderer.py
in renderer
556 35
base_dataset.py
in eft/datasets
552 8
trainer_weakpers.py
in eft/train
440 13
video_dataset.py
in eft/datasets
436 8
evalfrompkl_frankmocap.py
in eft/apps
414 2
evalfrompkl.py
in eft/apps
393 1
evalfrompkl_hmr.py
in eft/apps
388 1
ddp_trainer.py
in eft/train
364 12
imutils.py
in bodymocap/utils
363 28
evalfrompkl.py
in bodymocap/apps
355 1
eval.py
in eft/apps
350 2
eval_multicrop.py
in eft/apps
339 2
trainer.py
in bodymocap/train
331 10
imutils.py
in eft/utils
330 28
trainer.py
in eft/train
329 10
eval.py
in bodymocap/apps
325 2
eval_export.py
in eft/apps
313 1
EFT_exportToDB_wCrop.py
in eft/db_processing
293 3
EFT_exportToDB.py
in eft/db_processing
246 2
smplify.py
in eft/smplify
242 5
h36m_train.py
in eft/db_processing
222 2
mpi_inf_3dhp.py
in eft/db_processing
218 4
posetrack.py
in eft/db_processing
201 4
panopticdb_seq.py
in eft/db_processing
199 3
evalfrompkl_iter.py
in eft/apps
187 1
evalfrompkl_iter.py
in bodymocap/apps
185 1
pw3d_multilevel.py
in eft/db_processing
168 1
visualizer.py
in renderer
166 5
pennaction.py
in eft/db_processing
165 3
config.py
in eft/cores
158 1
prior.py
in eft/smplify
157 10
smpl_utils.py
in bodymocap/utils
153 6
smpl_utils.py
in eft/utils
151 6
panopticdb.py
in eft/db_processing
143 3
train_options.py
in eft/utils
141 3
train_options.py
in bodymocap/utils
137 3
coco3d.py
in eft/db_processing
135 2
posetrack_mz.py
in eft/db_processing
131 2
mpii3d.py
in eft/db_processing
131 2
hmr.py
in eft/models
130 6
mpi_3d.py
in eft/db_processing
130 2
hmr.py
in bodymocap/models
127 6
pw3d.py
in eft/db_processing
126 2
Files With Most Units (Top 20)
File# lines# units
glViewer.py
in renderer
2255 103
glRenderer.py
in renderer
556 35
imutils.py
in bodymocap/utils
363 28
imutils.py
in eft/utils
330 28
viewer2D.py
in renderer
849 26
body_models.py
in bodymocap/models
797 16
trainer_weakpers.py
in eft/train
440 13
ddp_trainer.py
in eft/train
364 12
base_trainer.py
in bodymocap/core
109 11
geometry.py
in bodymocap/utils
106 11
geometry.py
in eft/utils
105 11
eftFitter.py
in eft/train
1011 11
base_trainer.py
in eft/cores
111 11
eftFitter.py
in bodymocap/train
991 10
trainer.py
in bodymocap/train
331 10
prior.py
in eft/smplify
157 10
trainer.py
in eft/train
329 10
base_dataset.py
in eft/datasets
552 8
video_dataset.py
in eft/datasets
436 8
data_loader.py
in bodymocap/utils
44 7
Files With Long Lines (Top 20)

There are 71 files with lines longer than 120 characters. In total, there are 686 long lines.

File# lines# units# long lines
train_options.py
in eft/utils
141 3 48
train_options.py
in bodymocap/utils
137 3 44
eftFitter.py
in eft/train
1011 11 42
viewer2D.py
in renderer
849 26 28
evalfrompkl.py
in eft/apps
393 1 27
evalfrompkl_frankmocap.py
in eft/apps
414 2 27
eftFitter.py
in bodymocap/train
991 10 26
evalfrompkl.py
in bodymocap/apps
355 1 26
evalfrompkl_hmr.py
in eft/apps
388 1 26
eval.py
in eft/apps
350 2 25
AMT_sample_gen.py
in eft/db_processing
876 5 24
eval_multicrop.py
in eft/apps
339 2 22
eval.py
in bodymocap/apps
325 2 21
EFT_exportToDB_wCrop.py
in eft/db_processing
293 3 20
mixed_dataset.py
in eft/datasets
1097 3 17
eval_export.py
in eft/apps
313 1 17
glViewer.py
in renderer
2255 103 15
evalfrompkl_iter.py
in bodymocap/apps
185 1 15
evalfrompkl_iter.py
in eft/apps
187 1 15
EFT_exportToDB.py
in eft/db_processing
246 2 14