Code Analysis: Shinobi Blocks 1.0.5

Function Rating Maintainability Complexity Lines of code
Shinobi_Blocks\App\Factory\HowTo::save_post()
A
39 11 69
Shinobi_Blocks\App\Factory\HowTo::get_how_to_step_dot_color()
A
51 11 24
Shinobi_Blocks\App\Factory\HowTo::get_how_to_step_item_content()
S
51 7 25
Shinobi_Blocks\App\Factory::_save_post()
S
54 6 21
Shinobi_Blocks\App\Factory\FAQ::save_post()
S
49 5 33
Shinobi_Blocks\App\RestAPI::register_rest_route()
S
49 4 38
shinobi_blocks_config()
S
59 5 14
Shinobi_Blocks\App\Assets::is_shinobi_blocks()
S
61 5 12
Shinobi_Blocks\App\Factory\HowTo::get_how_to_step_option_value()
S
61 5 12
Shinobi_Blocks\App\Factory\FAQ::generate_faq_data()
S
53 4 23
Shinobi_Blocks\App\Factory\HowTo::generate_how_to_data()
S
57 4 17
Shinobi_Blocks\App\Factory\FAQ::add_structured_data_to_head()
S
60 4 13
Shinobi_Blocks\App\Factory::delete_option_value()
S
63 4 12
Shinobi_Blocks\App\Factory\FAQ::get_answer_regex()
S
61 4 12
Shinobi_Blocks\App\Factory\FAQ::get_answer()
S
54 3 22
Shinobi_Blocks\Bootstrap::register_block_type()
S
58 3 16
Shinobi_Blocks\App\Factory::preg_match()
S
65 3 9
Shinobi_Blocks\App\Factory\HowTo::get_heading()
S
64 3 9
Shinobi_Blocks\App\Assets::wp_enqueue_style()
S
67 3 8
Shinobi_Blocks\App\Assets::wp_add_inline_style()
S
63 3 10
Shinobi_Blocks\App\Assets::add_inline_style_inside_amp_head()
S
64 3 10
Shinobi_Blocks\App\Assets::is_amp_page()
S
67 3 7
Shinobi_Blocks\Bootstrap::block_categories()
S
62 2 11
Shinobi_Blocks\App\Factory\HowTo::get_description()
S
78 2 3
Shinobi_Blocks\App\Factory\FAQ::__construct()
S
70 2 5
Shinobi_Blocks\App\Factory\FAQ::get_data()
S
72 2 5
Shinobi_Blocks\App\Factory\HowTo::is_section()
S
78 2 3
Shinobi_Blocks\App\Factory\HowTo::add_structured_data_to_head()
S
70 2 6
Shinobi_Blocks\App\Factory\FAQ::get_question()
S
75 2 4
Shinobi_Blocks\App\Factory\HowTo::add_inline_style_inside_amp_head()
S
69 2 7
Shinobi_Blocks\App\Factory::preg_match_all()
S
77 2 3
Shinobi_Blocks\App\Factory::get_save_post_id()
S
70 2 7
Shinobi_Blocks\App\Factory\HowTo::__construct()
S
68 2 6
Shinobi_Blocks\App\Factory::is_shinobi_blocks()
S
77 2 3
Shinobi_Blocks\App\Assets::wp_enqueue_script_for_backend()
S
65 2 9
Shinobi_Blocks\App\Assets::enqueue_block_assets()
S
72 2 6
Shinobi_Blocks\App\Assets::wp_enqueue_editor_style()
S
68 2 8
Shinobi_Blocks\App\Assets::wp_set_script_translations()
S
79 1 3
Shinobi_Blocks\App\Factory\HowTo::get_how_to_data()
S
75 1 4
Shinobi_Blocks\App\Factory\HowTo::get_how_to_step_all_option_value()
S
80 1 3
Shinobi_Blocks\App\Assets::get_inline_style()
S
74 1 5
Shinobi_Blocks\App\Assets::enqueue_block_editor_assets()
S
72 1 7
Shinobi_Blocks\Bootstrap::bootstrap()
S
65 1 9
Shinobi_Blocks\App\Factory::__construct()
S
78 1 3
Shinobi_Blocks\App\Factory::is_text()
S
79 1 3
Shinobi_Blocks\App\RestAPI::__construct()
S
79 1 3
Shinobi_Blocks\App\Factory\HowTo::get_how_to_section_data()
S
75 1 4
Shinobi_Blocks\App\Factory::mb_trim()
S
78 1 3
Shinobi_Blocks\Bootstrap::__construct()
S
79 1 3
Shinobi_Blocks\App\Factory\HowTo::get_how_to_step_data()
S
75 1 4
Shinobi_Blocks\App\Assets::wp_localize_script()
S
65 1 10
Shinobi_Blocks\App\Assets::__construct()
S
71 1 5