PeachPay_ConvesioPay_Webhook D

Total Complexity 139
Dependencies 4
Dependents 1
Total lines 950
Lines of code 559
Logical lines of code 357
Comment lines 230
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
process_webhook_event()
B
42 19 49
handle_refund_webhook()
B
35 16 87
validate_webhook_signature()
A
49 17 25
handle_webhook()
A
40 11 59
get_payment_method_title()
A
51 12 28
handle_payment_authorized()
A
46 10 37
handle_manual_capture_webhook()
A
47 10 34
handle_payment_success()
A
47 9 35
handle_payment_cancelled()
S
49 6 34
find_order_by_number()
S
50 6 33
is_duplicate_event()
S
55 7 18
get_config()
S
49 4 35
handle_manual_cancel_webhook()
S
52 4 24
handle_payment_failure()
S
54 3 22
handle_payment_pending()
S
58 3 16
register_routes()
S
57 1 20
__construct()
S
79 1 3