facebookresearch / LASER
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 16 files with 2,291 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,258 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (641 lines of code)
    • 7 very small files (392 lines of code)
0% | 0% | 54% | 27% | 17%
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% | 54% | 27% | 17%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source0% | 0% | 78% | 15% | 6%
tasks/CCMatrix0% | 0% | 100% | 0% | 0%
source/lib0% | 0% | 0% | 91% | 8%
tasks/bucc0% | 0% | 0% | 100% | 0%
tasks/xnli0% | 0% | 0% | 0% | 100%
docker0% | 0% | 0% | 0% | 100%
tasks/mldoc0% | 0% | 0% | 0% | 100%
tasks/WikiMatrix0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
nli.py
in source
297 4
embed.py
in source
292 16
dl_cc_matrix.py
in tasks/CCMatrix
258 14
mine_bitexts.py
in source
208 7
sent_classif.py
in source
203 4
paraphrase.py
in source
194 5
indexing.py
in source/lib
182 10
text_processing.py
in source/lib
157 7
bucc.py
in tasks/bucc
108 2
xnli.py
in tasks/xnli
80 -
similarity_search.py
in source
80 -
mldoc.py
in tasks/mldoc
70 -
app.py
in docker
69 2
extract.py
in tasks/WikiMatrix
55 -
romanize_lc.py
in source/lib
32 -
decode.py
in docker
6 -
Files With Most Units (Top 10)
File# lines# units
embed.py
in source
292 16
dl_cc_matrix.py
in tasks/CCMatrix
258 14
indexing.py
in source/lib
182 10
mine_bitexts.py
in source
208 7
text_processing.py
in source/lib
157 7
paraphrase.py
in source
194 5
sent_classif.py
in source
203 4
nli.py
in source
297 4
bucc.py
in tasks/bucc
108 2
app.py
in docker
69 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