EPKB_Abstract_Block D

Total Complexity 135
Dependencies 9
Dependents 3
Total lines 718
Lines of code 404
Logical lines of code 242
Comment lines 162
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
update_kb_setting_on_save_post()
A
48 16 28
register_block_assets()
A
48 14 27
render_block()
A
48 10 30
sanitize_block_attributes()
A
50 10 28
get_block_config_defaults()
A
49 9 32
register_block_editor_assets()
A
49 9 25
get_attribute_types_and_defaults()
A
51 8 26
get_block_ui_config()
A
52 8 24
get_parsed_block_attributes_or_defaults()
S
58 7 14
register_block_type()
S
46 5 41
register_block_fonts()
S
54 6 21
get_block_ui_specs()
S
55 6 19
get_block_attributes_defaults()
S
59 4 14
filter_block_config_if_exists()
S
63 4 11
add_internal_kb_settings()
S
58 3 15
register_block_public_scripts()
S
57 1 15
__construct()
S
65 2 8
get_block_inline_styles()
S
65 2 8
get_the_block_script_handle_for_editor_only()
S
79 1 3
get_block_public_styles_handle()
S
80 1 3
get_block_public_scripts_handle()
S
82 1 3
is_block_available()
S
81 1 3
register_block_public_styles()
S
76 1 3
get_block_editor_styles_handle()
S
79 1 3
get_this_block_inline_styles()
S
100 1 0
render_block_inner()
S
100 1 0
get_this_block_ui_config()
S
100 1 0
get_this_block_typography_settings()
S
100 1 0
add_this_block_required_kb_attributes()
S
100 1 0