dart-lang / csslib
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 21 files with 8,293 lines of code.
    • 2 very long files (3,353 lines of code)
    • 5 long files (3,163 lines of code)
    • 3 medium size files (1,183 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (178 lines of code)
    • 10 very small files (416 lines of code)
40% | 38% | 14% | 2% | 5%
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
dart40% | 38% | 14% | 2% | 4%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib81% | 0% | 18% | 0% | 0%
lib/src23% | 55% | 12% | 3% | 5%
example0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
parser.dart
in lib
2011 71
tree.dart
in lib/src
1342 37
property.dart
in lib/src
748 13
token_kind.dart
in lib/src
655 15
analyzer.dart
in lib/src
638 46
tree_printer.dart
in lib/src
592 88
css_printer.dart
in lib/src
530 82
visitor.dart
in lib
465 87
tokenizer.dart
in lib/src
375 22
tokenizer_base.dart
in lib/src
343 24
polyfill.dart
in lib/src
178 17
validate.dart
in lib/src
90 3
messages.dart
in lib/src
78 5
tree_base.dart
in lib/src
76 8
call_parser.dart
in example
74 2
token.dart
in lib/src
35 1
preprocessor_options.dart
in lib/src
21 1
call_parser.html
in example
12 -
pubspec.yaml
in root
12 -
analysis_options.yaml
in root
12 -
test.css
in example
6 -
Files With Most Units (Top 17)
File# lines# units
tree_printer.dart
in lib/src
592 88
visitor.dart
in lib
465 87
css_printer.dart
in lib/src
530 82
parser.dart
in lib
2011 71
analyzer.dart
in lib/src
638 46
tree.dart
in lib/src
1342 37
tokenizer_base.dart
in lib/src
343 24
tokenizer.dart
in lib/src
375 22
polyfill.dart
in lib/src
178 17
token_kind.dart
in lib/src
655 15
property.dart
in lib/src
748 13
tree_base.dart
in lib/src
76 8
messages.dart
in lib/src
78 5
validate.dart
in lib/src
90 3
call_parser.dart
in example
74 2
preprocessor_options.dart
in lib/src
21 1
token.dart
in lib/src
35 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines