Newsletter D

Total Complexity 218
Dependencies 13
Dependents 26
Total lines 1,269
Lines of code 796
Logical lines of code 531
Comment lines 216
Methods 58
Properties 6

Methods 58

Method Rating Maintainability Complexity Lines of code
send()
D
27
39 140
hook_site_transient_update_plugins()
B
40 16 59
get_license_data()
A
42 12 54
hook_init()
A
48 11 30
do_action()
A
53 8 23
__construct()
A
47 7 35
get_message_key_from_request()
A
57 8 16
mail()
S
50 6 29
build_message()
S
46 5 39
getTnpExtensions()
S
54 5 22
_get_current_language()
S
58 5 17
hook_wp_enqueue_scripts()
S
58 5 15
setup_language()
S
62 5 11
hook_newsletter()
S
55 4 19
send_setup()
S
56 4 17
check_license()
S
57 4 14
shortcode_newsletter()
S
56 3 18
save_sent_message()
S
62 4 10
hook_wp_loaded()
S
61 3 12
fix_email()
S
68 3 8
deliver()
S
64 3 10
update_send_stats()
S
63 3 10
time_exceeded()
S
71 3 6
get_mailer()
S
66 3 10
get_newsletter_page_url()
S
67 3 8
get_license_key()
S
65 3 10
get_send_delay()
S
65 3 10
get_send_speed()
S
59 2 14
set_error_state_of_email()
S
61 2 12
get_newsletter_page()
S
70 2 7
register_mailer()
S
75 2 5
find_file()
S
74 2 5
ajax_action()
S
66 2 9
hook_plugins_loaded()
S
68 2 7
instance()
S
71 2 6
update_email_total()
S
65 2 8
register_mail_method()
S
100 1 2
add_panel()
S
100 1 2
skip_this_run()
S
79 1 3
get_runs_per_hour()
S
80 1 3
get_emails_per_run()
S
73 1 5
get_newsletter_page_id()
S
80 1 3
get_reply_to()
S
81 1 3
get_sender_email()
S
81 1 3
get_sender_name()
S
81 1 3
has_license()
S
80 1 3
clear_extensions_cache()
S
82 1 3
limits_exceeded()
S
83 1 3
get_max_emails()
S
75 1 4
set_extension_update_data()
S
83 1 3
get_extension_version()
S
83 1 3
newsletter_clean()
S
81 1 3
is_allowed()
S
82 1 3
hook_deactivate()
S
82 1 3
first_install()
S
76 1 4
hook_activate()
S
76 1 4
relink()
S
78 1 3
shortcode_newsletter_replace()
S
72 1 5