AWPCP_Installer D

Total Complexity 158
Dependencies 1
Dependents 1
Total lines 1,136
Lines of code 716
Logical lines of code 355
Comment lines 203
Methods 62
Properties 7

Methods 62

Method Rating Maintainability Complexity Lines of code
migrate_facebook_integration_settings()
A
50 12 28
upgrade_to_3_0_0()
A
47 8 35
upgrade_to_2_0_5()
A
44 7 43
rename_translation_files_using_outdated_textdomain()
A
48 7 34
get_upgrade_routines()
S
36 1 103
remove_invalid_admin_editor_metadata()
S
55 6 20
install_or_upgrade()
S
55 6 19
upgrade_to_3_0_2()
S
48 5 33
log_upgrade()
S
57 6 15
upgrade()
S
58 5 15
keep_legacy_url_structure()
S
61 5 12
upgrade_to_2_0_7()
S
54 4 19
upgrade_to_3_5_3()
S
57 4 16
try_to_convert_tables_to_utf8mb4()
S
61 4 13
migrate_wordpress_page_settings()
S
62 4 12
upgrade_to_3_4()
S
66 4 8
install()
S
50 2 29
upgrade_to_3_2_2()
S
60 3 13
migrate_verify_email_message_email_template()
S
54 2 20
migrate_reply_to_ad_email_template()
S
57 2 16
remove_fulltext_index_from_listings_table()
S
67 3 7
create_phone_number_digits_column()
S
64 2 12
enable_upgrade_task_to_store_phone_number_digits()
S
71 2 6
maybe_enable_routine_to_update_categories_term_count()
S
71 2 6
increase_adfee_table_amount_field_max_value()
S
68 2 7
convert_tables_to_innodb()
S
68 2 7
create_listings_table_if_missing()
S
74 2 5
create_old_listing_id_column_in_listing_regions_table()
S
68 2 7
maybe_enable_upgrade_routines_to_migrate_media()
S
69 2 7
allow_null_values_in_user_id_column_in_payments_table()
S
70 2 6
upgrade_to_2_2_2()
S
68 2 7
upgrade_to_2_0_0()
S
68 2 7
upgrade_to_2_1_3()
S
70 2 6
create_description_column_in_fees_table()
S
68 2 7
upgrade_to_2_2_1()
S
68 2 7
enable_routine_to_fix_id_collision_for_listing_categories()
S
69 2 7
create_metadata_column_in_media_table()
S
68 2 7
create_regions_column_in_fees_table()
S
68 2 7
delete_settings_table()
S
79 1 3
fix_old_listing_id_metadata()
S
79 1 3
enable_routine_to_update_most_recent_date()
S
81 1 3
enable_routine_to_add_default_awpcp_order()
S
81 1 3
enable_routine_to_add_missing_is_paid_meta()
S
81 1 3
enable_routine_to_force_post_id()
S
76 1 4
enable_routine_to_fix_id_collision_for_listings()
S
81 1 3
enable_routine_to_add_awpcp_contact_phone_number_digits()
S
81 1 3
enable_routine_to_add_missing_views_meta()
S
81 1 3
__construct()
S
67 1 8
enable_routine_to_store_categories_order_as_term_meta()
S
81 1 3
enable_upgrade_routine_to_migrate_listings()
S
81 1 3
enable_upgrade_routine_to_migrate_listing_categories()
S
81 1 3
remove_old_capabilities()
S
68 1 8
set_flag_to_show_missing_paypal_merchant_id_setting_notice()
S
79 1 3
set_flag_to_maybe_fix_browse_categories_page_information()
S
79 1 3
activate()
S
76 1 4
create_tasks_table()
S
81 1 3
upgrade_to_3_3_3()
S
80 1 3
upgrade_to_3_3_2()
S
81 1 3
upgrade_to_2_0_6()
S
73 1 5
upgrade_to_2_0_1()
S
73 1 5
is_version_number()
S
79 1 3
set_flag_to_store_browse_categories_page_information()
S
79 1 3