-
Home
-
LinkCentral – URL shortener, Custom Links & Affiliate Links with Tracking
-
1.4.2 (latest)
-
Code
-
Classes
- LinkCentral_Redirection
Total Complexity |
94 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
510 |
Lines of code |
362 |
Logical lines of code |
191 |
Comment lines |
127 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_redirect() |
B |
38 |
16 |
72 |
maybe_handle_direct_redirect() |
A |
48 |
14 |
29 |
maybe_handle_prefixed_redirect() |
A |
45 |
13 |
37 |
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 |