dart-lang / webcore
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 55 files with 9,443 lines of code.
    • 0 very long files (0 lines of code)
    • 4 long files (2,986 lines of code)
    • 11 medium size files (3,443 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,829 lines of code)
    • 28 very small files (1,185 lines of code)
0% | 31% | 36% | 19% | 12%
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
py0% | 31% | 36% | 19% | 12%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
bindings/scripts0% | 33% | 37% | 19% | 10%
idl_parser0% | 68% | 0% | 31% | 0%
modules/bluetooth/testing/clusterfuzz0% | 0% | 52% | 22% | 25%
blink/tools0% | 0% | 86% | 0% | 13%
blink/tools/blinkpy/common0% | 0% | 0% | 0% | 100%
core/frame0% | 0% | 0% | 0% | 100%
bindings0% | 0% | 0% | 0% | 100%
core/inspector0% | 0% | 0% | 0% | 100%
modules/webgl0% | 0% | 0% | 0% | 100%
blink/tools/blinkpy0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
v8_interface.py
in bindings/scripts
912 30
idl_definitions.py
in bindings/scripts
719 70
v8_types.py
in bindings/scripts
690 37
idl_parser.py
in idl_parser
665 137
move_blink_source.py
in blink/tools
417 26
v8_attributes.py
in bindings/scripts
409 26
v8_utilities.py
in bindings/scripts
388 49
v8_methods.py
in bindings/scripts
371 22
idl_types.py
in bindings/scripts
355 83
utilities.py
in bindings/scripts
344 56
code_generator_v8.py
in bindings/scripts
292 25
gatt_aliases.py
in modules/bluetooth/testing/clusterfuzz
235 -
compute_interfaces_info_individual.py
in bindings/scripts
222 14
constraints.py
in modules/bluetooth/testing/clusterfuzz
206 26
v8_dictionary.py
in bindings/scripts
204 9
generate_v8_context_snapshot_external_references.py
in bindings/scripts
196 9
wbt_fakes.py
in modules/bluetooth/testing/clusterfuzz
192 -
idl_lexer.py
in idl_parser
183 23
code_generator_web_agent_api.py
in bindings/scripts
173 27
generate_conditional_features.py
in bindings/scripts
161 9
compute_interfaces_info_overall.py
in bindings/scripts
149 6
interface_dependency_resolver.py
in bindings/scripts
139 5
v8_union.py
in bindings/scripts
138 3
idl_compiler.py
in bindings/scripts
131 9
code_generator.py
in bindings/scripts
130 13
idl_node.py
in idl_parser
128 26
generate_global_constructors.py
in bindings/scripts
109 7
v8_callback_interface.py
in bindings/scripts
97 6
name_style_converter.py
in blink/tools/blinkpy/common
85 8
v8_callback_function.py
in bindings/scripts
84 3
fuzz_main_run.py
in modules/bluetooth/testing/clusterfuzz
84 4
generate_event_interfaces.py
in bindings/scripts
79 3
idl_reader.py
in bindings/scripts
69 4
setup.py
in modules/bluetooth/testing/clusterfuzz
68 3
compute_global_objects.py
in bindings/scripts
66 5
generate_init_partial_interfaces.py
in bindings/scripts
66 3
idl_validator.py
in bindings/scripts
65 5
plan_blink_move.py
in blink/tools
60 4
blink_idl_parser.py
in bindings/scripts
58 2
aggregate_generated_bindings.py
in bindings/scripts
47 4
blink_idl_lexer.py
in bindings/scripts
43 2
PRESUBMIT.py
in core/frame
40 3
parameter_fuzzer.py
in modules/bluetooth/testing/clusterfuzz
40 1
overload_set_algorithm.py
in bindings/scripts
39 4
PRESUBMIT.py
in bindings
33 3
PRESUBMIT.py
in core/inspector
22 3
PRESUBMIT.py
in modules/bluetooth/testing/clusterfuzz
15 3
PRESUBMIT.py
in modules/webgl
8 1
compile_devtools_frontend.py
in blink/tools
7 -
fuzzer_helpers.py
in modules/bluetooth/testing/clusterfuzz
5 1
Files With Most Units (Top 20)
File# lines# units
idl_parser.py
in idl_parser
665 137
idl_types.py
in bindings/scripts
355 83
idl_definitions.py
in bindings/scripts
719 70
utilities.py
in bindings/scripts
344 56
v8_utilities.py
in bindings/scripts
388 49
v8_types.py
in bindings/scripts
690 37
v8_interface.py
in bindings/scripts
912 30
code_generator_web_agent_api.py
in bindings/scripts
173 27
v8_attributes.py
in bindings/scripts
409 26
move_blink_source.py
in blink/tools
417 26
constraints.py
in modules/bluetooth/testing/clusterfuzz
206 26
idl_node.py
in idl_parser
128 26
code_generator_v8.py
in bindings/scripts
292 25
idl_lexer.py
in idl_parser
183 23
v8_methods.py
in bindings/scripts
371 22
compute_interfaces_info_individual.py
in bindings/scripts
222 14
code_generator.py
in bindings/scripts
130 13
v8_dictionary.py
in bindings/scripts
204 9
idl_compiler.py
in bindings/scripts
131 9
generate_conditional_features.py
in bindings/scripts
161 9
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 39 long lines.

File# lines# units# long lines
v8_types.py
in bindings/scripts
690 37 11
v8_methods.py
in bindings/scripts
371 22 5
v8_interface.py
in bindings/scripts
912 30 5
v8_attributes.py
in bindings/scripts
409 26 4
interface_dependency_resolver.py
in bindings/scripts
139 5 3
utilities.py
in bindings/scripts
344 56 3
idl_definitions.py
in bindings/scripts
719 70 3
compute_interfaces_info_individual.py
in bindings/scripts
222 14 1
idl_reader.py
in bindings/scripts
69 4 1
compute_interfaces_info_overall.py
in bindings/scripts
149 6 1
generate_init_partial_interfaces.py
in bindings/scripts
66 3 1
PRESUBMIT.py
in bindings
33 3 1