amazon-research / exponential-moving-average-normalization
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 2,925 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,979 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (411 lines of code)
    • 13 very small files (535 lines of code)
0% | 0% | 67% | 14% | 18%
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% | 67% | 14% | 18%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 94% | 0% | 5%
data0% | 0% | 59% | 31% | 9%
backbone0% | 0% | 0% | 99% | <1%
models0% | 0% | 0% | 40% | 59%
utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
main_fixmatch.py
in root
456 7
main_cls.py
in root
358 5
main_byol.py
in root
324 4
main_lincls.py
in root
322 6
main_moco.py
in root
305 3
randaugment.py
in data
214 35
resnet.py
in backbone
196 18
transforms.py
in data
113 11
byol.py
in models
102 12
engine.py
in root
97 2
moco.py
in models
89 8
LARS.py
in utils
72 3
utils.py
in utils
64 12
fixmatch.py
in models
60 6
dist_utils.py
in utils
44 6
datasets.py
in data
33 3
lr_schedule.py
in utils
29 3
init.py
in utils
27 4
batch_norm.py
in utils
14 1
__init__.py
in models
3 -
__init__.py
in utils
2 -
__init__.py
in backbone
1 -
Files With Most Units (Top 19)
File# lines# units
randaugment.py
in data
214 35
resnet.py
in backbone
196 18
utils.py
in utils
64 12
byol.py
in models
102 12
transforms.py
in data
113 11
moco.py
in models
89 8
main_fixmatch.py
in root
456 7
main_lincls.py
in root
322 6
dist_utils.py
in utils
44 6
fixmatch.py
in models
60 6
main_cls.py
in root
358 5
main_byol.py
in root
324 4
init.py
in utils
27 4
LARS.py
in utils
72 3
lr_schedule.py
in utils
29 3
datasets.py
in data
33 3
main_moco.py
in root
305 3
engine.py
in root
97 2
batch_norm.py
in utils
14 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines