WC_Install D

Total Complexity 164
Dependencies 19
Dependents 40
Total lines 2,318
Lines of code 1,444
Logical lines of code 416
Comment lines 486
Methods 50
Properties 1

Methods 50

Method Rating Maintainability Complexity Lines of code
get_schema()
B
26
2 354
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
migrate_options()
S
49 6 32
update()
S
50 6 31
delete_obsolete_notes()
S
40 3 70
create_tables()
S
52 6 24
create_pages()
S
43 4 49
verify_base_tables()
S
55 5 21
remove_roles()
S
56 5 18
create_cron_jobs()
S
50 4 27
install()
S
51 3 32
check_version()
S
59 4 14
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
wc_admin_db_update_notice()
S
68 3 8
add_admin_note_after_page_created()
S
64 3 10
is_new_install()
S
72 3 4
run_update_callback_end()
S
65 2 11
drop_tables()
S
68 2 7
set_paypal_standard_load_eligibility()
S
74 2 5
page_created()
S
69 2 6
maybe_create_pages()
S
74 2 5
maybe_set_activation_transients()
S
72 2 5
update_db_version()
S
78 2 3
run_update_callback()
S
66 2 8
install_actions()
S
68 2 7
needs_db_update()
S
66 2 7
init()
S
58 1 14
cron_schedules()
S
63 1 11
update_wc_version()
S
79 1 3
setup_environment()
S
68 1 8
remove_admin_notices()
S
75 1 4
is_installing()
S
79 1 3
associate_plugin_file()
S
70 1 6
wpmu_drop_tables()
S
79 1 3
remove_mailchimps_redirect()
S
75 1 4
run_update_callback_start()
S
79 1 3
get_db_update_callbacks()
S
80 1 3
run_manual_database_update()
S
80 1 3
manual_database_update()
S
74 1 4
plugin_action_links()
S
68 1 6