facebookresearch / low-shot-shrink-hallucinate
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 1,294 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (451 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (439 lines of code)
    • 15 very small files (404 lines of code)
0% | 0% | 34% | 33% | 31%
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% | 37% | 36% | 26%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 34% | 33% | 31%
Longest Files (Top 20)
File# lines# units
analogy_generation.py
in root
229 11
matching_network.py
in root
222 13
low_shot.py
in root
158 13
main.py
in root
154 7
ResNetBasic.py
in root
127 12
save_features.py
in root
63 3
losses.py
in root
54 8
parse_results.py
in root
37 1
torch_kmeans.py
in root
37 1
data.py
in root
37 2
train_analogy_generator.py
in root
29 1
ResNetFeat.py
in root
28 8
myMetaDataset.py
in root
22 3
base_classes_train_template.yaml
in root
18 -
base_classes_train_template_smallbatch.yaml
in root
18 -
base_classes_val_template.yaml
in root
15 -
train_save_data.yaml
in root
14 -
val_save_data.yaml
in root
14 -
additional_transforms.py
in root
13 2
generation.py
in root
5 1
Files With Most Units (Top 15)
File# lines# units
low_shot.py
in root
158 13
matching_network.py
in root
222 13
ResNetBasic.py
in root
127 12
analogy_generation.py
in root
229 11
losses.py
in root
54 8
ResNetFeat.py
in root
28 8
main.py
in root
154 7
save_features.py
in root
63 3
myMetaDataset.py
in root
22 3
additional_transforms.py
in root
13 2
data.py
in root
37 2
parse_results.py
in root
37 1
generation.py
in root
5 1
torch_kmeans.py
in root
37 1
train_analogy_generator.py
in root
29 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
low_shot.py
in root
158 13 7
ResNetFeat.py
in root
28 8 6
analogy_generation.py
in root
229 11 4
main.py
in root
154 7 3
parse_results.py
in root
37 1 2
additional_transforms.py
in root
13 2 1
save_features.py
in root
63 3 1
myMetaDataset.py
in root
22 3 1
train_analogy_generator.py
in root
29 1 1
matching_network.py
in root
222 13 1