Jetpack_Gutenberg D

Total Complexity 151
Dependencies 13
Dependents 10
Total lines 1,151
Lines of code 532
Logical lines of code 257
Comment lines 490
Methods 39
Properties 4

Methods 39

Method Rating Maintainability Complexity Lines of code
validate_block_embed_url()
A
46 14 37
enqueue_block_editor_assets()
A
39 9 66
add_iframed_editor_style()
A
46 11 35
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
48 7 37
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
56 6 16
load_block_editor_extensions()
S
56 5 18
set_extension_unavailable()
S
59 4 15
init()
S
59 4 14
should_load()
S
65 4 9
load_independent_blocks()
S
63 4 10
get_site_specific_features()
S
61 3 12
remove_extension_prefix()
S
69 3 6
should_show_frontend_preview()
S
68 3 7
blocks_variation()
S
64 3 10
get_asset_version()
S
72 3 5
load_assets_as_required()
S
67 2 8
is_available()
S
77 2 3
get_jetpack_gutenberg_extensions_allowed_list()
S
68 2 7
get_available_extensions()
S
71 2 5
is_registered_and_no_entry_in_availability()
S
77 2 3
get_cached_availability()
S
71 2 6
is_gutenberg_available()
S
81 1 3
is_registered()
S
80 1 3
block_classes()
S
74 1 4
get_blocks_directory()
S
79 1 3
prepend_block_prefix()
S
80 1 3
set_extension_available()
S
78 1 3
reset()
S
74 1 5
upgrade_nudge()
S
68 1 8
share_items()
S
78 1 3
get_preset()
S
73 1 5
block_has_asset()
S
79 1 3
preset_exists()
S
78 1 3