facebookresearch / radioactive_data
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 20 files with 2,025 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (555 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,142 lines of code)
    • 10 very small files (328 lines of code)
0% | 0% | 27% | 56% | 16%
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% | 27% | 56% | 16%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 63% | 18% | 18%
ROOT0% | 0% | 0% | 87% | 12%
src/datasets0% | 0% | 0% | 85% | 14%
src/data_augmentations0% | 0% | 0% | 87% | 12%
src/model0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
utils.py
in src
329 18
trainer.py
in src
226 16
make_data_radioactive.py
in root
178 7
dataset.py
in src
158 4
train-logistic.py
in root
153 2
train-distillation.py
in root
150 2
folder.py
in src/datasets
134 12
sampler.py
in src/datasets
131 16
train-classif.py
in root
129 2
__init__.py
in src/data_augmentations
109 10
detect_radioactivity.py
in root
89 -
evaluator.py
in src
45 4
logger.py
in src
38 3
watermarked_folder.py
in src/datasets
35 3
net.py
in src
32 1
slurm.py
in src
23 3
stats.py
in src
21 1
__init__.py
in src/model
20 2
data_augmenter.py
in src/data_augmentations
15 3
__init__.py
in src/datasets
10 3
Files With Most Units (Top 19)
File# lines# units
utils.py
in src
329 18
sampler.py
in src/datasets
131 16
trainer.py
in src
226 16
folder.py
in src/datasets
134 12
__init__.py
in src/data_augmentations
109 10
make_data_radioactive.py
in root
178 7
dataset.py
in src
158 4
evaluator.py
in src
45 4
slurm.py
in src
23 3
__init__.py
in src/datasets
10 3
watermarked_folder.py
in src/datasets
35 3
logger.py
in src
38 3
data_augmenter.py
in src/data_augmentations
15 3
train-logistic.py
in root
153 2
train-distillation.py
in root
150 2
train-classif.py
in root
129 2
__init__.py
in src/model
20 2
net.py
in src
32 1
stats.py
in src
21 1
Files With Long Lines (Top 9)

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

File# lines# units# long lines
folder.py
in src/datasets
134 12 5
dataset.py
in src
158 4 4
make_data_radioactive.py
in root
178 7 2
train-logistic.py
in root
153 2 1
train-distillation.py
in root
150 2 1
train-classif.py
in root
129 2 1
utils.py
in src
329 18 1
__init__.py
in src/model
20 2 1
__init__.py
in src/data_augmentations
109 10 1