facebookresearch / talkthewalk
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 28 files with 2,550 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (614 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,247 lines of code)
    • 17 very small files (689 lines of code)
0% | 0% | 24% | 48% | 27%
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% | 24% | 49% | 26%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ttw0% | 0% | 58% | 25% | 16%
ttw/models0% | 0% | 34% | 47% | 18%
ttw/train0% | 0% | 0% | 65% | 34%
scripts0% | 0% | 0% | 81% | 18%
analysis0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
data_loader.py
in ttw
344 26
language.py
in ttw/models
270 11
evaluate_location.py
in scripts
179 4
classify_landmarks.py
in ttw/train
173 3
predict_location_generated.py
in ttw/train
151 2
dict.py
in ttw
150 25
discrete.py
in ttw/models
137 8
beam_search.py
in ttw/models
128 11
compute_upperbound.py
in scripts
123 4
continuous.py
in ttw/models
105 8
predict_location_discrete.py
in ttw/train
101 1
modules.py
in ttw/models
89 11
predict_location_language.py
in ttw/train
87 2
predict_location_continuous.py
in ttw/train
74 1
split_dataset.py
in scripts
68 1
train_tourist.py
in ttw/train
66 1
utils.py
in ttw
57 5
landmark_classification.py
in ttw/models
54 2
dataset_statistics.py
in analysis
38 -
visualize_masc_disc.py
in analysis
31 -
env.py
in ttw
26 2
plot_landmark_histogram.py
in analysis
25 -
display_data.py
in analysis
23 -
show_language_samples.py
in analysis
19 -
logger.py
in ttw
14 1
environment.yml
in root
13 -
__init__.py
in ttw/models
4 -
__init__.py
in ttw
1 -
Files With Most Units (Top 20)
File# lines# units
data_loader.py
in ttw
344 26
dict.py
in ttw
150 25
beam_search.py
in ttw/models
128 11
language.py
in ttw/models
270 11
modules.py
in ttw/models
89 11
discrete.py
in ttw/models
137 8
continuous.py
in ttw/models
105 8
utils.py
in ttw
57 5
compute_upperbound.py
in scripts
123 4
evaluate_location.py
in scripts
179 4
classify_landmarks.py
in ttw/train
173 3
env.py
in ttw
26 2
landmark_classification.py
in ttw/models
54 2
predict_location_language.py
in ttw/train
87 2
predict_location_generated.py
in ttw/train
151 2
logger.py
in ttw
14 1
predict_location_continuous.py
in ttw/train
74 1
train_tourist.py
in ttw/train
66 1
predict_location_discrete.py
in ttw/train
101 1
split_dataset.py
in scripts
68 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
language.py
in ttw/models
270 11 3
compute_upperbound.py
in scripts
123 4 2
landmark_classification.py
in ttw/models
54 2 1
continuous.py
in ttw/models
105 8 1
predict_location_language.py
in ttw/train
87 2 1
predict_location_generated.py
in ttw/train
151 2 1
evaluate_location.py
in scripts
179 4 1