Jetpack_Gutenberg D

Total Complexity 160
Dependencies 16
Dependents 10
Total lines 1,247
Lines of code 598
Logical lines of code 273
Comment lines 514
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
enqueue_block_editor_assets()
A
33 11 96
validate_block_embed_url()
A
46 14 37
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
load_independent_blocks()
S
58 5 14
set_extension_unavailable()
S
59 4 15
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_extensions()
S
66 3 9
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
get_jetpack_gutenberg_extensions_allowed_list()
S
68 2 7
is_available()
S
77 2 3
load_assets_as_required()
S
67 2 8
prepend_block_prefix()
S
80 1 3
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
init()
S
79 1 3
is_registered()
S
80 1 3
reset()
S
73 1 5
get_blocks_directory()
S
79 1 3
block_has_asset()
S
79 1 3
preset_exists()
S
78 1 3
is_gutenberg_available()
S
81 1 3
get_preset()
S
73 1 5