facebookresearch / suncet
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 19 files with 3,763 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (945 lines of code)
    • 6 medium size files (1,966 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (411 lines of code)
    • 9 very small files (441 lines of code)
0% | 25% | 52% | 10% | 11%
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% | 26% | 54% | 11% | 7%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 30% | 53% | 9% | 6%
ROOT0% | 0% | 62% | 23% | 14%
configs/paws0% | 0% | 0% | 0% | 100%
configs/suncet0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
data_manager.py
in src
945 41
paws_train.py
in src
385 4
suncet_train.py
in src
365 4
snn_fine_tune.py
in src
342 5
fine_tune.py
in src
326 4
snn_eval.py
in root
283 7
resnet.py
in src
265 20
losses.py
in src
161 13
utils.py
in src
143 13
main_distributed.py
in root
107 4
wide_resnet.py
in src
97 9
main.py
in root
65 1
lars.py
in src
54 12
imgnt_train.yaml
in configs/paws
41 -
cifar10_train.yaml
in configs/paws
41 -
sgd.py
in src
41 2
imgnt_train.yaml
in configs/suncet
38 -
cifar10_snn.yaml
in configs/paws
37 -
imgnt_fine_tune.yaml
in configs/paws
27 -
Files With Most Units (Top 14)
File# lines# units
data_manager.py
in src
945 41
resnet.py
in src
265 20
utils.py
in src
143 13
losses.py
in src
161 13
lars.py
in src
54 12
wide_resnet.py
in src
97 9
snn_eval.py
in root
283 7
snn_fine_tune.py
in src
342 5
main_distributed.py
in root
107 4
fine_tune.py
in src
326 4
paws_train.py
in src
385 4
suncet_train.py
in src
365 4
sgd.py
in src
41 2
main.py
in root
65 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
lars.py
in src
54 12 1
data_manager.py
in src
945 41 1