Total Complexity | 43 |
Dependencies | 4 |
Dependents | 7 |
Total lines | 436 |
Lines of code | 311 |
Logical lines of code | 109 |
Comment lines | 56 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
calculate_payment_state() | 42 | 17 | 47 | |
refund_payment() | 36 | 9 | 86 | |
create_payment() | 44 | 5 | 49 | |
capture_payment() | 43 | 4 | 53 | |
void_payment() | 43 | 4 | 52 | |
unlink() | 56 | 2 | 18 | |
format_amount() | 69 | 2 | 6 |