Total Complexity | 26 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 284 |
Lines of code | 215 |
Logical lines of code | 130 |
Comment lines | 37 |
Methods | 7 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
init_form_fields() | 37 | 6 | 88 | |
process_payment() | 45 | 7 | 37 | |
process_refund() | 46 | 4 | 36 | |
__construct() | 47 | 3 | 35 | |
can_refund_order() | 80 | 2 | 3 | |
validate_fields() | 71 | 2 | 6 | |
response_handler() | 63 | 2 | 10 |