dart-lang / webdev
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 161 files with 13,190 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,102 lines of code)
    • 11 medium size files (3,521 lines of codeclsfd_ftr_w_mp_ins)
    • 23 small files (3,562 lines of code)
    • 124 very small files (4,005 lines of code)
0% | 15% | 26% | 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% | 16% | 28% | 27% | 27%
yaml0% | 0% | 0% | 21% | 78%
html0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
dwds/lib0% | 21% | 31% | 21% | 25%
frontend_server_common/lib0% | 46% | 16% | 24% | 12%
dwds/debug_extension0% | 0% | 83% | 0% | 16%
webdev/lib0% | 0% | 17% | 45% | 37%
frontend_server_client/lib0% | 0% | 59% | 29% | 11%
dwds/web0% | 0% | 0% | 70% | 29%
example/web0% | 0% | 0% | 79% | 20%
ROOT0% | 0% | 0% | 83% | 16%
fixtures/_webdevSmoke0% | 0% | 0% | 69% | 30%
frontend_server_client/example0% | 0% | 0% | 0% | 100%
fixtures/_test0% | 0% | 0% | 0% | 100%
fixtures/_testSound0% | 0% | 0% | 0% | 100%
dwds0% | 0% | 0% | 0% | 100%
fixtures/_testPackageSound0% | 0% | 0% | 0% | 100%
fixtures/_testPackage0% | 0% | 0% | 0% | 100%
webdev0% | 0% | 0% | 0% | 100%
frontend_server_client0% | 0% | 0% | 0% | 100%
fixtures/_webdevSoundSmoke0% | 0% | 0% | 0% | 100%
frontend_server_common0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
dwds/tool0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
chrome_proxy_service.dart
in dwds/lib/src/services
855 70
frontend_server_client.dart
in frontend_server_common/lib/src
627 30
debugger.dart
in dwds/lib/src/debugging
620 36
background.dart
in dwds/debug_extension/web
490 22
dev_handler.dart
in dwds/lib/src/handlers
476 16
inspector.dart
in dwds/lib/src/debugging
414 22
instance.dart
in dwds/lib/src/debugging
339 16
configuration.dart
in webdev/lib/src/command
325 4
frontend_server_client.dart
in frontend_server_client/lib/src
302 11
expression_compiler_service.dart
in dwds/lib/src/services
253 7
debug_service.dart
in dwds/lib/src/services
248 6
extension_debugger.dart
in dwds/lib/src/servers
240 12
asset_server.dart
in frontend_server_common/lib/src
222 10
dwds_vm_client.dart
in dwds/lib/src
212 4
app_domain.dart
in webdev/lib/src/daemon
191 6
classes.dart
in dwds/lib/src/debugging
191 1
expression_evaluator.dart
in dwds/lib/src/services
190 7
require_restarter.dart
in dwds/web/reloader
188 9
client.dart
in dwds/web
186 2
dev_workflow.dart
in webdev/lib/src/serve
181 7
location.dart
in dwds/lib/src/debugging
175 3
injector.dart
in dwds/lib/src/handlers
174 2
devfs.dart
in frontend_server_common/lib/src
173 5
webdev_server.dart
in webdev/lib/src/serve
170 2
dwds.dart
in dwds/lib
167 3
pubspec.dart
in webdev/lib/src
164 5
devfs_content.dart
in frontend_server_common/lib/src
162 8
provider.dart
in dwds/lib/src/debugging/metadata
156 3
dartdevc_frontend_server_client.dart
in frontend_server_client/lib/src
151 10
shared.dart
in webdev/lib/src/command
144 6
require.dart
in dwds/lib/src/loaders
133 -
dart_uri.dart
in dwds/lib/src/utilities
126 7
scopes_main.dart
in example/web
117 7
analysis_options.yaml
in root
109 -
conversions.dart
in dwds/lib/src/utilities
107 9
scopes_main.dart
in fixtures/_webdevSmoke/web
106 6
events.dart
in dwds/lib/src
101 5
web_client.dart
in frontend_server_client/example
100 3
daemon_command.dart
in webdev/lib/src/command
99 2
libraries.dart
in dwds/lib/src/debugging
97 3
module_metadata.dart
in dwds/lib/src/debugging/metadata
97 4
build_command.dart
in webdev/lib/src/command
94 1
frame_computer.dart
in dwds/lib/src/debugging
90 4
serve_command.dart
in webdev/lib/src/command
87 1
main.dart
in fixtures/_testPackageSound/web
87 14
webkit_debugger.dart
in dwds/lib/src/debugging
84 5
ddc_names.dart
in dwds/lib/src/utilities
84 3
resident_runner.dart
in frontend_server_common/lib/src
83 3
main.dart
in fixtures/_test/example/hello_world
82 4
socket_connections.dart
in dwds/lib/src/handlers
81 1
Files With Most Units (Top 20)
File# lines# units
chrome_proxy_service.dart
in dwds/lib/src/services
855 70
debugger.dart
in dwds/lib/src/debugging
620 36
frontend_server_client.dart
in frontend_server_common/lib/src
627 30
background.dart
in dwds/debug_extension/web
490 22
inspector.dart
in dwds/lib/src/debugging
414 22
instance.dart
in dwds/lib/src/debugging
339 16
dev_handler.dart
in dwds/lib/src/handlers
476 16
main.dart
in fixtures/_testPackageSound/web
87 14
extension_debugger.dart
in dwds/lib/src/servers
240 12
main.dart
in fixtures/_testPackage/web
78 12
frontend_server_client.dart
in frontend_server_client/lib/src
302 11
dartdevc_frontend_server_client.dart
in frontend_server_client/lib/src
151 10
asset_server.dart
in frontend_server_common/lib/src
222 10
conversions.dart
in dwds/lib/src/utilities
107 9
require_restarter.dart
in dwds/web/reloader
188 9
devfs_content.dart
in frontend_server_common/lib/src
162 8
scopes_main.dart
in example/web
117 7
dev_workflow.dart
in webdev/lib/src/serve
181 7
expression_compiler_service.dart
in dwds/lib/src/services
253 7
expression_evaluator.dart
in dwds/lib/src/services
190 7
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
bootstrap.dart
in frontend_server_common/lib/src
40 2 1