flutter / cocoon
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 274 files with 21,379 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,314 lines of code)
    • 27 medium size files (7,668 lines of codeclsfd_ftr_w_mp_ins)
    • 43 small files (5,824 lines of code)
    • 202 very small files (6,573 lines of code)
0% | 6% | 35% | 27% | 30%
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% | 6% | 39% | 26% | 26%
go0% | 0% | 0% | 46% | 53%
yaml0% | 0% | 0% | 44% | 55%
cpp0% | 0% | 0% | 50% | 49%
proto0% | 0% | 0% | 0% | 100%
cc0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
swift0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
kt0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
dashboard/lib0% | 16% | 43% | 13% | 27%
app_dart/lib0% | 5% | 40% | 27% | 26%
repo_dashboard/lib0% | 0% | 35% | 37% | 27%
device_doctor/lib0% | 0% | 64% | 12% | 22%
release_dashboard/lib0% | 0% | 24% | 38% | 36%
oneoff/cirrus_stats0% | 0% | 0% | 46% | 53%
dashboard/windows0% | 0% | 0% | 37% | 62%
licenses0% | 0% | 0% | 94% | 5%
dashboard0% | 0% | 0% | 82% | 17%
app_dart0% | 0% | 0% | 42% | 57%
app_dart/dev0% | 0% | 0% | 100% | 0%
release_dashboard/linux0% | 0% | 0% | 0% | 100%
dashboard/linux0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
release_dashboard0% | 0% | 0% | 0% | 100%
repo_dashboard/web0% | 0% | 0% | 0% | 100%
release_dashboard/macos0% | 0% | 0% | 0% | 100%
device_doctor/tool0% | 0% | 0% | 0% | 100%
dashboard/web0% | 0% | 0% | 0% | 100%
repo_dashboard0% | 0% | 0% | 0% | 100%
dashboard/macos0% | 0% | 0% | 0% | 100%
device_doctor0% | 0% | 0% | 0% | 100%
app_dart/integration_test0% | 0% | 0% | 0% | 100%
repo_dashboard/ios0% | 0% | 0% | 0% | 100%
dashboard/ios0% | 0% | 0% | 0% | 100%
dashboard/android0% | 0% | 0% | 0% | 100%
repo_dashboard/android0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
lattice.dart
in dashboard/lib/widgets
785 55
luci_build_service.dart
in app_dart/lib/src/service
529 11
flaky_handler_utils.dart
in app_dart/lib/src/request_handlers
487 16
github_webhook.dart
in app_dart/lib/src/request_handlers
464 16
check_for_waiting_pull_requests.dart
in app_dart/lib/src/request_handlers
450 10
buildbucket.dart
in app_dart/lib/src/model/luci
361 24
scheduler.pb.dart
in app_dart/lib/src/model/proto/internal
335 12
task.pb.dart
in dashboard/lib/model
328 19
scheduler.dart
in app_dart/lib/src/service
326 11
push_gold_status_to_github.dart
in app_dart/lib/src/request_handlers
309 10
android_device.dart
in device_doctor/lib/src
303 17
config.dart
in app_dart/lib/src/service
298 17
create_release_substeps.dart
in release_dashboard/lib/widgets
276 12
build_dashboard_page.dart
in dashboard/lib
276 9
infrastructure.dart
in repo_dashboard/lib/details
270 12
task_grid.dart
in dashboard/lib/widgets
265 11
build.dart
in dashboard/lib/state
255 16
task_overlay.dart
in dashboard/lib/widgets
244 8
dev_cocoon.dart
in dashboard/lib/service
238 9
luci.dart
in app_dart/lib/src/service
237 7
repository_status.dart
in repo_dashboard/lib/models
236 17
filter_property_sheet.dart
in dashboard/lib/widgets
233 17
conductor_status.dart
in release_dashboard/lib/widgets
221 9
task.dart
in app_dart/lib/src/model/appengine
220 3
repository.dart
in repo_dashboard/lib/details
217 14
appengine_cocoon.dart
in dashboard/lib/service
209 9
ios_device.dart
in device_doctor/lib/src
206 14
github_service.dart
in app_dart/lib/src/service
202 12
key_helper.pb.dart
in app_dart/lib/src/model/appengine
202 9
datastore.dart
in app_dart/lib/src/service
187 12
win32_window.cpp
in dashboard/windows/runner
183 12
merge_pr_substeps.dart
in release_dashboard/lib/widgets
180 6
bigquery.dart
in app_dart/lib/src/service
180 2
github_service.dart
in repo_dashboard/lib/services
176 16
key.pb.dart
in app_dart/lib/src/model/proto/internal
168 8
key.pb.dart
in dashboard/lib/model
168 8
roll.dart
in repo_dashboard/lib/details
164 6
push_message.dart
in app_dart/lib/src/model/luci
163 5
commit.pb.dart
in dashboard/lib/model
161 9
roll_history.dart
in repo_dashboard/lib/models
160 13
repository.dart
in repo_dashboard/lib
159 7
commit_box.dart
in dashboard/lib/widgets
159 8
utils.dart
in app_dart/lib/src/foundation
158 7
check_licenses.dart
in licenses
157 10
cherrypicks_substeps.dart
in release_dashboard/lib/widgets
154 6
check_flaky_builders.dart
in app_dart/lib/src/request_handlers
153 5
progression.dart
in release_dashboard/lib/widgets
146 5
refresh_chromebot_status.dart
in app_dart/lib/src/request_handlers
138 5
build_status_provider.dart
in app_dart/lib/src/service
134 7
task_grid_filter.dart
in dashboard/lib/logic
131 8
Files With Most Units (Top 20)
File# lines# units
lattice.dart
in dashboard/lib/widgets
785 55
buildbucket.dart
in app_dart/lib/src/model/luci
361 24
task.pb.dart
in dashboard/lib/model
328 19
android_device.dart
in device_doctor/lib/src
303 17
config.dart
in app_dart/lib/src/service
298 17
repository_status.dart
in repo_dashboard/lib/models
236 17
filter_property_sheet.dart
in dashboard/lib/widgets
233 17
github_webhook.dart
in app_dart/lib/src/request_handlers
464 16
flaky_handler_utils.dart
in app_dart/lib/src/request_handlers
487 16
github_service.dart
in repo_dashboard/lib/services
176 16
build.dart
in dashboard/lib/state
255 16
ios_device.dart
in device_doctor/lib/src
206 14
repository.dart
in repo_dashboard/lib/details
217 14
roll_history.dart
in repo_dashboard/lib/models
160 13
create_release_substeps.dart
in release_dashboard/lib/widgets
276 12
datastore.dart
in app_dart/lib/src/service
187 12
github_service.dart
in app_dart/lib/src/service
202 12
scheduler.pb.dart
in app_dart/lib/src/model/proto/internal
335 12
infrastructure.dart
in repo_dashboard/lib/details
270 12
win32_window.cpp
in dashboard/windows/runner
183 12
Files With Long Lines (Top 20)

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

