LinkCentral_Redirection C

Total Complexity 110
Dependencies 2
Dependents 1
Total lines 591
Lines of code 359
Logical lines of code 218
Comment lines 160
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
handle_redirects()
A
45 13 39
check_time_condition()
A
52 12 23
rule_matches()
A
51 10 28
check_date_condition()
A
53 10 21
record_click()
A
50 8 27
should_record_click()
S
53 6 22
send_to_google_analytics()
S
47 4 35
get_dynamic_destination_url()
S
63 5 11
get_ip_address()
S
55 4 19
should_forward_parameters()
S
59 4 14
is_bot()
S
59 4 13
get_country_from_maxmind()
S
58 3 15
get_user_device()
S
63 4 10
get_user_country()
S
63 3 11
check_device_condition()
S
65 3 9
check_country_condition()
S
65 3 9
get_redirection_type()
S
67 3 7
add_rewrite_rules()
S
63 2 11
get_or_set_visitor_id()
S
61 2 11
get_country_from_cloudflare()
S
77 2 3
get_client_id()
S
64 2 9
init()
S
72 1 5
add_query_vars()
S
77 1 4
__construct()
S
81 1 3