dart-lang / bazel_worker
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 26 files with 1,116 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (230 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (271 lines of code)
    • 23 very small files (615 lines of code)
0% | 0% | 20% | 24% | 55%
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% | 21% | 25% | 52%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/src0% | 0% | 55% | 0% | 44%
lib0% | 0% | 0% | 91% | 8%
lib/src/driver0% | 0% | 0% | 61% | 38%
lib/src/worker0% | 0% | 0% | 0% | 100%
benchmark0% | 0% | 0% | 0% | 100%
e2e_test/lib0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
e2e_test0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
worker_protocol.pb.dart
in lib/src
230 6
testing.dart
in lib
136 16
driver.dart
in lib/src/driver
135 7
worker_connection.dart
in lib/src/worker
84 8
driver_connection.dart
in lib/src/driver
83 7
async_message_grouper.dart
in lib/src
74 1
message_grouper_state.dart
in lib/src
66 4
benchmark.dart
in benchmark
43 2
async_worker_loop.dart
in lib/src/worker
37 1
sync_worker_loop.dart
in lib/src/worker
36 1
sync_message_grouper.dart
in lib/src
22 -
client.dart
in example
20 1
analysis_options.yaml
in e2e_test
19 -
analysis_options.yaml
in root
19 -
forwards_to_isolate_async_worker.dart
in e2e_test/lib
18 2
async_worker.dart
in e2e_test/lib
13 1
utils.dart
in lib/src
13 1
pubspec.yaml
in root
13 -
worker.dart
in example
12 2
pubspec.yaml
in e2e_test
11 -
sync_worker.dart
in e2e_test/lib
9 1
bazel_worker.dart
in lib
7 -
driver.dart
in lib
5 -
worker_loop.dart
in lib/src/worker
5 -
constants.dart
in lib/src
3 -
message_grouper.dart
in lib/src
3 -
Files With Most Units (Top 16)
File# lines# units
testing.dart
in lib
136 16
worker_connection.dart
in lib/src/worker
84 8
driver.dart
in lib/src/driver
135 7
driver_connection.dart
in lib/src/driver
83 7
worker_protocol.pb.dart
in lib/src
230 6
message_grouper_state.dart
in lib/src
66 4
forwards_to_isolate_async_worker.dart
in e2e_test/lib
18 2
worker.dart
in example
12 2
benchmark.dart
in benchmark
43 2
async_worker.dart
in e2e_test/lib
13 1
sync_worker.dart
in e2e_test/lib
9 1
async_message_grouper.dart
in lib/src
74 1
sync_worker_loop.dart
in lib/src/worker
36 1
async_worker_loop.dart
in lib/src/worker
37 1
utils.dart
in lib/src
13 1
client.dart
in example
20 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