NewsletterMembershipAddon S

Total Complexity 42
Dependencies 6
Dependents 0
Total lines 257
Lines of code 188
Logical lines of code 123
Comment lines 17
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
get_subscriber()
S
49 6 33
get_default_subscription()
S
50 5 29
_process_wp_user()
S
61 3 13
hook_newsletter_current_user()
S
62 3 13
init()
S
60 3 12
subscribe()
S
63 2 11
start_import()
S
66 2 8
set_import_time_limit()
S
68 2 7
admin_menu()
S
62 1 12
__construct()
S
70 1 6
deactivate()
S
78 1 4
hook_newsletter_lists_notes()
S
100 1 0
hook_set_user_role()
S
80 1 3
hook_profile_update()
S
80 1 3
update_subscriber()
S
100 1 0
newsletter_menu()
S
79 1 3
log()
S
79 1 3
end_import()
S
73 1 5
stop_import()
S
73 1 5
is_import_running()
S
79 1 3
get_import_progress()
S
64 1 9
update_import_last_id()
S
78 1 3
get_import_last_id()
S
78 1 3
import_run()
S
100 1 0