facebookresearch / agem
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 5,206 lines of code.
    • 0 very long files (0 lines of code)
    • 7 long files (4,420 lines of code)
    • 2 medium size files (590 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 5 very small files (196 lines of code)
0% | 84% | 11% | 0% | 3%
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% | 84% | 11% | 0% | 3%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 88% | 11% | 0% | 0%
model0% | 99% | 0% | 0% | <1%
utils0% | 57% | 21% | 0% | 20%
Longest Files (Top 14)
File# lines# units
model.py
in model
798 32
conv_split_cub_hybrid.py
in root
657 6
conv_split_awa_hybrid.py
in root
648 6
conv_split_cub.py
in root
626 6
conv_split_awa.py
in root
623 6
data_utils.py
in utils
537 18
conv_split_cifar.py
in root
531 6
fc_permute_mnist.py
in root
387 4
utils.py
in utils
203 16
resnet_utils.py
in utils
80 5
vis_utils.py
in utils
77 5
vgg_utils.py
in utils
30 2
__init__.py
in utils
8 -
__init__.py
in model
1 -
Files With Most Units (Top 12)
File# lines# units
model.py
in model
798 32
data_utils.py
in utils
537 18
utils.py
in utils
203 16
conv_split_awa.py
in root
623 6
conv_split_cub.py
in root
626 6
conv_split_cifar.py
in root
531 6
conv_split_awa_hybrid.py
in root
648 6
conv_split_cub_hybrid.py
in root
657 6
resnet_utils.py
in utils
80 5
vis_utils.py
in utils
77 5
fc_permute_mnist.py
in root
387 4
vgg_utils.py
in utils
30 2
Files With Long Lines (Top 13)

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

File# lines# units# long lines
model.py
in model
798 32 66
conv_split_awa_hybrid.py
in root
648 6 37
conv_split_cub_hybrid.py
in root
657 6 33
conv_split_awa.py
in root
623 6 30
conv_split_cub.py
in root
626 6 27
conv_split_cifar.py
in root
531 6 23
fc_permute_mnist.py
in root
387 4 15
utils.py
in utils
203 16 13
data_utils.py
in utils
537 18 8
__init__.py
in utils
8 - 4
vis_utils.py
in utils
77 5 2
vgg_utils.py
in utils
30 2 1
resnet_utils.py
in utils
80 5 1