WC_Install D

Total Complexity 199
Dependencies 29
Dependents 40
Total lines 2,755
Lines of code 1,758
Logical lines of code 493
Comment lines 560
Methods 57
Properties 1

Methods 57

Method Rating Maintainability Complexity Lines of code
get_schema()
C
25
5 360
background_installer()
B
33 15 109
maybe_install_legacy_api_plugin()
A
36 12 87
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
install()
S
47 6 40
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
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
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
page_created()
S
69 2 6
set_paypal_standard_load_eligibility()
S
74 2 5
run_update_callback()
S
66 2 8
maybe_set_store_id()
S
72 2 5
install_actions()
S
68 2 7
needs_db_update()
S
66 2 7
update_db_version()
S
78 2 3
maybe_create_pages()
S
74 2 5
maybe_set_activation_transients()
S
72 2 5
newly_installed()
S
67 2 7
maybe_enable_hpos()
S
70 2 6
drop_tables()
S
68 2 7
cron_schedules()
S
63 1 11
setup_environment()
S
67 1 9
run_manual_database_update()
S
80 1 3
plugin_action_links()
S
68 1 6
is_installing()
S
79 1 3
associate_plugin_file()
S
70 1 6
remove_admin_notices()
S
76 1 4
remove_mailchimps_redirect()
S
75 1 4
manual_database_update()
S
74 1 4
run_update_callback_start()
S
79 1 3
wpmu_drop_tables()
S
79 1 3
update_wc_version()
S
79 1 3
get_db_update_callbacks()
S
80 1 3