EE_Data_Migration_Manager C

Total Complexity 125
Dependencies 16
Dependents 10
Total lines 1,238
Lines of code 665
Logical lines of code 317
Comment lines 450
Methods 32
Properties 12

Methods 32

Method Rating Maintainability Complexity Lines of code
migration_step()
B
31 15 134
check_for_applicable_data_migration_scripts()
A
42 13 54
get_all_data_migration_scripts_available()
A
45 9 40
_save_migrations_ran()
A
50 8 28
get_data_migrations_ran()
A
49 7 33
add_error_to_migrations_ran()
S
50 6 29
initialize_db_for_enqueued_ee_plugins()
S
52 6 26
get_most_up_to_date_dms()
S
52 6 26
parse_dms_classname()
S
54 5 21
_instantiate_script_from_properties_array()
S
53 4 26
_get_dms_class_from_wp_option()
S
53 4 24
database_needs_updating_to()
S
55 4 19
ensure_current_database_state_is_set()
S
56 4 19
reattempt()
S
57 3 19
script_migrates_to_version()
S
62 3 11
response_to_migration_ajax_request()
S
54 2 22
_get_plugin_slug_and_version_string_from_dms_option_name()
S
58 2 16
get_last_ran_script()
S
66 3 10
get_migration_ran()
S
67 3 8
_get_table_analysis()
S
62 2 12
_get_table_manager()
S
62 2 12
__construct()
S
54 1 24
enqueue_db_initialization_for()
S
68 2 7
instance()
S
71 2 6
update_current_database_state_to()
S
66 2 8
addons_need_updating()
S
82 1 3
reset()
S
76 1 4
migration_has_ran()
S
78 1 3
get_data_migration_script_folders()
S
71 1 6
get_all_migration_script_options()
S
68 1 7
get_db_initialization_queue()
S
80 1 3
get_mapping_new_pk()
S
72 1 5