facebookresearch / accentor
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 13 files with 1,461 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (439 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (712 lines of code)
    • 8 very small files (310 lines of code)
0% | 0% | 30% | 48% | 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% | 30% | 48% | 21%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 31% | 50% | 18%
v1.00% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
run_multiple_choice.py
in root
439 7
run_language_modeling.py
in root
195 3
gen_delex.py
in root
180 1
gen_predict.py
in root
170 1
utils_multiple_choice.py
in root
167 13
run_generation.py
in root
72 1
gen_arranger_output.py
in root
53 -
gen_arranger_input.py
in root
52 1
gen_parlai_data.py
in root
43 1
gen_rewriter_data.py
in root
32 -
accentor-sgd.py
in v1.0
29 -
accentor-multiwoz.py
in v1.0
19 -
utils.py
in root
10 1
Files With Most Units (Top 9)
File# lines# units
utils_multiple_choice.py
in root
167 13
run_multiple_choice.py
in root
439 7
run_language_modeling.py
in root
195 3
gen_parlai_data.py
in root
43 1
gen_predict.py
in root
170 1
gen_delex.py
in root
180 1
run_generation.py
in root
72 1
gen_arranger_input.py
in root
52 1
utils.py
in root
10 1
Files With Long Lines (Top 11)

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

File# lines# units# long lines
gen_delex.py
in root
180 1 17
gen_predict.py
in root
170 1 11
run_multiple_choice.py
in root
439 7 10
run_language_modeling.py
in root
195 3 6
run_generation.py
in root
72 1 3
gen_rewriter_data.py
in root
32 - 3
accentor-sgd.py
in v1.0
29 - 2
gen_arranger_input.py
in root
52 1 2
gen_arranger_output.py
in root
53 - 2
accentor-multiwoz.py
in v1.0
19 - 1
utils.py
in root
10 1 1