Code Analysis: Post Checkout Registration for WooCommerce 1.0.1

Most Complex Classes

Class Rating Complexity
Run_WC_PCR
A
58

Most Complex Functions

Function Rating Complexity
Run_WC_PCR::process_post_checkout_registration()
A
11
Run_WC_PCR::add_pcr_enable_fields()
A
6
Run_WC_PCR::link_previous_orders()
S
6
Run_WC_PCR::add_customer_data()
S
5
Run_WC_PCR::maybe_register_new_customer()
S
5
Run_WC_PCR::add_custom_tracking_fields()
S
4
Run_WC_PCR::maybe_show_registration_notice()
S
4
Run_WC_PCR::get_registration_notice()
S
3
Run_WC_PCR::maybe_store_order_data()
S
3
Run_WC_PCR::define_hooks()
S
2
wc_pcr_generate_random_token()
S
2
Run_WC_PCR::render_registration_prompt()
S
1