-
Home
-
LinkCentral – URL shortener, Custom Links & Affiliate Links with Tracking
-
1.4.7.1 (latest)
-
Code
-
Classes
- LinkCentral_Redirection
| Total Complexity |
99 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
537 |
| Lines of code |
377 |
| Logical lines of code |
204 |
| Comment lines |
138 |
| Methods |
16 |
| Properties |
2 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| process_redirect() |
B |
39 |
15 |
65 |
| 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 |
48 |
9 |
32 |
| 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 |
| is_first_click_for_link() |
S |
57 |
2 |
17 |
| 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 |