PeachPay_Stripe A

Total Complexity 65
Dependencies 8
Dependents 8
Total lines 677
Lines of code 346
Logical lines of code 158
Comment lines 102
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
calculate_payment_state()
C
38 25 61
refund_payment()
S
43 4 50
handle_dispute_created()
S
52 5 22
handle_dispute_closed()
S
55 5 18
get_customer()
S
57 5 16
create_payment()
S
48 3 33
dashboard_url()
S
58 4 15
setup_payment()
S
50 3 29
capture_payment()
S
48 2 35
void_payment()
S
48 2 35
set_customer()
S
57 3 18
display_amount()
S
68 2 7
format_amount()
S
68 2 7