Jetpack_Gutenberg D

Total Complexity 155
Dependencies 14
Dependents 9
Total lines 1,219
Lines of code 571
Logical lines of code 265
Comment lines 516
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
37 9 77
add_iframed_editor_style()
A
46 11 36
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
56 6 16
load_block_editor_extensions()
S
56 5 18
set_extension_unavailable()
S
59 4 15
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
get_asset_version()
S
72 3 5
load_assets_as_required()
S
67 2 8
init()
S
67 2 8
get_available_extensions()
S
71 2 5
is_registered_and_no_entry_in_availability()
S
77 2 3
get_jetpack_gutenberg_extensions_allowed_list()
S
68 2 7
is_available()
S
77 2 3
get_cached_availability()
S
71 2 6
share_items()
S
78 1 3
upgrade_nudge()
S
68 1 8
set_extension_available()
S
78 1 3
block_classes()
S
74 1 4
prepend_block_prefix()
S
80 1 3
is_registered()
S
80 1 3
is_gutenberg_available()
S
81 1 3
reset()
S
74 1 5
get_blocks_directory()
S
79 1 3
block_has_asset()
S
79 1 3
preset_exists()
S
78 1 3
get_preset()
S
73 1 5