EE_Data_Migration_Script_Base B

Total Complexity 90
Dependencies 11
Dependents 4
Total lines 917
Lines of code 344
Logical lines of code 155
Comment lines 426
Methods 38
Properties 8

Methods 38

Method Rating Maintainability Complexity Lines of code
migration_step()
A
44 11 45
_maybe_do_schema_changes()
S
54 6 22
_pre_existing_table_should_be_dropped()
S
56 5 23
get_mapping_old_pk()
S
59 5 15
instantiate_from_array_of_properties()
S
58 4 17
properties_as_array()
S
58 4 16
_get_req_type_for_plugin_corresponding_to_this_dms()
S
55 3 22
get_mapping_new_pk()
S
63 4 10
_find_migration_stage_data_with_classname()
S
66 4 8
__construct()
S
61 3 12
reattempt()
S
68 3 8
get_errors()
S
64 3 10
set_mapping()
S
69 3 6
_currently_migrating()
S
70 3 7
_table_has_not_changed_since_previous()
S
65 2 11
_update_feedback_message()
S
63 2 11
_count_records_to_migrate()
S
69 2 7
count_records_migrated()
S
67 2 8
_create_table_and_catch_errors()
S
64 2 9
_get_mapping_option_name()
S
61 1 11
set_migrating()
S
81 1 3
migrates_to_version()
S
79 1 3
stages()
S
72 1 5
get_feedback_message()
S
82 1 3
slug()
S
76 1 4
priority()
S
82 1 3
can_migrate_from_version()
S
100 1 0
can_continue()
S
72 1 6
_table_should_exist_previously()
S
69 1 8
schema_changes_before_migration()
S
100 1 0
_old_table_exists()
S
80 1 3
_table_is_changed_in_this_version()
S
69 1 8
_table_is_new_in_this_version()
S
69 1 8
_set_mapping_option()
S
74 1 4
_get_mapping_option()
S
78 1 3
migration_page_hooks()
S
91 1 2
schema_changes_after_migration()
S
100 1 0
_delete_table_if_empty()
S
80 1 3