amazon-research / crossnorm-selfnorm
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 26 files with 4,875 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 8 medium size files (2,760 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,629 lines of code)
    • 7 very small files (486 lines of code)
0% | 0% | 56% | 33% | 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
py0% | 0% | 58% | 34% | 7%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 85% | 0% | 14%
segmentation/tool0% | 0% | 100% | 0% | 0%
segmentation/model0% | 0% | 53% | 35% | 11%
models/imagenet0% | 0% | 100% | 0% | 0%
models/cifar0% | 0% | 0% | 100% | 0%
segmentation/util0% | 0% | 0% | 85% | 14%
models0% | 0% | 0% | 100% | 0%
segmentation/config/gtav0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
imagenet.py
in root
482 11
train_cnsn.py
in segmentation/tool
402 9
cifar.py
in root
402 8
cnsn_resnet.py
in segmentation/model
394 26
train.py
in segmentation/tool
388 9
resnet_cnsn.py
in models/imagenet
240 17
resnet_ibn_cnsn.py
in models/imagenet
237 14
resnet.py
in segmentation/model
215 20
psanet.py
in segmentation/model
191 4
transform.py
in segmentation/util
191 21
resnext_cnsn.py
in models/cifar
177 7
util.py
in segmentation/util
176 16
densenet_cnsn.py
in models/cifar
176 11
wideresnet_cnsn.py
in models/cifar
166 8
allconv_cnsn.py
in models/cifar
118 5
cnsn.py
in segmentation/model
115 10
cnsn.py
in models
115 10
pspnet.py
in segmentation/model
102 4
config.py
in segmentation/util
102 10
fcn.py
in segmentation/model
83 5
dataset.py
in segmentation/util
81 5
utils.py
in root
76 10
augmentations.py
in root
72 16
gtav_fcn50_cnsn.yaml
in segmentation/config/gtav
68 -
gtav_fcn50.yaml
in segmentation/config/gtav
59 -
utils.py
in segmentation/model
47 4
Files With Most Units (Top 20)
File# lines# units
cnsn_resnet.py
in segmentation/model
394 26
transform.py
in segmentation/util
191 21
resnet.py
in segmentation/model
215 20
resnet_cnsn.py
in models/imagenet
240 17
util.py
in segmentation/util
176 16
augmentations.py
in root
72 16
resnet_ibn_cnsn.py
in models/imagenet
237 14
imagenet.py
in root
482 11
densenet_cnsn.py
in models/cifar
176 11
cnsn.py
in segmentation/model
115 10
config.py
in segmentation/util
102 10
cnsn.py
in models
115 10
utils.py
in root
76 10
train.py
in segmentation/tool
388 9
train_cnsn.py
in segmentation/tool
402 9
wideresnet_cnsn.py
in models/cifar
166 8
cifar.py
in root
402 8
resnext_cnsn.py
in models/cifar
177 7
fcn.py
in segmentation/model
83 5
dataset.py
in segmentation/util
81 5
Files With Long Lines (Top 8)

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

File# lines# units# long lines
train.py
in segmentation/tool
388 9 15
train_cnsn.py
in segmentation/tool
402 9 15
cnsn_resnet.py
in segmentation/model
394 26 9
psanet.py
in segmentation/model
191 4 5
transform.py
in segmentation/util
191 21 4
fcn.py
in segmentation/model
83 5 2
pspnet.py
in segmentation/model
102 4 2
dataset.py
in segmentation/util
81 5 1