WC_Install D

Total Complexity 207
Dependencies 29
Dependents 38
Total lines 2,833
Lines of code 1,793
Logical lines of code 510
Comment lines 586
Methods 59
Properties 1

Methods 59

Method Rating Maintainability Complexity Lines of code
get_schema()
C
24
5 362
background_installer()
B
33 15 109
maybe_install_legacy_api_plugin()
B
33 14 104
create_terms()
A
44 10 45
create_options()
A
49 11 27
get_refunds_return_policy_page_content()
A
44 1 144
create_placeholder_image()
A
46 8 37
theme_background_installer()
A
44 7 44
create_roles()
A
40 5 70
create_pages()
A
42 6 52
create_files()
S
49 7 29
verify_base_tables()
S
48 6 37
migrate_options()
S
49 6 32
should_enable_hpos_for_new_shop()
S
56 7 17
update()
S
50 6 31
delete_obsolete_notes()
S
40 3 70
create_tables()
S
52 6 24
get_checkout_block_content()
S
49 1 85
get_cart_block_content()
S
45 1 81
remove_roles()
S
56 5 18
create_cron_jobs()
S
50 4 27
install()
S
54 4 22
install_core()
S
55 3 25
plugin_row_meta()
S
54 3 18
get_core_capabilities()
S
51 2 30
maybe_activate_legacy_api_enabled_option()
S
71 4 5
maybe_update_db_version()
S
64 3 11
install_actions()
S
62 3 11
get_tables()
S
48 1 37
add_admin_note_after_page_created()
S
64 3 10
check_version()
S
63 3 10
wc_admin_db_update_notice()
S
68 3 8
is_new_install()
S
67 3 7
run_update_callback_end()
S
65 2 11
init()
S
56 1 17
maybe_set_activation_transients()
S
72 2 5
needs_db_update()
S
66 2 7
maybe_set_store_id()
S
72 2 5
maybe_enable_hpos()
S
70 2 6
newly_installed()
S
65 2 8
drop_tables()
S
68 2 7
page_created()
S
69 2 6
maybe_create_pages()
S
74 2 5
run_update_callback()
S
66 2 8
set_paypal_standard_load_eligibility()
S
74 2 5
update_db_version()
S
78 2 3
cron_schedules()
S
63 1 11
update_wc_version()
S
79 1 3
get_db_update_callbacks()
S
80 1 3
manual_database_update()
S
74 1 4
is_installing()
S
79 1 3
remove_mailchimps_redirect()
S
75 1 4
associate_plugin_file()
S
70 1 6
remove_admin_notices()
S
76 1 4
run_manual_database_update()
S
80 1 3
run_update_callback_start()
S
79 1 3
wpmu_drop_tables()
S
79 1 3
setup_environment()
S
68 1 8
plugin_action_links()
S
68 1 6