Smartcrawl_Controller_Redirection B

Total Complexity 91
Dependencies 10
Dependents 1
Total lines 562
Lines of code 418
Logical lines of code 224
Comment lines 69
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
import_redirects_from_csv()
A
38 14 73
save_redirect()
A
50 8 29
redirect_attachments()
S
54 7 21
find_regex_redirect()
S
55 7 19
bulk_update_redirects()
S
50 6 29
smartcrawl_page_redirect()
S
56 6 18
export_csv()
S
49 5 32
display_upgrade_notice()
S
49 4 35
intercept()
S
57 3 19
allowed_hosts_filter()
S
59 3 17
upgrade_redirects_to_217()
S
58 3 17
delete_redirect()
S
61 3 13
find_plain_redirect()
S
64 3 11
init()
S
55 2 18
get_request_data()
S
76 3 3
find_match()
S
63 3 10
get_current_url()
S
68 2 6
maybe_create_table()
S
71 2 6
sanitize_post_redirect()
S
67 1 8
to_safe_redirection()
S
65 1 9
is_source_regex_invalid()
S
73 1 4
get_url_query_vars()
S
70 1 7
find_regex_destination()
S
67 1 8
get_current_path()
S
80 1 3
should_run()
S
80 1 3