| Total Complexity | 34 |
| Dependencies | 4 |
| Dependents | 7 |
| Total lines | 363 |
| Lines of code | 248 |
| Logical lines of code | 98 |
| Comment lines | 51 |
| Methods | 7 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| calculate_payment_state() | 43 | 16 | 45 | |
| refund_payment() | 38 | 7 | 71 | |
| create_payment() | 48 | 3 | 33 | |
| capture_payment() | 47 | 2 | 38 | |
| void_payment() | 47 | 2 | 37 | |
| unlink() | 56 | 2 | 18 | |
| format_amount() | 69 | 2 | 6 |