Jetpack_Gutenberg D

Total Complexity 154
Dependencies 17
Dependents 9
Total lines 1,240
Lines of code 594
Logical lines of code 263
Comment lines 509
Methods 40
Properties 5

Methods 40

Method Rating Maintainability Complexity Lines of code
enqueue_block_editor_assets()
A
32 11 106
validate_block_embed_url()
A
46 14 37
blocks_variation()
A
48 9 38
load_scripts_as_required()
A
46 8 35
set_availability_for_plan()
A
48 8 34
is_gutenberg_version_available()
A
50 8 30
notice()
A
46 7 42
get_extensions_preset_for_variation()
S
55 7 21
get_render_callback_with_availability_check()
S
54 7 20
get_availability()
S
56 6 17
load_styles_as_required()
S
55 6 17
load_block_editor_extensions()
S
56 5 18
load_independent_blocks()
S
58 5 14
set_extension_unavailable()
S
59 4 15
load_assets_as_required()
S
58 4 15
should_load()
S
65 4 9
display_deprecated_block_message()
S
60 3 14
get_site_specific_features()
S
61 3 12
get_asset_version()
S
72 3 5
remove_extension_prefix()
S
69 3 6
should_show_frontend_preview()
S
68 3 7
get_extensions()
S
66 3 9
get_jetpack_gutenberg_extensions_allowed_list()
S
68 2 7
get_cached_availability()
S
71 2 6
get_available_extensions()
S
71 2 5
is_registered_and_no_entry_in_availability()
S
77 2 3
is_available()
S
77 2 3
block_has_asset()
S
79 1 3
get_preset()
S
73 1 5
block_classes()
S
74 1 4
get_blocks_directory()
S
79 1 3
reset()
S
73 1 5
init()
S
79 1 3
prepend_block_prefix()
S
80 1 3
upgrade_nudge()
S
68 1 8
set_extension_available()
S
78 1 3
is_gutenberg_available()
S
81 1 3
share_items()
S
78 1 3
is_registered()
S
80 1 3
preset_exists()
S
78 1 3