WC_Install D

Total Complexity 184
Dependencies 24
Dependents 40
Total lines 2,592
Lines of code 1,662
Logical lines of code 446
Comment lines 519
Methods 55
Properties 1

Methods 55

Method Rating Maintainability Complexity Lines of code
get_schema()
C
24
5 361
background_installer()
B
33 15 109
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_files()
A
46 7 39
create_pages()
A
43 6 51
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
install()
S
49 5 35
get_cart_block_content()
S
45 1 81
get_checkout_block_content()
S
50 1 81
remove_roles()
S
56 5 18
create_cron_jobs()
S
50 4 27
plugin_row_meta()
S
54 3 18
get_core_capabilities()
S
51 2 30
maybe_update_db_version()
S
64 3 11
get_tables()
S
48 1 37
is_new_install()
S
72 3 4
wc_admin_db_update_notice()
S
68 3 8
add_admin_note_after_page_created()
S
64 3 10
check_version()
S
63 3 10
run_update_callback_end()
S
65 2 11
init()
S
57 1 16
needs_db_update()
S
66 2 7
maybe_enable_hpos()
S
70 2 6
install_actions()
S
68 2 7
newly_installed()
S
67 2 7
drop_tables()
S
68 2 7
maybe_set_activation_transients()
S
72 2 5
maybe_create_pages()
S
74 2 5
set_paypal_standard_load_eligibility()
S
74 2 5
run_update_callback()
S
66 2 8
update_db_version()
S
78 2 3
page_created()
S
69 2 6
cron_schedules()
S
63 1 11
remove_mailchimps_redirect()
S
75 1 4
manual_database_update()
S
74 1 4
update_wc_version()
S
79 1 3
run_manual_database_update()
S
80 1 3
associate_plugin_file()
S
70 1 6
plugin_action_links()
S
68 1 6
run_update_callback_start()
S
79 1 3
get_db_update_callbacks()
S
80 1 3
is_installing()
S
79 1 3
remove_admin_notices()
S
75 1 4
setup_environment()
S
68 1 8
wpmu_drop_tables()
S
79 1 3