FS_Clone_Manager D

Total Complexity 207
Dependencies 9
Dependents 1
Total lines 1,541
Lines of code 901
Logical lines of code 407
Comment lines 362
Methods 42
Properties 8

Methods 42

Method Rating Maintainability Complexity Lines of code
maybe_show_clone_admin_notice()
B
34 21 100
add_manual_clone_resolution_admin_notice()
B
31 15 127
maybe_resolve_new_subsite_install_automatically()
B
39 19 63
maybe_remove_notices()
A
42 14 52
resolve_cloned_sites()
A
44 12 48
get_temporary_duplicate_admin_notice_string()
A
39 9 70
try_resolve_clone_automatically_by_config()
A
49 11 33
_init()
A
53 10 24
try_resolve_clone_automatically()
A
51 9 27
find_network_subsite_clone_install()
A
51 8 27
find_other_install_by_url()
S
53 7 22
__construct()
S
49 6 31
try_automatic_resolution()
S
56 5 19
maybe_run_clone_resolution()
S
49 4 32
_handle_clone_resolution()
S
59 5 16
delete_install_and_connect()
S
54 4 23
is_temporary_duplicate_by_blog_id()
S
58 4 15
store_new_blog_install_info()
S
60 4 15
get_clone_resolution_action_from_config()
S
60 3 16
__set()
S
60 3 14
has_temporary_duplicate_mode_expired()
S
65 3 9
__get()
S
67 3 8
should_handle_clones()
S
65 3 9
_clone_resolution_action_ajax_handler()
S
60 2 13
add_temporary_duplicate_sticky_notice()
S
58 1 19
instance()
S
71 2 6
last_time_temporary_duplicate_notice_was_shown()
S
74 2 5
__isset()
S
72 2 6
get_temporary_duplicate_expiration_timestamp()
S
71 2 6
was_temporary_duplicate_mode_selected()
S
73 2 6
get_clone_identification_timestamp()
S
83 1 3
should_use_network_storage()
S
80 1 3
clear_temporary_duplicate_notice_shown_timestamp()
S
82 1 3
hide_clone_admin_notices()
S
77 1 4
store_clone_identification_timestamp()
S
81 1 3
is_temporary_duplicate_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
remove_new_blog_install_info_from_storage()
S
73 1 5
_add_clone_resolution_javascript()
S
75 1 4
is_clone_resolution_options_notice_shown()
S
80 1 3