FS_Clone_Manager D

Total Complexity 192
Dependencies 9
Dependents 1
Total lines 1,455
Lines of code 848
Logical lines of code 383
Comment lines 344
Methods 40
Properties 8

Methods 40

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
get_temporary_duplicate_admin_notice_string()
A
39 9 70
_init()
A
53 10 23
resolve_cloned_sites()
A
48 9 35
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
_clone_resolution_action_ajax_handler()
S
53 4 23
store_new_blog_install_info()
S
60 4 15
is_temporary_duplicate_by_blog_id()
S
58 4 15
__set()
S
60 3 14
has_temporary_duplicate_mode_expired()
S
65 3 9
should_handle_clones()
S
65 3 9
__get()
S
67 3 8
add_temporary_duplicate_sticky_notice()
S
58 1 19
last_time_temporary_duplicate_notice_was_shown()
S
74 2 5
__isset()
S
72 2 6
instance()
S
71 2 6
was_temporary_duplicate_mode_selected()
S
73 2 6
get_temporary_duplicate_expiration_timestamp()
S
71 2 6
store_temporary_duplicate_timestamp()
S
80 1 3
remove_clone_resolution_options_notice()
S
80 1 3
remove_temporary_duplicate_notice()
S
80 1 3
is_clone_resolution_options_notice_shown()
S
80 1 3
is_temporary_duplicate_notice_shown()
S
80 1 3
_add_clone_resolution_javascript()
S
75 1 4
remove_new_blog_install_info_from_storage()
S
73 1 5
clear_temporary_duplicate_notice_shown_timestamp()
S
82 1 3
should_use_network_storage()
S
80 1 3
store_clone_identification_timestamp()
S
81 1 3
get_clone_identification_timestamp()
S
83 1 3
hide_clone_admin_notices()
S
77 1 4