Code Analysis: WordPress Header Builder Plugin – Pearl 1.3.8

Function Rating Maintainability Complexity Lines of code
stm_hb_google_fonts_array()
D
0
1 4,329
stm_fontawesome_list()
D
8
1 699
Pearl_Header_Builder::header_element_custom_styles()
C
35 31 74
stm_theme_options_array()
C
20
1 440
Pearl_Header_Builder::header_elements_styles()
B
29 9 162
Pearl_Header_Builder::get_custom_styled_elements_array()
A
33 6 123
stm_parse_control()
A
48 10 31
stm_icons_set()
A
47 8 35
stm_hb_get_wpml_langs()
A
49 7 34
array_extend_distinct()
A
57 8 18
stm_hb_import_header()
A
44 6 46
stm_output_vars()
S
41 5 59
stm_hb_locate_builder_element()
S
52 7 25
stm_hb_delete()
S
55 7 19
array_has()
S
58 7 15
stm_save_hb_settings()
S
53 6 23
stm_get_theme_options_pairs()
S
55 6 20
stm_builder_elements()
S
38 1 92
stm_set_theme_options_pairs()
S
57 6 17
array_remove()
S
57 6 17
array_get()
S
59 6 15
stm_hb_add_new()
S
58 6 15
array_extend()
S
60 6 13
stm_hb_js_translations()
S
37 1 86
array_set()
S
58 5 15
array_reset()
S
60 5 14
array_is_associative()
S
60 5 14
stm_header_builder_styles()
S
45 3 42
stm_hb_get_dropdown()
S
60 4 14
stm_hb_get_option()
S
62 4 11
stm_hb_get_style()
S
53 3 26
stm_hb_import_header_file()
S
57 3 16
stm_get_pages()
S
58 3 16
stm_get_menus()
S
62 3 12
array_dot()
S
62 3 11
stm_available_socials()
S
48 1 31
stm_hb_get_thumbnail()
S
63 3 10
stm_hb_element_style()
S
68 3 7
stm_hb_save_name()
S
65 3 9
stm_hb_get_image_url()
S
64 3 10
stm_hb_array_to_style_string()
S
62 2 12
stm_get_assets_path()
S
60 2 12
Pearl_Header_Builder::__construct()
S
71 2 5
stm_hb_default_name()
S
69 2 7
stm_hb_get_cart_url()
S
74 2 4
stm_get_fw()
S
58 1 15
array_first()
S
72 2 6
stm_hb_color_treads()
S
74 2 4
array_add()
S
65 2 9
array_last()
S
71 2 6
Pearl_Header_Builder::build()
S
75 2 4
array_take()
S
69 2 7
array_is_indexed()
S
71 2 6
stm_hb_current_hb()
S
69 2 7
stm_hb_cart_fragments()
S
61 1 13
stm_hb_export_header()
S
61 1 12
stm_hb_register_startup_screen()
S
65 1 11
stm_header_builder_view()
S
69 1 11
array_contains()
S
79 1 3
stm_hb_check_string()
S
81 1 3
stm_hb_load_scripts_and_styles()
S
62 1 10
stm_hb_variants_name()
S
83 1 3
stm_hb_save_prefix()
S
83 1 3
stm_hb()
S
75 1 5
stm_set_default_to()
S
77 1 4
stm_hb_variants()
S
81 1 3
stm_get_hb_variants()
S
70 1 6
Pearl_Header_Builder::build_from_shortcode()
S
68 1 7
stm_update_theme_options()
S
70 1 6
stm_hb_random()
S
71 1 5
Pearl_Header_Builder::inline_scripts()
S
65 1 9
stm_hb_load_element()
S
75 1 4
stm_hb_update_custom_styles_admin()
S
76 1 4
stm_hb_text_sanitize()
S
83 1 3
stm_hb_parts()
S
71 1 6