amazon-research / tanl
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 12 files with 3,296 lines of code.
    • 1 very long files (1,780 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (628 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (611 lines of code)
    • 5 very small files (277 lines of code)
54% | 0% | 19% | 18% | 8%
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
py54% | 0% | 19% | 18% | 8%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT57% | 0% | 20% | 14% | 7%
preprocess_multiwoz0% | 0% | 0% | 80% | 19%
Longest Files (Top 12)
File# lines# units
datasets.py
in root
1780 54
output_formats.py
in root
402 16
run.py
in root
226 1
base_dataset.py
in root
173 15
coreference_metrics.py
in root
169 24
extract_examples.py
in preprocess_multiwoz
150 3
arguments.py
in root
119 -
input_example.py
in root
66 6
input_formats.py
in root
66 7
utils.py
in root
66 5
evaluate.py
in root
43 3
prepare_multi_woz.py
in preprocess_multiwoz
36 2
Files With Most Units (Top 11)
File# lines# units
datasets.py
in root
1780 54
coreference_metrics.py
in root
169 24
output_formats.py
in root
402 16
base_dataset.py
in root
173 15
input_formats.py
in root
66 7
input_example.py
in root
66 6
utils.py
in root
66 5
extract_examples.py
in preprocess_multiwoz
150 3
evaluate.py
in root
43 3
prepare_multi_woz.py
in preprocess_multiwoz
36 2
run.py
in root
226 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
extract_examples.py
in preprocess_multiwoz
150 3 9
output_formats.py
in root
402 16 1