Code Analysis: Truepush Push Notifications 1.0.0

Function Rating Maintainability Complexity Lines of code
TruePush_Admin::send_notification_on_wp_post()
D
22
50 173
TruePush::get_truepush_settings()
D
23
28 211
TruePush_Admin::save_truepush_settings_to_server()
B
36 14 85
TruePush_Admin::save_config_page()
B
31 11 127
TruePush_Admin::on_transition_post_status()
A
54 10 22
fatal_exception_error_handler()
A
56 10 18
TruePush_Admin::on_save_post()
A
51 9 27
has_metadata_truepush()
A
51 9 27
TruePush_Admin::truepush_notif_on_post_html_view()
A
43 7 56
exception_error_handler()
S
56 7 20
TruePush_Admin::init()
S
43 4 56
TruePush_Public::truepush_header()
S
48 5 37
TruePush_Admin::admin_custom_load()
S
51 4 34
TruePush_Admin::get_site_url()
S
58 5 14
TruePush_Admin::add_truepush_post_options()
S
44 2 49
TruePush_Admin::uuid()
S
57 4 15
admin_truepush_notice_error()
S
55 3 21
TruePush_Admin::saveStringSettings()
S
64 4 10
add_async_for_truepush_script()
S
66 3 8
TruePush_Admin::saveBooleanSettings()
S
65 3 9
TruePush_Public::valid_for_key()
S
69 3 6
TruePush_Admin::get_sending_rate_limit_wait_time()
S
64 3 10
TruePushUtils::decode_entities()
S
67 2 7
TruePush_Admin::was_post_restored_from_trash()
S
78 2 3
TruePush_Admin::save_config_settings_form()
S
70 2 6
load_javascript_truepush()
S
65 2 8
TruePushUtils::html_safe()
S
68 2 7
TruePushUtils::url_contains_parameter()
S
72 2 5
TruePushUtils::can_send_notifications()
S
78 2 3
admin_notice_setup_not_complete()
S
100 1 12
TruePushUtils::contains()
S
78 1 3
truepush_change_footer_admin()
S
83 1 3
TruePushUtils::can_modify_plugin_settings()
S
80 1 3
TruePush_Public::init()
S
78 1 3
TruePush_Admin::add_admin_page()
S
64 1 10
TruePush_Admin::update_last_sent_timestamp()
S
79 1 3
TruePushUtils::is_admin_user()
S
80 1 3
TruePush_Admin::admin_styles()
S
77 1 3
TruePush_Admin::__construct()
S
91 1 2
TruePush::maskedRestApiKey()
S
77 1 3
TruePush_Admin::admin_custom_scripts()
S
66 1 7
TruePush_Admin::admin_menu()
S
79 1 3
TruePush_Public::__construct()
S
91 1 2
TruePush_Public::insert_truepush_stamp()
S
80 1 5
TruePush::save_truepush_settings()
S
75 1 4
admin_notice_curl_not_installed()
S
100 1 7
TruePush_Admin::exec_post_request()
S
75 1 4
TruePush_Admin::exec_update_request()
S
75 1 4