facebookresearch / access
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,524 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (514 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (535 lines of code)
    • 14 very small files (475 lines of code)
0% | 0% | 33% | 35% | 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% | 33% | 35% | 30%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
access0% | 0% | 52% | 22% | 24%
access/fairseq0% | 0% | 71% | 0% | 28%
access/resources0% | 0% | 0% | 75% | 24%
access/utils0% | 0% | 0% | 85% | 14%
scripts0% | 0% | 0% | 0% | 100%
access/evaluation0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
preprocessors.py
in access
270 56
base.py
in access/fairseq
244 5
helpers.py
in access/utils
195 26
preprocess.py
in access
116 18
utils.py
in access/resources
112 12
prepare.py
in access/resources
112 5
main.py
in access/fairseq
98 6
datasets.py
in access/resources
51 6
simplifiers.py
in access
49 3
feature_extraction.py
in access
40 6
train.py
in scripts
40 -
text.py
in access
36 8
training.py
in access/utils
34 4
generate.py
in scripts
24 -
paths.py
in access/resources
23 3
utils.py
in access/evaluation
22 4
general.py
in access/evaluation
19 2
evaluate.py
in scripts
18 -
setup.py
in root
16 -
cfg
setup.cfg
in root
5 -
Files With Most Units (Top 15)
File# lines# units
preprocessors.py
in access
270 56
helpers.py
in access/utils
195 26
preprocess.py
in access
116 18
utils.py
in access/resources
112 12
text.py
in access
36 8
datasets.py
in access/resources
51 6
main.py
in access/fairseq
98 6
feature_extraction.py
in access
40 6
prepare.py
in access/resources
112 5
base.py
in access/fairseq
244 5
training.py
in access/utils
34 4
utils.py
in access/evaluation
22 4
paths.py
in access/resources
23 3
simplifiers.py
in access
49 3
general.py
in access/evaluation
19 2
Files With Long Lines (Top 0)

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

File# lines# units# long lines