Collector_Api_Callbacks B

Total Complexity 80
Dependencies 12
Dependents 0
Total lines 609
Lines of code 371
Logical lines of code 244
Comment lines 154
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
process_order()
C
26
21 150
validation_cb()
A
43 9 48
collector_check_for_order_callback()
S
48 5 34
check_if_user_exists_and_logged_in()
S
58 5 15
check_order_amount()
S
59 5 13
check_order_totals()
S
60 5 11
get_collector_total()
S
58 4 14
check_order_status()
S
60 4 13
set_order_status()
S
61 3 11
check_cart_coupons()
S
65 3 9
check_woo_notices()
S
65 3 9
get_instance()
S
71 2 6
__construct()
S
68 2 6
backup_order_creation()
S
65 2 9
check_session_id()
S
69 2 6
check_all_in_stock()
S
68 2 7
set_current_user()
S
74 2 5
update_order_reference_in_collector()
S
72 1 5