MailChimp_WooCommerce_Enhanced_Logger C

Total Complexity 108
Dependencies 0
Dependents 2
Total lines 474
Lines of code 333
Logical lines of code 158
Comment lines 77
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
get_connection_info()
B
48 23 28
get_diagnostics_info()
B
38 20 65
get_response_info()
A
51 12 24
detect_hosting_provider()
A
50 10 25
get_server_ip()
S
55 5 20
get_environment_info()
S
55 4 18
format_log_message()
S
56 4 17
sanitize_headers()
S
59 4 14
get_request_info()
S
61 4 11
detect_proxy()
S
53 3 25
detect_cdn()
S
57 3 17
get_active_plugins_info()
S
61 3 11
parse_response_headers()
S
61 3 11
store_connection_log()
S
62 3 11
log_connection_attempt()
S
54 2 20
extract_datacenter()
S
70 2 6
get_connection_logs()
S
68 2 7
clear_connection_logs()
S
80 1 3