Jetpack_Gutenberg D

Total Complexity 161
Dependencies 17
Dependents 10
Total lines 1,272
Lines of code 595
Logical lines of code 275
Comment lines 539
Methods 41
Properties 4

Methods 41

Method Rating Maintainability Complexity Lines of code
validate_block_embed_url()
A
46 14 37
enqueue_block_editor_assets()
A
35 10 85
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
is_newsletter_configured()
S
60 4 13
load_independent_blocks()
S
63 4 10
should_load()
S
65 4 9
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
get_cached_availability()
S
71 2 6
is_available()
S
77 2 3
init()
S
67 2 8
load_assets_as_required()
S
67 2 8
is_registered_and_no_entry_in_availability()
S
77 2 3
get_jetpack_gutenberg_extensions_allowed_list()
S
68 2 7
get_available_extensions()
S
71 2 5
share_items()
S
78 1 3
set_extension_available()
S
78 1 3
upgrade_nudge()
S
68 1 8
get_preset()
S
73 1 5
block_classes()
S
74 1 4
reset()
S
74 1 5
get_blocks_directory()
S
79 1 3
preset_exists()
S
78 1 3
prepend_block_prefix()
S
80 1 3
is_gutenberg_available()
S
81 1 3
is_registered()
S
80 1 3
get_extensions()
S
80 1 3
block_has_asset()
S
79 1 3