flutter / tools_metadata
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 9,341 lines of code.
    • 2 very long files (8,657 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (508 lines of code)
    • 7 very small files (176 lines of code)
92% | 0% | 0% | 5% | 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
dart93% | 0% | 0% | 5% | 1%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tool/icon_generator/lib98% | 0% | 0% | 1% | 0%
tool/catalog0% | 0% | 0% | 100% | 0%
tool/icons0% | 0% | 0% | 100% | 0%
tool/colors0% | 0% | 0% | 63% | 36%
tool0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tool/icon_generator0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
material.dart
in tool/icon_generator/lib
7325 -
cupertino.dart
in tool/icon_generator/lib
1332 -
generate_widget_catalog.dart
in tool/catalog
151 5
main.dart
in tool/icon_generator/lib
134 4
update_icons.dart
in tool/icons
115 6
generate_files.dart
in tool/colors
108 7
update_colors.dart
in tool/colors
63 3
grind.dart
in tool
39 5
common.dart
in tool
38 3
pubspec.yaml
in tool/icon_generator
14 -
pubspec.yaml
in root
13 -
analysis_options.yaml
in root
8 -
analysis_options.yaml
in tool/icon_generator
1 -
Files With Most Units (Top 7)
File# lines# units
generate_files.dart
in tool/colors
108 7
update_icons.dart
in tool/icons
115 6
generate_widget_catalog.dart
in tool/catalog
151 5
grind.dart
in tool
39 5
main.dart
in tool/icon_generator/lib
134 4
common.dart
in tool
38 3
update_colors.dart
in tool/colors
63 3
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
material.dart
in tool/icon_generator/lib
7325 - 9
cupertino.dart
in tool/icon_generator/lib
1332 - 1