facebookresearch / SLIP
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 17 files with 3,265 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (2,130 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (727 lines of code)
    • 6 very small files (408 lines of code)
0% | 0% | 65% | 22% | 12%
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% | 65% | 22% | 12%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
beit_finetuning0% | 0% | 83% | 10% | 6%
ROOT0% | 0% | 51% | 32% | 16%
redcaps0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
run_class_finetuning.py
in beit_finetuning
473 2
utils.py
in beit_finetuning
434 41
main.py
in root
368 14
main_linear.py
in root
326 15
modeling_finetune.py
in beit_finetuning
299 29
models.py
in root
230 32
datasets.py
in root
178 17
eval_zeroshot.py
in root
149 6
optim_factory.py
in beit_finetuning
148 6
utils.py
in root
137 16
tokenizer.py
in root
115 10
run_with_submitit_finetune.py
in beit_finetuning
89 8
run_with_submitit.py
in root
87 8
run_with_submitit_linear.py
in root
87 8
losses.py
in root
85 6
make_dataset.py
in root
39 -
combine_captions.py
in redcaps
21 2
Files With Most Units (Top 16)
File# lines# units
utils.py
in beit_finetuning
434 41
models.py
in root
230 32
modeling_finetune.py
in beit_finetuning
299 29
datasets.py
in root
178 17
utils.py
in root
137 16
main_linear.py
in root
326 15
main.py
in root
368 14
tokenizer.py
in root
115 10
run_with_submitit_finetune.py
in beit_finetuning
89 8
run_with_submitit.py
in root
87 8
run_with_submitit_linear.py
in root
87 8
optim_factory.py
in beit_finetuning
148 6
eval_zeroshot.py
in root
149 6
losses.py
in root
85 6
run_class_finetuning.py
in beit_finetuning
473 2
combine_captions.py
in redcaps
21 2
Files With Long Lines (Top 4)

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

File# lines# units# long lines
run_class_finetuning.py
in beit_finetuning
473 2 1
utils.py
in beit_finetuning
434 41 1
datasets.py
in root
178 17 1
main.py
in root
368 14 1