FS_Clone_Manager D

Total Complexity 222
Dependencies 11
Dependents 1
Total lines 1,633
Lines of code 931
Logical lines of code 430
Comment lines 394
Methods 49
Properties 6

Methods 49

Method Rating Maintainability Complexity Lines of code
maybe_show_clone_admin_notice()
B
34 21 100
resolve_cloned_sites()
B
39 20 69
maybe_resolve_new_subsite_install_automatically()
B
38 20 69
add_manual_clone_resolution_admin_notice()
B
31 15 128
maybe_remove_notices()
A
42 14 51
get_temporary_duplicate_admin_notice_string()
A
39 9 70
try_resolve_clone_automatically_by_config()
A
50 10 29
_init()
A
53 10 24
try_resolve_clone_automatically_by_instance()
A
52 9 25
find_network_subsite_clone_install()
A
51 8 27
find_other_install_by_url()
S
53 7 22
try_automatic_resolution()
S
52 6 25
maybe_migrate_options()
S
57 6 17
_clone_resolution_action_ajax_handler()
S
55 5 19
maybe_run_clone_resolution()
S
49 4 32
_handle_clone_resolution()
S
60 5 15
delete_install_and_connect()
S
54 4 23
store_blog_install_info()
S
60 4 15
get_clone_resolution_action_from_config()
S
60 3 16
has_temporary_duplicate_mode_expired()
S
65 3 9
should_handle_clones()
S
65 3 9
maybe_update_clone_resolution_support_flag()
S
66 3 9
get_storage()
S
66 3 8
add_temporary_duplicate_sticky_notice()
S
58 1 19
is_temporary_duplicate_by_blog_id()
S
68 2 7
instance()
S
71 2 6
get_temporary_duplicate_expiration_timestamp()
S
71 2 6
try_resolve_clone_automatically()
S
68 2 8
hide_clone_admin_notices()
S
77 1 4
__unset()
S
80 1 3
__isset()
S
79 1 3
__set()
S
79 1 3
get_option()
S
78 1 3
get_clone_identification_timestamp()
S
80 1 3
should_use_network_storage()
S
80 1 3
store_clone_identification_timestamp()
S
81 1 3
clear_temporary_duplicate_notice_shown_timestamp()
S
82 1 3
last_time_temporary_duplicate_notice_was_shown()
S
83 1 3
is_temporary_duplicate_notice_shown()
S
80 1 3
__construct()
S
66 1 7
is_clone_resolution_options_notice_shown()
S
80 1 3
remove_temporary_duplicate_notice()
S
80 1 3
remove_clone_resolution_options_notice()
S
80 1 3
store_temporary_duplicate_timestamp()
S
80 1 3
was_temporary_duplicate_mode_selected()
S
81 1 3
should_hide_manual_resolution()
S
80 1 3
remove_new_blog_install_info_from_storage()
S
73 1 5
_add_clone_resolution_javascript()
S
75 1 4
__get()
S
72 1 6