Code Analysis: Ginger - EU Cookie Law 4.2.1

Function Rating Maintainability Complexity Lines of code
ginger_script()
D
30 31 126
ginger_polylang_menu_page()
D
24
25 212
ginger_wpml_menu_page()
C
25
20 202
ginger_prepare_data()
C
34 26 84
ginger_parse_dom()
B
32 20 104
ginger_run()
B
46 20 32
ginger_validate_ip()
B
54 19 17
ginger_analytics()
B
37 14 81
ginger_save_action()
B
42 16 49
ginger_get_ip_address()
A
51 16 26
ginger_logger()
A
35 11 99
ginger_custom_style()
A
48 15 37
ginger_activity_log()
A
51 15 25
ginger_export()
A
41 8 59
ginger_wpml_text_banner()
S
50 7 26
ginger_jscustom_tags()
S
60 7 13
ginger_jscustom_async_tags()
S
60 7 13
ginger_polylang_text_banner()
S
52 6 22
ginger_get_text_banner()
S
53 6 20
ginger_wpml_label_disable_cookie()
S
56 6 18
ginger_include_addons()
S
59 6 14
ginger_do_log()
S
50 5 28
ginger_add_log_variable()
S
48 3 49
ginger_wpml_text_iframe()
S
56 5 18
ginger_wpml_label_accept_cookie()
S
58 5 16
ginger_polylang_label_disable_cookie()
S
59 5 14
ginger_jscustom_menu_page()
S
59 5 13
ginger_iframe_menu_page()
S
59 5 13
ginger_save_info()
S
62 5 11
ginger_share_data_activation()
S
61 5 11
ginger_send_data()
S
53 4 23
ginger_polylang_text_iframe()
S
58 4 14
ginger_add_admin_js()
S
59 4 13
ginger_polylang_label_accept_cookie()
S
61 4 12
ginger_style_script()
S
61 4 11
ginger_iframe_async_tags()
S
63 4 11
ginger_create_site()
S
51 3 26
ginger_add_help()
S
50 2 32
ginger_save_javascript()
S
53 1 46
getSelectedPermissionLevel()
S
65 4 9
strpos_arr()
S
67 4 7
ginger_anyltics_script_anonymize()
S
69 4 6
equeueScript()
S
64 4 9
ginger_cron_schedules()
S
60 3 13
ginger_get_text_iframe()
S
61 3 12
gingerSimpleNote::gingersimplenote_admin_scripts()
S
61 3 12
ginger_analytics_remover()
S
62 3 11
ginger_check_value()
S
69 3 7
ginger_get_label_disable_cookie()
S
65 3 9
register_ginger_menu_page()
S
63 3 10
ginger_admin_permission_filter()
S
66 3 8
gingerSimpleNote::simplenote_gingertip1_footer_script()
S
55 1 27
ginger_get_label_accept_cookie()
S
65 2 9
g__shutdown()
S
66 2 8
ginger_logger_create_table()
S
60 1 15
check_ginger_plus()
S
74 2 5
tabSelection()
S
64 2 10
ginger_logger_update_db_check()
S
72 2 6
save_privacy_page()
S
62 1 12
getAllRegisterdRole()
S
71 1 6
add_ginger_logger()
S
77 1 3
gingerSimpleNote::init_admin()
S
100 1 2
gingerSimpleNote::run_on_activate()
S
100 1 2
ginger_wpml_menu()
S
78 1 3
ginger_share_to_ws()
S
79 1 4
ginger_addsesneremover()
S
79 1 3
gingerSimpleNote::__construct()
S
75 1 4
ginger_reset_cookie_func()
S
63 1 10
add_ginger_export()
S
77 1 3
ginger_analytics_style_script()
S
75 1 4
add_ginger_jscustom()
S
73 1 4
get_first_role_permission()
S
74 1 5
add_ginger_analytics()
S
77 1 3
ginger_menu_page()
S
80 1 3
ginger_polylang_menu()
S
77 1 3