| Total Complexity | 35 |
| Dependencies | 4 |
| Dependents | 7 |
| Total lines | 366 |
| Lines of code | 250 |
| Logical lines of code | 100 |
| Comment lines | 52 |
| Methods | 7 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| calculate_payment_state() | 42 | 17 | 47 | |
| 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 |