Code Analysis: MyAgilePrivacy 1.3.6

Function Rating Maintainability Complexity Lines of code
MyAgilePrivacyAdmin::sync_cookies_and_fixed_texts()
D
0
182 896
MyAgilePrivacyFrontend::map_callback()
D
0
170 602
agile_simple_html_dom_node::seek()
D
22
66 157
agile_simple_html_dom::read_tag()
D
21
58 185
MyAgilePrivacyAdmin::update_admin_settings_form_callback()
D
22
39 205
MyAgilePrivacy::sanitise_settings()
D
33 45 77
MyAgilePrivacyAdmin::admin_footer()
D
25
38 175
MyAgilePrivacyFrontend::internal_save_detected_keys()
D
26
38 159
MyAgilePrivacyAdmin::save_custom_metabox_cookies()
D
27
37 157
MyAgilePrivacyFrontend::map_buffer_start()
C
30 28 125
MyAgilePrivacyFrontend::myagileprivacy_fixed_text()
C
30 28 119
MyAgilePrivacyAdmin::save_custom_metabox_policies()
C
31 27 117
agile_simple_html_dom::parse_charset()
C
34 27 93
MyAgilePrivacyAdmin::import_admin_settings_form_callback()
C
30 21 122
MyAgilePrivacy::check_buffer_skip_conditions()
C
50 27 19
agile_simple_html_dom_node::parse_selector()
B
40 22 58
MyAgilePrivacyFrontend::get_head_script_string()
B
37 21 71
MyAgilePrivacyAdmin::manage_cookies_posts_custom_columns()
B
40 18 67
MyAgilePrivacyFrontend::myagileprivacy_link()
B
39 17 69
MyAgilePrivacyAdmin::backup_admin_settings_form_callback()
B
34 14 101
agile_simple_html_dom_node::outertext()
B
44 17 41
MyAgilePrivacyAdmin::triggerInternalCookiesRefresh()
B
39 15 70
MyAgilePrivacyAdmin::metabox_script_installation()
A
35 12 100
agile_simple_html_dom_node::get_display_size()
A
44 14 47
MyAgilePrivacyFrontend::myagileprivacy_cookie_customize_button()
A
40 13 58
agile_simple_html_dom_node::find()
A
47 14 33
MyAgilePrivacyFrontend::myagileprivacy_cookie_accept_button()
A
42 12 52
MyAgilePrivacyFrontend::myagileprivacy_cookie_reject_button()
A
42 12 52
agile_simple_html_dom_node::is_utf8()
A
50 13 25
agile_simple_html_dom_node::convert_text()
A
47 12 38
MyAgilePrivacy::frontend_hooks()
A
45 11 38
MyAgilePrivacyAdmin::add_admin_pages()
A
44 10 51
agile_simple_html_dom_node::dump_node()
A
45 10 44
agile_simple_html_dom_node::text()
A
51 11 25
MyAgilePrivacyAdmin::do_cron_sync()
A
44 9 53
agile_simple_html_dom::parse_attr()
A
48 10 32
agile_simple_html_dom_node::match()
A
51 10 25
agile_simple_html_dom_node::makeup()
A
49 8 31
MyAgilePrivacy::allowed_html_tags()
A
35 2 120
MyAgilePrivacyFrontend::get_cookie_categories_description()
A
42 6 54
agile_simple_html_dom_node::removeChild()
A
53 8 22
MyAgilePrivacyAdmin::map_order_post_type()
A
56 8 18
MyAgilePrivacy::is_wplogin()
S
59 8 12
agile_simple_html_dom::clear()
S
54 7 24
agile_simple_html_dom_node::addClass()
S
54 7 22
agile_simple_html_dom::restore_noise()
S
49 6 32
MyAgilePrivacyAdmin::metabox_map_allow_sync()
S
51 6 26
MyAgilePrivacyFrontend::register_custom_post_type()
S
36 1 99
MyAgilePrivacy::get_default_settings()
S
39 3 69
agile_simple_html_dom::remove_noise()
S
52 6 23
agile_simple_html_dom_node::removeClass()
S
56 6 20
agile_simple_html_dom_node::find_ancestor_tag()
S
56 6 18
agile_simple_html_dom_node::__set()
S
56 6 17
agile_simple_html_dom_node::dump()
S
57 6 16
MyAgilePrivacy::write_log()
S
56 6 15
agile_simple_html_dom::__get()
S
61 6 14
agile_simple_html_dom_node::__get()
S
61 6 12
MyAgilePrivacy::admin_hooks()
S
45 4 39
agile_simple_html_dom::__construct()
S
56 5 20
MyAgilePrivacyFrontend::__construct()
S
56 5 17
MyAgilePrivacyFrontend::inject_html_code()
S
62 6 10
shd_file_get_html()
S
53 4 24
MyAgilePrivacyAdmin::manage_policies_posts_custom_columns()
S
56 4 23
add_content_after_editor()
S
54 4 22
MyAgilePrivacyFrontend::myagileprivacy_blocked_content_notification()
S
55 4 21
agile_simple_html_dom::parse()
S
58 4 15
agile_simple_html_dom_node::__isset()
S
66 5 8
MyAgilePrivacyAdmin::metabox_map_is_necessary()
S
58 4 15
MyAgilePrivacyAdmin::inline_help_text_after_editor()
S
50 3 30
agile_simple_html_dom::copy_until_char()
S
59 4 14
agile_simple_html_dom_node::innertext()
S
61 4 13
agile_simple_html_dom_node::hasClass()
S
61 4 12
MyAgilePrivacyAdmin::admin_page_html()
S
62 4 11
agile_simple_html_dom::load()
S
52 3 24
MyAgilePrivacyFrontend::enqueue_scripts()
S
54 3 21
MyAgilePrivacy::set_locale()
S
57 3 18
shd_str_get_html()
S
59 3 16
agile_simple_html_dom::search_noise()
S
65 4 9
agile_simple_html_dom_node::next_sibling()
S
63 4 10
agile_simple_html_dom_node::prev_sibling()
S
63 4 10
MyAgilePrivacyFrontend::map_save_detected_keys_callback()
S
60 3 13
MyAgilePrivacy::get_settings()
S
61 3 12
agile_simple_html_dom::prepare()
S
55 2 19
MyAgilePrivacy::get_json_settings()
S
57 2 16
agile_simple_html_dom_node::children()
S
66 3 9
MyAgilePrivacyAdmin::enqueue_styles()
S
67 3 7
MyAgilePrivacyAdmin::enqueue_scripts()
S
68 3 6
agile_simple_html_dom::copy_skip()
S
65 3 8
MyAgilePrivacyFrontend::map_remote_save_detected_keys_callback()
S
62 2 12
MyAgilePrivacy::call_api()
S
62 2 11
agile_simple_html_dom_node::first_child()
S
72 2 6
MyAgilePrivacyFrontend::auto_update_plugins()
S
67 2 8
agile_simple_html_dom::save()
S
72 2 5
agile_simple_html_dom::as_text_node()
S
65 2 8
agile_simple_html_dom_node::parent()
S
68 2 8
MyAgilePrivacyAdmin::metabox_map_name()
S
65 2 9
agile_simple_html_dom::skip()
S
73 2 4
MyAgilePrivacyFrontend::wp_head_inject()
S
70 2 7
MyAgilePrivacyAdmin::metabox_is_free()
S
65 2 9
agile_simple_html_dom::copy_until()
S
67 2 7
agile_simple_html_dom_node::save()
S
69 2 7
agile_simple_html_dom_node::remove()
S
75 2 5
agile_simple_html_dom_node::last_child()
S
72 2 6
MyAgilePrivacyAdmin::add_cpt_to_pll()
S
65 2 10
agile_simple_html_dom::load_file()
S
67 2 8
agile_simple_html_dom_node::__unset()
S
79 2 3
MyAgilePrivacyFrontend::map_buffer_end()
S
73 2 6
MyAgilePrivacyAdmin::metabox_map_remote_id()
S
65 2 9
MyAgilePrivacyFrontend::enqueue_styles()
S
67 2 7
agile_simple_html_dom::link_nodes()
S
69 2 7
MyAgilePrivacyAdmin::plugin_action_links()
S
62 2 10
MyAgilePrivacyAdmin::add_meta_box()
S
59 1 12
MyAgilePrivacyAdmin::manage_cookies_edit_columns()
S
61 1 12
agile_simple_html_dom_node::__destruct()
S
83 1 3
agile_simple_html_dom_node::hasChildNodes()
S
82 1 3
agile_simple_html_dom_node::childNodes()
S
81 1 3
agile_simple_html_dom_node::setAttribute()
S
80 1 3
agile_simple_html_dom_node::appendChild()
S
77 1 4
agile_simple_html_dom::firstChild()
S
82 1 3
agile_simple_html_dom_node::nextSibling()
S
82 1 3
agile_simple_html_dom_node::getAttribute()
S
81 1 3
MyAgilePrivacyAdmin::manage_policies_edit_columns()
S
67 1 8
MyAgilePrivacyAdmin::custom_post_type_editor()
S
74 1 4
MyAgilePrivacy::__construct()
S
68 1 8
agile_simple_html_dom_node::getElementById()
S
79 1 3
agile_simple_html_dom::remove_callback()
S
82 1 3
agile_simple_html_dom::loadFile()
S
77 1 4
agile_simple_html_dom::find()
S
79 1 3
agile_simple_html_dom_node::getElementsByTagName()
S
80 1 3
MyAgilePrivacy::allowed_protocols()
S
79 1 3
agile_simple_html_dom_node::__toString()
S
82 1 3
agile_simple_html_dom_node::firstChild()
S
82 1 3
agile_simple_html_dom::getElementById()
S
79 1 3
agile_simple_html_dom_node::lastChild()
S
82 1 3
agile_simple_html_dom_node::__construct()
S
77 1 4
agile_simple_html_dom::createTextNode()
S
80 1 3
agile_simple_html_dom::__toString()
S
82 1 3
agile_simple_html_dom::dump()
S
82 1 3
agile_simple_html_dom::__destruct()
S
83 1 3
agile_simple_html_dom::childNodes()
S
81 1 3
agile_simple_html_dom::createElement()
S
78 1 3
agile_simple_html_dom_node::clear()
S
72 1 6
agile_simple_html_dom_node::removeAttribute()
S
80 1 3
agile_simple_html_dom_node::previousSibling()
S
82 1 3
MyAgilePrivacyAdmin::map_fix_view_links()
S
64 1 8
run_my_agile_privacy()
S
76 1 4
MyAgilePrivacyAdmin::__construct()
S
77 1 4
shd_dump_html_tree()
S
82 1 3
agile_simple_html_dom::getElementByTagName()
S
80 1 3
agile_simple_html_dom::set_callback()
S
82 1 3
agile_simple_html_dom_node::hasAttribute()
S
81 1 3
MyAgilePrivacy::load_classes_and_dependencies()
S
75 1 4
agile_simple_html_dom::getElementsById()
S
79 1 3
agile_simple_html_dom_node::nodeName()
S
83 1 3
agile_simple_html_dom::getElementsByTagName()
S
80 1 3
agile_simple_html_dom_node::getElementByTagName()
S
80 1 3
agile_simple_html_dom_node::getAllAttributes()
S
83 1 3
MyAgilePrivacyFrontend::myagileprivacy_showconsent()
S
74 1 4
agile_simple_html_dom_node::has_child()
S
80 1 3
agile_simple_html_dom_node::parentNode()
S
82 1 3
agile_simple_html_dom::lastChild()
S
82 1 3
agile_simple_html_dom_node::getElementsById()
S
79 1 3
agile_simple_html_dom_node::xmltext()
S
70 1 6