facebookresearch / gtn_applications
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,772 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,667 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (748 lines of code)
    • 9 very small files (357 lines of code)
0% | 0% | 60% | 26% | 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% | 60% | 27% | 12%
arpa0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 93% | 6% | 0%
datasets0% | 0% | 33% | 37% | 29%
scripts0% | 0% | 0% | 95% | 4%
benchmarks0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
transducer.py
in root
402 18
utils.py
in root
376 32
models.py
in root
367 21
train.py
in root
305 6
iamdb.py
in datasets
217 15
build_transitions.py
in scripts
172 6
preprocess_wsj.py
in datasets
128 5
load_arpa.py
in scripts
116 3
audioset.py
in datasets
115 12
make_wordpieces.py
in scripts
115 6
test.py
in root
102 3
transducer_benchmark.py
in benchmarks
94 3
wsj.py
in datasets
70 1
librispeech.py
in datasets
70 1
preprocess_librispeech.py
in datasets
51 4
asg_benchmark.py
in benchmarks
20 1
arpa
lm_small.arpa
in scripts
20 -
ctc_benchmark.py
in benchmarks
19 1
time_utils.py
in benchmarks
10 1
__init__.py
in datasets
3 -
Files With Most Units (Top 18)
File# lines# units
utils.py
in root
376 32
models.py
in root
367 21
transducer.py
in root
402 18
iamdb.py
in datasets
217 15
audioset.py
in datasets
115 12
build_transitions.py
in scripts
172 6
make_wordpieces.py
in scripts
115 6
train.py
in root
305 6
preprocess_wsj.py
in datasets
128 5
preprocess_librispeech.py
in datasets
51 4
test.py
in root
102 3
transducer_benchmark.py
in benchmarks
94 3
load_arpa.py
in scripts
116 3
wsj.py
in datasets
70 1
librispeech.py
in datasets
70 1
ctc_benchmark.py
in benchmarks
19 1
time_utils.py
in benchmarks
10 1
asg_benchmark.py
in benchmarks
20 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
utils.py
in root
376 32 1