EE_Data_Migration_Manager C

Total Complexity 125
Dependencies 17
Dependents 10
Total lines 1,323
Lines of code 702
Logical lines of code 321
Comment lines 470
Methods 32
Properties 13

Methods 32

Method Rating Maintainability Complexity Lines of code
migration_step()
B
31 15 133
check_for_applicable_data_migration_scripts()
A
41 12 61
get_all_data_migration_scripts_available()
A
45 9 41
_save_migrations_ran()
A
50 8 29
get_data_migrations_ran()
A
49 7 33
add_error_to_migrations_ran()
S
47 6 38
get_most_up_to_date_dms()
S
52 6 27
initialize_db_for_enqueued_ee_plugins()
S
52 6 26
parse_dms_classname()
S
54 5 21
_instantiate_script_from_properties_array()
S
51 4 32
_get_dms_class_from_wp_option()
S
52 4 27
ensure_current_database_state_is_set()
S
56 4 19
database_needs_updating_to()
S
55 4 18
reattempt()
S
57 3 19
script_migrates_to_version()
S
57 3 17
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 25
enqueue_db_initialization_for()
S
68 2 7
instance()
S
71 2 6
get_data_migration_script_folders()
S
65 2 9
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_all_migration_script_options()
S
66 1 9
get_db_initialization_queue()
S
79 1 3
get_mapping_new_pk()
S
74 1 4