dart-lang / language
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 14 files with 21,692 lines of code.
    • 1 very long files (19,613 lines of code)
    • 0 long files (0 lines of code)
    • 7 medium size files (1,901 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (104 lines of code)
    • 5 very small files (74 lines of code)
90% | 0% | 8% | <1% | <1%
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
tex100% | 0% | 0% | 0% | 0%
dart0% | 0% | 94% | 0% | 5%
sml0% | 0% | 87% | 12% | 0%
sty0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
specification98% | 0% | 1% | 0% | <1%
working/macros/example0% | 0% | 100% | 0% | 0%
resources/variance0% | 0% | 82% | 17% | 0%
specification/scripts0% | 0% | 100% | 0% | 0%
resources/null-shorting0% | 0% | 100% | 0% | 0%
tools0% | 0% | 0% | 0% | 100%
working/macros0% | 0% | 0% | 0% | 100%
accepted/2.3/spread-collections/benchmarks0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
tex
dartLangSpec.tex
in specification
19613 -
sty
dart.sty
in specification
347 -
addlatexhash.dart
in specification/scripts
331 -
run.dart
in working/macros/example
254 2
sml
nullshort.sml
in resources/null-shorting
252 -
sml
widen.sml
in resources/variance
249 -
data_class.dart
in working/macros/example
241 12
sml
typeModel.sml
in resources/variance
227 -
sml
showWidening.sml
in resources/variance
104 -
plaintext_grammar.dart
in tools
47 -
pubspec.yaml
in working/macros
12 -
pubspec.yaml
in specification
8 -
pubspec.yaml
in accepted/2.3/spread-collections/benchmarks
4 -
analysis_options.yaml
in root
3 -
Files With Most Units (Top 2)
File# lines# units
data_class.dart
in working/macros/example
241 12
run.dart
in working/macros/example
254 2
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 12 long lines.

File# lines# units# long lines
tex
dartLangSpec.tex
in specification
19613 - 12