WC_Install D

Total Complexity 157
Dependencies 17
Dependents 37
Total lines 1,844
Lines of code 1,180
Logical lines of code 374
Comment lines 361
Methods 47
Properties 1

Methods 47

Method Rating Maintainability Complexity Lines of code
background_installer()
B
33 15 109
get_schema()
A
31 2 222
create_tables()
A
43 12 44
create_terms()
A
44 10 45
create_options()
A
49 10 26
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()
S
51 7 26
create_pages()
S
45 4 44
remove_roles()
S
56 5 18
update()
S
56 4 19
install()
S
52 3 28
create_cron_jobs()
S
53 3 21
get_core_capabilities()
S
51 2 30
plugin_row_meta()
S
57 3 14
maybe_update_db_version()
S
64 3 11
is_new_install()
S
72 3 4
check_version()
S
69 3 6
wc_admin_db_update_notice()
S
68 3 8
add_admin_note_after_page_created()
S
64 3 10
run_update_callback_end()
S
65 2 11
get_tables()
S
52 1 26
set_paypal_standard_load_eligibility()
S
74 2 5
drop_tables()
S
68 2 7
page_created()
S
69 2 6
maybe_create_pages()
S
74 2 5
needs_db_update()
S
66 2 7
run_update_callback()
S
66 2 8
install_actions()
S
68 2 7
update_db_version()
S
78 2 3
maybe_set_activation_transients()
S
72 2 5
init()
S
59 1 13
cron_schedules()
S
63 1 11
setup_environment()
S
68 1 8
plugin_action_links()
S
68 1 6
update_wc_version()
S
79 1 3
associate_plugin_file()
S
70 1 6
get_db_update_callbacks()
S
80 1 3
remove_mailchimps_redirect()
S
75 1 4
run_update_callback_start()
S
79 1 3
wpmu_drop_tables()
S
79 1 3
run_manual_database_update()
S
80 1 3
manual_database_update()
S
74 1 4
remove_admin_notices()
S
75 1 4