facebookresearch / deit
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 12 files with 1,820 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,023 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (477 lines of code)
    • 6 very small files (320 lines of code)
0% | 0% | 56% | 26% | 17%
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% | 56% | 26% | 17%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 56% | 26% | 17%
Longest Files (Top 12)
File# lines# units
main.py
in root
354 2
cait_models.py
in root
349 23
patchconvnet_models.py
in root
320 30
utils.py
in root
179 24
resmlp_models.py
in root
152 14
models.py
in root
146 11
run_with_submitit.py
in root
90 8
datasets.py
in root
83 3
engine.py
in root
63 2
samplers.py
in root
43 4
losses.py
in root
37 2
hubconf.py
in root
4 -
Files With Most Units (Top 11)
File# lines# units
patchconvnet_models.py
in root
320 30
utils.py
in root
179 24
cait_models.py
in root
349 23
resmlp_models.py
in root
152 14
models.py
in root
146 11
run_with_submitit.py
in root
90 8
samplers.py
in root
43 4
datasets.py
in root
83 3
engine.py
in root
63 2
losses.py
in root
37 2
main.py
in root
354 2
Files With Long Lines (Top 1)

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

File# lines# units# long lines
patchconvnet_models.py
in root
320 30 5