OrderStatusesTest S

Total Complexity 38
Dependencies 7
Dependents 0
Total lines 553
Lines of code 274
Logical lines of code 99
Comment lines 187
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
test_is_editable()
S
50 7 29
test_is_paid()
S
55 4 19
test_payment_complete_order_status_with_disabled_status_sync()
S
56 3 20
test_cancel_unpaid_order()
S
59 3 15
test_payment_complete_order_status_with_status_syncs()
S
55 2 22
test_payment_complete()
S
58 2 18
test_get_authorized_order_status_with_woo_subscription()
S
63 2 11
test_add_valid_order_statuses_for_payment_complete_with_disabled_sync()
S
60 1 16
test_add_valid_order_statuses_for_payment_complete()
S
59 1 16
testget_authorized_order_status_with_sync()
S
60 1 15
test_update_order_status()
S
61 1 14
test_get_authorized_order_status_without_sync()
S
61 1 14
set_up()
S
64 1 11
test_set_authorized_status_already_authorized2()
S
68 1 8
test_set_settled_status()
S
91 1 2
set_up_before_class()
S
71 1 6
test_set_authorized_status_already_authorized()
S
80 1 3
test_payment_complete_order_status_with_non_reepay_gateway()
S
69 1 7
test_add_valid_order_statuses_for_payment_complete_with_non_reepay_gateway()
S
69 1 7
test_payment_complete_action_setted()
S
67 1 8
test_form_fields_filter()
S
71 1 6
test_get_authorized_order_status_with_non_reepay_gateway()
S
70 1 7