OrderStatusesTest S

Total Complexity 41
Dependencies 4
Dependents 0
Total lines 609
Lines of code 347
Logical lines of code 133
Comment lines 166
Methods 25
Properties 0

Methods 25

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_set_settled_status()
S
50 1 29
test_get_authorized_order_status_with_woo_subscription()
S
63 2 11
test_set_settled_status_with_authorized_data()
S
53 1 25
test_set_authorized_status()
S
58 1 17
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
test_get_authorized_order_status_with_sync()
S
60 1 15
test_get_authorized_order_status_without_sync()
S
61 1 14
test_set_authorized_status_to_order_with_authorized_status()
S
61 1 14
test_update_order_status()
S
62 1 13
test_set_authorized_status_already_authorized()
S
75 1 4
test_payment_complete_action_setted()
S
67 1 8
test_set_settled_status_with_non_reepay_payment_method()
S
80 1 3
test_set_settled_status_with_already_settled_order_meta()
S
72 1 5
test_set_settled_status_with_api_error()
S
67 1 7
test_get_authorized_order_status_with_non_reepay_gateway()
S
70 1 7
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_form_fields_filter()
S
71 1 6