Total Complexity | 49 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 472 |
Lines of code | 287 |
Logical lines of code | 139 |
Comment lines | 88 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle() | 36 | 12 | 85 | |
handle_process_payment_sale_refunded() | 48 | 6 | 31 | |
handle_process_payment_sale_completed() | 51 | 5 | 27 | |
handle_process_payment_capture_completed() | 51 | 5 | 26 | |
handle_process_payment_sale_reversed() | 51 | 4 | 26 | |
handle_process_checkout_payment_approval_reversed() | 51 | 4 | 26 | |
handle_process_payment_order_cancelled() | 51 | 4 | 26 | |
handle_process_checkout_order_completed() | 57 | 3 | 18 | |
handle_process_payment_sale_denied() | 60 | 3 | 13 | |
log() | 74 | 2 | 5 | |
__construct() | 77 | 1 | 4 |