facebookresearch / uimnet
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 122 files with 8,067 lines of code.
    • 1 very long files (1,008 lines of code)
    • 1 long files (663 lines of code)
    • 1 medium size files (458 lines of codeclsfd_ftr_w_mp_ins)
    • 16 small files (2,199 lines of code)
    • 103 very small files (3,739 lines of code)
12% | 8% | 5% | 27% | 46%
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
py16% | 10% | 0% | 32% | 39%
css0% | 0% | 82% | 0% | 17%
html0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
org0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
uimnet/datasets78% | 0% | 0% | 9% | 11%
uimnet/utils0% | 100% | 0% | 0% | 0%
uimnet/reporting0% | 0% | 59% | 25% | 14%
uimnet/workers0% | 0% | 0% | 86% | 13%
uimnet/algorithms0% | 0% | 0% | 64% | 35%
scripts0% | 0% | 0% | 42% | 57%
uimnet/modules0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
configs/release0% | 0% | 0% | 0% | 100%
configs/releaseH10% | 0% | 0% | 0% | 100%
configs/dev0% | 0% | 0% | 0% | 100%
configs/devH10% | 0% | 0% | 0% | 100%
uimnet/measures0% | 0% | 0% | 0% | 100%
uimnet/metrics0% | 0% | 0% | 0% | 100%
uimnet/evaluation0% | 0% | 0% | 0% | 100%
uimnet/ensembles0% | 0% | 0% | 0% | 100%
profiles0% | 0% | 0% | 0% | 100%
benchmarks0% | 0% | 0% | 0% | 100%
configs/debug0% | 0% | 0% | 0% | 100%
uimnet/numerics0% | 0% | 0% | 0% | 100%
uimnet0% | 0% | 0% | 0% | 100%
uimnet/archs0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
__init__.py
in uimnet/datasets
1008 -
__init__.py
in uimnet/utils
663 78
style.css
in uimnet/reporting/templates/assets
458 -
report.html
in uimnet/reporting/templates
200 -
trainer.py
in uimnet/workers
189 10
due.py
in uimnet/algorithms
166 13
evaluator2.py
in uimnet/workers
160 5
evaluator.py
in uimnet/workers
159 4
base.py
in uimnet/algorithms
148 18
calibrator.py
in uimnet/workers
143 4
run_evaluation.py
in scripts
131 8
distillation.py
in uimnet/algorithms
130 8
base.py
in uimnet/datasets
121 17
recordify.py
in scripts
120 9
mimo.py
in uimnet/algorithms
114 7
predictor.py
in uimnet/workers
110 3
mog.py
in uimnet/workers
105 2
run_ensembles.py
in scripts
102 4
run_prediction.py
in scripts
101 6
base.py
in uimnet/ensembles
100 12
prism.css
in uimnet/reporting/templates/assets/prism
95 -
oodomain.py
in uimnet/evaluation
91 4
run_training.py
in scripts
86 2
base.py
in uimnet/workers
81 5
summaryze.py
in scripts
77 7
prediction.py
in uimnet/metrics
76 8
org
readme.org
in root
74 -
run_evaluator.py
in scripts
72 4
run_calibration.py
in scripts
71 3
mog.py
in uimnet/measures
69 4
erm.py
in uimnet/algorithms
68 5
mixup.py
in uimnet/algorithms
67 5
mcdropout.py
in uimnet/algorithms
67 4
fused_prediction.py
in uimnet/metrics
66 2
conda_env.yaml
in root
66 -
conda_env_fixed.yaml
in root
66 -
run_trainer.py
in scripts
64 4
base.py
in uimnet/modules/spectral_normalization
61 8
run_calibrator.py
in scripts
57 3
soft_labeler.py
in uimnet/algorithms
55 8
run_predictor.py
in scripts
55 3
indomain.py
in uimnet/evaluation
54 4
spectral_bn.py
in uimnet/modules/spectral_normalization
53 2
utils.py
in uimnet/modules/spectral_normalization
53 1
02_ensembling.yaml
in configs/dev
53 -
02_ensembling.yaml
in configs/devH1
53 -
02_ensembling.yaml
in configs/release
52 -
02_ensembling.yaml
in configs/releaseH1
52 -
relaunch_job.py
in scripts
52 3
embeddings_extractor.py
in uimnet/workers
50 2
Files With Most Units (Top 20)
File# lines# units
__init__.py
in uimnet/utils
663 78
base.py
in uimnet/algorithms
148 18
base.py
in uimnet/datasets
121 17
due.py
in uimnet/algorithms
166 13
base.py
in uimnet/ensembles
100 12
trainer.py
in uimnet/workers
189 10
recordify.py
in scripts
120 9
prediction.py
in uimnet/metrics
76 8
soft_labeler.py
in uimnet/algorithms
55 8
distillation.py
in uimnet/algorithms
130 8
base.py
in uimnet/modules/spectral_normalization
61 8
run_evaluation.py
in scripts
131 8
mimo.py
in uimnet/algorithms
114 7
summaryze.py
in scripts
77 7
run_prediction.py
in scripts
101 6
out_domain.py
in uimnet/metrics
32 5
bagging.py
in uimnet/ensembles
29 5
imageNat.py
in uimnet/datasets
44 5
erm.py
in uimnet/algorithms
68 5
mixup.py
in uimnet/algorithms
67 5
Files With Long Lines (Top 11)

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

File# lines# units# long lines
report.html
in uimnet/reporting/templates
200 - 122
recordify.py
in scripts
120 9 3
utils.py
in uimnet/datasets
36 3 2
utils.py
in uimnet/evaluation
42 4 2
org
readme.org
in root
74 - 2
calibrator.py
in uimnet/workers
143 4 1
utils.py
in uimnet/modules/spectral_normalization
53 1 1
debug_calibration.py
in scripts
45 3 1
debug_mog.py
in scripts
45 3 1
relaunch_job.py
in scripts
52 3 1
profile_measures.py
in profiles
47 2 1