Imagify_Partner B

Total Complexity 91
Dependencies 3
Dependents 2
Total lines 859
Lines of code 311
Logical lines of code 168
Comment lines 421
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
error_notice()
A
48 11 34
post_callback()
A
52 8 27
has_imagify_api_key()
S
52 7 27
init()
S
58 6 16
install_imagify()
S
53 5 23
get_current_url()
S
66 6 6
send_json_error()
S
59 4 16
get_stored_partner()
S
68 4 7
error_die()
S
59 3 15
get_post_install_url()
S
61 3 12
get_imagify_infos()
S
54 2 23
current_user_can()
S
67 3 8
get_message()
S
61 2 11
get_download_url()
S
75 2 4
is_imagify_installed()
S
71 2 6
get_imagify_path()
S
70 2 6
doing_ajax()
S
77 2 3
store_partner()
S
68 2 7
delete_stored_partner()
S
73 2 5
get_error_redirection_url()
S
71 2 5
is_error()
S
78 1 3
is_success()
S
78 1 3
error_redirect()
S
72 1 5
add_query_args()
S
73 1 5
get_success_redirection_url()
S
68 1 7
success_redirect()
S
73 1 5
send_json_success()
S
76 1 4
sanitize_partner()
S
78 1 3
get_post_action()
S
80 1 3
get_partner()
S
82 1 3
activate_imagify()
S
78 1 3
is_imagify_activated()
S
80 1 3
__construct()
S
80 1 3