Newsletter D

Total Complexity 218
Dependencies 13
Dependents 26
Total lines 1,275
Lines of code 792
Logical lines of code 529
Comment lines 224
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
shortcode_newsletter()
S
54 5 21
hook_wp_enqueue_scripts()
S
58 5 15
hook_newsletter()
S
55 4 19
send_setup()
S
56 4 17
check_license()
S
57 4 14
_get_current_language()
S
60 4 14
save_sent_message()
S
62 4 10
setup_language()
S
68 4 7
hook_wp_loaded()
S
61 3 12
update_send_stats()
S
63 3 10
deliver()
S
64 3 10
time_exceeded()
S
71 3 6
fix_email()
S
68 3 8
get_mailer()
S
66 3 10
get_newsletter_page_url()
S
66 3 8
get_send_delay()
S
65 3 10
get_license_key()
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
find_file()
S
74 2 5
ajax_action()
S
66 2 9
hook_plugins_loaded()
S
68 2 7
register_mailer()
S
75 2 5
instance()
S
71 2 6
update_email_total()
S
65 2 8
add_panel()
S
100 1 2
relink()
S
78 1 3
skip_this_run()
S
79 1 3
get_runs_per_hour()
S
80 1 3
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
limits_exceeded()
S
83 1 3
register_mail_method()
S
100 1 2
get_emails_per_run()
S
73 1 5
set_extension_update_data()
S
83 1 3
get_extension_version()
S
83 1 3
newsletter_clean()
S
81 1 3
get_max_emails()
S
75 1 4
hook_deactivate()
S
82 1 3
is_allowed()
S
82 1 3
first_install()
S
76 1 4
hook_activate()
S
76 1 4
shortcode_newsletter_replace()
S
72 1 5
clear_extensions_cache()
S
82 1 3