dart-lang / gcloud
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 3,304 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (529 lines of code)
    • 5 medium size files (1,945 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (483 lines of code)
    • 12 very small files (347 lines of code)
0% | 16% | 58% | 14% | 10%
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% | 16% | 59% | 14% | 9%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/src0% | 37% | 62% | 0% | <1%
lib/src/db0% | 0% | 73% | 16% | 10%
lib0% | 0% | 40% | 39% | 20%
ROOT0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
lib/db0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
storage_impl.dart
in lib/src
529 27
datastore_impl.dart
in lib/src
488 8
model_db_impl.dart
in lib/src/db
427 27
pubsub_impl.dart
in lib/src
392 32
storage.dart
in lib
331 12
db.dart
in lib/src/db
307 20
datastore.dart
in lib
192 5
annotations.dart
in lib/src/db
162 24
service_scope.dart
in lib
129 12
models.dart
in lib/src/db
82 2
pubsub.dart
in lib
78 6
common.dart
in lib
58 6
analysis_options.yaml
in root
21 -
db.dart
in lib
20 1
pubspec.yaml
in root
18 -
http.dart
in lib
15 1
main.dart
in example
15 1
metamodel.dart
in lib/db
14 -
model_db.dart
in lib/src/db
11 1
common_utils.dart
in lib/src
8 1
exceptions.dart
in lib/src/db
7 -
Files With Most Units (Top 17)
File# lines# units
pubsub_impl.dart
in lib/src
392 32
storage_impl.dart
in lib/src
529 27
model_db_impl.dart
in lib/src/db
427 27
annotations.dart
in lib/src/db
162 24
db.dart
in lib/src/db
307 20
service_scope.dart
in lib
129 12
storage.dart
in lib
331 12
datastore_impl.dart
in lib/src
488 8
pubsub.dart
in lib
78 6
common.dart
in lib
58 6
datastore.dart
in lib
192 5
models.dart
in lib/src/db
82 2
db.dart
in lib
20 1
http.dart
in lib
15 1
common_utils.dart
in lib/src
8 1
model_db.dart
in lib/src/db
11 1
main.dart
in example
15 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