facebookresearch / phosa
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 14 files with 3,663 lines of code.
    • 1 very long files (2,009 lines of code)
    • 1 long files (520 lines of code)
    • 1 medium size files (317 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (473 lines of code)
    • 8 very small files (344 lines of code)
54% | 14% | 8% | 12% | 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
obj100% | 0% | 0% | 0% | 0%
py0% | 31% | 19% | 28% | 19%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
models/meshes100% | 0% | 0% | 0% | 0%
phosa0% | 45% | 27% | 16% | 11%
phosa/utils0% | 0% | 0% | 44% | 55%
ROOT0% | 0% | 0% | 86% | 13%
Longest Files (Top 14)
File# lines# units
obj
bicycle_01.obj
in models/meshes
2009 -
global_opt.py
in phosa
520 22
pose_optimization.py
in phosa
317 11
constants.py
in phosa
188 -
nmr_renderer.py
in phosa/utils
158 9
demo.py
in root
127 2
pointrend.py
in phosa
71 2
geometry.py
in phosa/utils
67 6
bbox.py
in phosa/utils
65 7
camera.py
in phosa/utils
59 4
bodymocap.py
in phosa
55 3
cfg
setup.cfg
in root
19 -
__init__.py
in phosa
4 -
__init__.py
in phosa/utils
4 -
Files With Most Units (Top 9)
File# lines# units
global_opt.py
in phosa
520 22
pose_optimization.py
in phosa
317 11
nmr_renderer.py
in phosa/utils
158 9
bbox.py
in phosa/utils
65 7
geometry.py
in phosa/utils
67 6
camera.py
in phosa/utils
59 4
bodymocap.py
in phosa
55 3
pointrend.py
in phosa
71 2
demo.py
in root
127 2
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
cfg
setup.cfg
in root
19 - 1