dart-lang / source_gen
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 34 files with 1,389 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (226 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (534 lines of code)
    • 29 very small files (629 lines of code)
0% | 0% | 16% | 38% | 45%
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
dart0% | 0% | 20% | 36% | 42%
yaml0% | 0% | 0% | 44% | 55%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source_gen/lib/src0% | 0% | 24% | 45% | 29%
ROOT0% | 0% | 0% | 96% | 3%
source_gen/lib0% | 0% | 0% | 0% | 100%
example/lib/src0% | 0% | 0% | 0% | 100%
source_gen0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
example_usage0% | 0% | 0% | 0% | 100%
example/lib0% | 0% | 0% | 0% | 100%
_test_annotations0% | 0% | 0% | 0% | 100%
example_usage/lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 34)
File# lines# units
type_checker.dart
in source_gen/lib/src
226 11
reader.dart
in source_gen/lib/src/constants
162 4
utils.dart
in source_gen/lib/src
140 5
analysis_options.yaml
in root
126 -
revive.dart
in source_gen/lib/src/constants
106 2
builder.dart
in source_gen/lib
98 3
library.dart
in source_gen/lib/src
97 5
generator.dart
in source_gen/lib/src
36 1
span_for_element.dart
in source_gen/lib/src
34 1
generator_for_annotation.dart
in source_gen/lib/src
33 1
utils.dart
in source_gen/lib/src/constants
29 2
build.yaml
in example
28 -
output_helpers.dart
in source_gen/lib/src
26 1
pubspec.yaml
in source_gen
23 -
mono_pkg.yaml
in source_gen
20 -
builder.dart
in example/lib
17 -
build.yaml
in example_usage
17 -
generated_output.dart
in source_gen/lib/src
16 1
multiplier_generator.dart
in example/lib/src
15 1
property_sum_generator.dart
in example/lib/src
14 1
property_product_generator.dart
in example/lib/src
14 1
mono_pkg.yaml
in example_usage
14 -
member_count_library_generator.dart
in example/lib/src
13 1
pubspec.yaml
in example_usage
13 -
build.yaml
in source_gen
13 -
pubspec.yaml
in example
10 -
source_gen.dart
in source_gen/lib
10 -
utils.dart
in example/lib/src
9 -
mono_pkg.yaml
in example
6 -
library_source.dart
in example_usage/lib
6 -
mono_pkg.yaml
in _test_annotations
6 -
mono_repo.yaml
in root
5 -
annotations.dart
in example/lib
4 -
pubspec.yaml
in _test_annotations
3 -
Files With Most Units (Top 16)
File# lines# units
type_checker.dart
in source_gen/lib/src
226 11
library.dart
in source_gen/lib/src
97 5
utils.dart
in source_gen/lib/src
140 5
reader.dart
in source_gen/lib/src/constants
162 4
builder.dart
in source_gen/lib
98 3
utils.dart
in source_gen/lib/src/constants
29 2
revive.dart
in source_gen/lib/src/constants
106 2
property_sum_generator.dart
in example/lib/src
14 1
property_product_generator.dart
in example/lib/src
14 1
multiplier_generator.dart
in example/lib/src
15 1
member_count_library_generator.dart
in example/lib/src
13 1
span_for_element.dart
in source_gen/lib/src
34 1
generator_for_annotation.dart
in source_gen/lib/src
33 1
generator.dart
in source_gen/lib/src
36 1
output_helpers.dart
in source_gen/lib/src
26 1
generated_output.dart
in source_gen/lib/src
16 1
Files With Long Lines (Top 1)

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

File# lines# units# long lines
type_checker.dart
in source_gen/lib/src
226 11 1