facebookresearch / FashionPlus
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 38 files with 4,117 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,166 lines of code)
    • 3 medium size files (876 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,237 lines of code)
    • 22 very small files (838 lines of code)
0% | 28% | 21% | 30% | 20%
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% | 28% | 21% | 30% | 20%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
generation/models0% | 55% | 32% | 0% | 11%
classification/data_dict0% | 92% | 0% | 0% | 7%
separate_vae/models0% | 0% | 100% | 0% | 0%
separate_vae/util0% | 0% | 0% | 80% | 19%
generation/data0% | 0% | 0% | 70% | 29%
postprocess0% | 0% | 0% | 100% | 0%
generation/util0% | 0% | 0% | 81% | 18%
separate_vae0% | 0% | 0% | 50% | 49%
separate_vae/data0% | 0% | 0% | 54% | 45%
generation0% | 0% | 0% | 51% | 48%
separate_vae/options0% | 0% | 0% | 100% | 0%
generation/options0% | 0% | 0% | 74% | 25%
classification0% | 0% | 0% | 0% | 100%
preprocess0% | 0% | 0% | 0% | 100%
Longest Files (Top 38)
File# lines# units
networks.py
in generation/models
641 46
update_demo.py
in classification/data_dict/shape_and_feature
525 36
pix2pixHD_model.py
in generation/models
379 23
separate_clothing_encoder_models.py
in separate_vae/models
256 16
pix2pixhd_networks.py
in separate_vae/models
241 16
process_face.py
in postprocess
163 7
util.py
in generation/util
128 12
decode_masks.py
in separate_vae
113 3
util.py
in separate_vae/util
107 11
visualizer.py
in separate_vae/util
107 5
base_dataset.py
in separate_vae/data
105 12
base_dataset.py
in generation/data
105 12
decode_clothing_features.py
in generation
104 2
base_options.py
in separate_vae/options
103 4
base_options.py
in generation/options
101 4
pickle_dataset.py
in generation/data
101 8
model.py
in classification
73 7
base_model.py
in generation/models
71 13
encode_features.py
in separate_vae
60 -
decode_clothing_features_from_dict.py
in generation
53 -
html.py
in separate_vae/util
52 6
spectral_normalization.py
in generation/models
51 6
decode_masks_from_dict.py
in separate_vae
49 -
pickle_dataset.py
in separate_vae/data
49 8
prepare_input_data.py
in preprocess
46 3
encode_clothing_features.py
in generation
45 -
search_networks.py
in classification
44 4
image_folder.py
in generation/data
44 6
classifier_options.py
in classification/data_dict/shape_and_feature
40 1
train_options.py
in generation/options
34 1
image_pool.py
in generation/util
30 2
custom_dataset_data_loader.py
in generation/data
28 5
custom_dataset_data_loader.py
in separate_vae/data
25 5
models.py
in generation/models
17 1
base_data_loader.py
in separate_vae/data
8 3
base_data_loader.py
in generation/data
8 3
data_loader.py
in generation/data
6 1
data_loader.py
in separate_vae/data
5 1
Files With Most Units (Top 20)
File# lines# units
networks.py
in generation/models
641 46
update_demo.py
in classification/data_dict/shape_and_feature
525 36
pix2pixHD_model.py
in generation/models
379 23
pix2pixhd_networks.py
in separate_vae/models
241 16
separate_clothing_encoder_models.py
in separate_vae/models
256 16
base_model.py
in generation/models
71 13
base_dataset.py
in separate_vae/data
105 12
util.py
in generation/util
128 12
base_dataset.py
in generation/data
105 12
util.py
in separate_vae/util
107 11
pickle_dataset.py
in separate_vae/data
49 8
pickle_dataset.py
in generation/data
101 8
model.py
in classification
73 7
process_face.py
in postprocess
163 7
html.py
in separate_vae/util
52 6
spectral_normalization.py
in generation/models
51 6
image_folder.py
in generation/data
44 6
visualizer.py
in separate_vae/util
107 5
custom_dataset_data_loader.py
in separate_vae/data
25 5
custom_dataset_data_loader.py
in generation/data
28 5
Files With Long Lines (Top 20)

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

File# lines# units# long lines
base_options.py
in generation/options
101 4 26
base_options.py
in separate_vae/options
103 4 23
update_demo.py
in classification/data_dict/shape_and_feature
525 36 20
pix2pixhd_networks.py
in separate_vae/models
241 16 18
train_options.py
in generation/options
34 1 18
classifier_options.py
in classification/data_dict/shape_and_feature
40 1 13
networks.py
in generation/models
641 46 13
decode_masks.py
in separate_vae
113 3 7
separate_clothing_encoder_models.py
in separate_vae/models
256 16 7
util.py
in generation/util
128 12 7
pix2pixHD_model.py
in generation/models
379 23 7
decode_masks_from_dict.py
in separate_vae
49 - 5
util.py
in separate_vae/util
107 11 5
decode_clothing_features.py
in generation
104 2 5
search_networks.py
in classification
44 4 2
encode_features.py
in separate_vae
60 - 2
decode_clothing_features_from_dict.py
in generation
53 - 2
visualizer.py
in separate_vae/util
107 5 1
process_face.py
in postprocess
163 7 1
base_model.py
in generation/models
71 13 1