Charitable_Square_Webhook_Processor D

Total Complexity 190
Dependencies 11
Dependents 0
Total lines 1,362
Lines of code 714
Logical lines of code 470
Comment lines 500
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
process_payment_updated()
D
20
64 191
process_invoice_payment_made()
C
28
22 147
process_subscription_updated()
C
35 23 84
process_refund()
A
42 12 53
process()
A
46 12 38
process_subscription_created()
A
47 9 35
get_subscription_status()
A
58 9 16
run_event_processors()
A
45 7 42
get_validated_incoming_event()
A
52 8 22
run()
S
60 3 14
update_payment_failure_count()
S
58 2 16
get_site_account_id()
S
66 3 9
get_subscription_for_webhook_object()
S
67 3 7
set_square_api_key()
S
68 2 7
is_connect_webhook_for_connected_account()
S
78 2 3
get_options()
S
68 2 8
process_payment_created()
S
71 2 6
get_instance()
S
71 2 6
__construct()
S
76 1 4
construct_from_event()
S
81 1 3
is_recurring_installed()
S
80 1 3