EPKB_Abstract_Block C

Total Complexity 116
Dependencies 9
Dependents 2
Total lines 911
Lines of code 584
Logical lines of code 220
Comment lines 165
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
render_block()
A
48 10 30
get_block_config_defaults()
A
49 9 32
get_typography_control_font_appearance()
A
33 1 146
get_block_ui_config()
A
52 8 24
add_kb_block_page_template_if_missing()
A
43 6 50
register_block_assets()
S
48 6 29
register_block_editor_assets()
S
57 7 13
inject_attributes_custom_specs()
S
52 6 24
register_block_fonts()
S
54 6 21
get_parsed_block_attributes_or_defaults()
S
58 6 14
filter_block_templates_by_post_type()
S
61 6 11
get_kb_id_setting()
S
52 5 25
get_typography_control_font_size()
S
50 3 31
print_block_fonts()
S
66 5 8
get_block_attributes_defaults()
S
60 4 13
filter_block_config_if_exists()
S
67 3 8
register_block_category()
S
67 3 7
add_block_category()
S
61 2 13
add_internal_kb_settings()
S
61 2 12
initialize()
S
68 2 8
get_font_appearance_style()
S
74 1 4
get_this_block_typography_settings()
S
100 1 0
get_this_block_inline_styles()
S
100 1 0
render_block_inner()
S
100 1 0
get_font_appearance_weight()
S
74 1 4
get_this_block_ui_config()
S
100 1 0
__construct()
S
66 1 7
get_kb_block_template_mention()
S
65 1 9
get_typography_control_font_family()
S
68 1 7
get_custom_css_class_setting()
S
67 1 8
get_block_json_attributes()
S
68 1 7
get_block_public_styles_handle()
S
80 1 3
get_block_editor_script_handle()
S
79 1 3
get_block_editor_styles_handle()
S
79 1 3
register_block_type()
S
64 1 10
add_this_block_required_kb_attributes()
S
100 1 0