apple / ml-cread
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 23 files with 2,927 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,527 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,210 lines of code)
    • 10 very small files (190 lines of code)
0% | 0% | 52% | 41% | 6%
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% | 52% | 41% | 6%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
modeling0% | 0% | 100% | 0% | 0%
modeling/coval/conll0% | 0% | 57% | 30% | 11%
modeling/utils0% | 0% | 33% | 66% | 0%
modeling/coval/arrau0% | 0% | 0% | 80% | 19%
modeling/coval/eval0% | 0% | 0% | 99% | <1%
modeling/qr_eval/qr/training0% | 0% | 0% | 100% | 0%
modeling/qr_eval/qr/rouge0% | 0% | 0% | 67% | 32%
modeling/qr_eval/qr/common0% | 0% | 0% | 0% | 100%
modeling/coval0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
model.py
in modeling
463 27
reader.py
in modeling/coval/conll
370 9
dataset.py
in modeling
255 12
main.py
in modeling
234 9
process_data.py
in modeling/utils
205 5
mention.py
in modeling/coval/conll
198 18
coref_utils.py
in modeling/utils
171 8
reader.py
in modeling/coval/arrau
169 6
evaluator.py
in modeling/coval/eval
164 20
metrics.py
in modeling/qr_eval/qr/training
143 18
rouge_scorer.py
in modeling/qr_eval/qr/rouge
126 11
utils.py
in modeling/utils
122 7
evaluate.py
in modeling/utils
117 5
util.py
in modeling/coval/conll
73 2
scoring.py
in modeling/qr_eval/qr/rouge
49 6
markable.py
in modeling/coval/arrau
39 5
tokenize.py
in modeling/qr_eval/qr/rouge
13 1
constants.py
in modeling/qr_eval/qr/common
11 -
__init__.py
in modeling/coval
1 -
__init__.py
in modeling/coval/arrau
1 -
__init__.py
in modeling/coval/conll
1 -
__init__.py
in modeling/coval/eval
1 -
util.py
in modeling/qr_eval/qr/common
1 -
Files With Most Units (Top 17)
File# lines# units
model.py
in modeling
463 27
evaluator.py
in modeling/coval/eval
164 20
mention.py
in modeling/coval/conll
198 18
metrics.py
in modeling/qr_eval/qr/training
143 18
dataset.py
in modeling
255 12
rouge_scorer.py
in modeling/qr_eval/qr/rouge
126 11
reader.py
in modeling/coval/conll
370 9
main.py
in modeling
234 9
coref_utils.py
in modeling/utils
171 8
utils.py
in modeling/utils
122 7
reader.py
in modeling/coval/arrau
169 6
scoring.py
in modeling/qr_eval/qr/rouge
49 6
markable.py
in modeling/coval/arrau
39 5
evaluate.py
in modeling/utils
117 5
process_data.py
in modeling/utils
205 5
util.py
in modeling/coval/conll
73 2
tokenize.py
in modeling/qr_eval/qr/rouge
13 1
Files With Long Lines (Top 8)

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

File# lines# units# long lines
utils.py
in modeling/utils
122 7 12
model.py
in modeling
463 27 11
util.py
in modeling/coval/conll
73 2 7
process_data.py
in modeling/utils
205 5 6
main.py
in modeling
234 9 5
dataset.py
in modeling
255 12 3
evaluate.py
in modeling/utils
117 5 3
coref_utils.py
in modeling/utils
171 8 1