WC_Install D

Total Complexity 181
Dependencies 24
Dependents 40
Total lines 2,404
Lines of code 1,492
Logical lines of code 442
Comment lines 505
Methods 53
Properties 1

Methods 53

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
verify_base_tables()
A
50 7 31
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
create_pages()
S
43 4 49
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
maybe_enable_hpos()
S
70 2 6
maybe_set_activation_transients()
S
72 2 5
set_paypal_standard_load_eligibility()
S
74 2 5
run_update_callback()
S
66 2 8
install_actions()
S
68 2 7
newly_installed()
S
67 2 7
needs_db_update()
S
66 2 7
page_created()
S
69 2 6
drop_tables()
S
68 2 7
update_db_version()
S
78 2 3
maybe_create_pages()
S
74 2 5
cron_schedules()
S
63 1 11
wpmu_drop_tables()
S
79 1 3
update_wc_version()
S
79 1 3
setup_environment()
S
68 1 8
get_db_update_callbacks()
S
80 1 3
is_installing()
S
79 1 3
plugin_action_links()
S
68 1 6
associate_plugin_file()
S
70 1 6
run_update_callback_start()
S
79 1 3
remove_mailchimps_redirect()
S
75 1 4
run_manual_database_update()
S
80 1 3
manual_database_update()
S
74 1 4
remove_admin_notices()
S
75 1 4