InstantSettleTest S

Total Complexity 20
Dependencies 3
Dependents 0
Total lines 542
Lines of code 325
Logical lines of code 89
Comment lines 137
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
test_get_settled_items()
S
54 4 23
test_process_instant_settle()
S
49 3 36
test_calculate_instant_settle()
S
45 1 50
test_process_instant_settle_already_settled()
S
54 1 27
test_get_instant_settle_items_physical()
S
57 1 20
test_get_instant_settle_items_virtual()
S
57 1 20
test_maybe_settle_instantly_with_reepay_payment_method()
S
58 1 18
test_maybe_settle_instantly_with_non_reepay_payment_method()
S
58 1 18
test_get_instant_settle_items_fee()
S
59 1 18
test_get_instant_settle_items_shipping()
S
59 1 18
test_calculate_instant_settle_zero_total()
S
58 1 18
test_can_product_be_settled_instantly_physical()
S
59 1 17
test_can_product_be_settled_instantly_virtual()
S
59 1 17
test_get_instant_settle_items_recurring()
S
61 1 14
test_can_product_be_settled_instantly_recurring()
S
64 1 11