facebookresearch / MUSE
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 15 files with 1,437 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (309 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (818 lines of code)
    • 8 very small files (310 lines of code)
0% | 0% | 21% | 56% | 21%
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% | 21% | 56% | 21%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 44% | 38% | 17%
src/evaluation0% | 0% | 0% | 82% | 17%
ROOT0% | 0% | 0% | 53% | 46%
Longest Files (Top 15)
File# lines# units
utils.py
in src
309 17
evaluator.py
in src/evaluation
177 9
trainer.py
in src
159 12
wordsim.py
in src/evaluation
158 6
unsupervised.py
in root
116 -
dico_builder.py
in src
105 2
word_translation.py
in src/evaluation
103 3
sent_translation.py
in src/evaluation
86 2
supervised.py
in root
65 -
models.py
in src
51 3
evaluate.py
in root
36 -
logger.py
in src
35 3
dictionary.py
in src
32 8
__init__.py
in src/evaluation
4 -
__init__.py
in src
1 -
Files With Most Units (Top 10)
File# lines# units
utils.py
in src
309 17
trainer.py
in src
159 12
evaluator.py
in src/evaluation
177 9
dictionary.py
in src
32 8
wordsim.py
in src/evaluation
158 6
models.py
in src
51 3
logger.py
in src
35 3
word_translation.py
in src/evaluation
103 3
dico_builder.py
in src
105 2
sent_translation.py
in src/evaluation
86 2
Files With Long Lines (Top 3)

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

File# lines# units# long lines
unsupervised.py
in root
116 - 4
supervised.py
in root
65 - 3
word_translation.py
in src/evaluation
103 3 1