File# lines# units# long lines
flaky_handler_utils.dart
in app_dart/lib/src/request_handlers
487 16 9
bigquery.dart
in app_dart/lib/src/service
180 2 6
repository.dart
in repo_dashboard/lib/details
217 14 5
cherrypicks_substeps.dart
in release_dashboard/lib/widgets
154 6 2
config.dart
in app_dart/lib/src/service
298 17 2
buildbucket.dart
in app_dart/lib/src/model/luci
361 24 2
proto
key_helper.proto
in app_dart/lib/src/model/appengine
36 - 2
key_helper.pbjson.dart
in app_dart/lib/src/model/appengine
33 - 2
scheduler.pbjson.dart
in app_dart/lib/src/model/proto/internal
107 - 2
settings.dart
in repo_dashboard/lib/details
93 7 2
pubspec.yaml
in device_doctor
17 - 1
check_licenses.dart
in licenses
157 10 1
publish_release_substeps.dart
in release_dashboard/lib/widgets
76 4 1
merge_pr_substeps.dart
in release_dashboard/lib/widgets
180 6 1
check_for_waiting_pull_requests.dart
in app_dart/lib/src/request_handlers
450 10 1
scheduler.dart
in app_dart/lib/src/service
326 11 1
infrastructure.dart
in repo_dashboard/lib/details
270 12 1
key.pbjson.dart
in dashboard/lib/model
28 - 1
commit_status.pbjson.dart
in dashboard/lib/model
14 - 1
commit.pbjson.dart
in dashboard/lib/model
19 - 1