-
Home
-
LinkCentral – URL shortener, Custom Links & Affiliate Links with Tracking
-
1.4.3
-
Code
-
Classes
- LinkCentral_Redirection
Total Complexity |
99 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
524 |
Lines of code |
372 |
Logical lines of code |
206 |
Comment lines |
131 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_redirect() |
B |
36 |
18 |
79 |
maybe_handle_prefixed_redirect() |
A |
44 |
15 |
39 |
maybe_handle_direct_redirect() |
A |
47 |
15 |
30 |
handle_link_transient() |
A |
50 |
10 |
26 |
record_click() |
A |
49 |
8 |
30 |
get_ip_address() |
S |
51 |
6 |
27 |
should_record_click() |
S |
52 |
6 |
25 |
send_to_google_analytics() |
S |
47 |
4 |
35 |
is_bot() |
S |
55 |
4 |
21 |
get_or_set_visitor_id() |
S |
53 |
3 |
24 |
get_user_agent() |
S |
66 |
3 |
8 |
get_redirection_type() |
S |
67 |
3 |
7 |
get_client_id() |
S |
59 |
2 |
14 |
__construct() |
S |
81 |
1 |
3 |
init() |
S |
75 |
1 |
4 |