FrmStrpLiteEventsController A

Total Complexity 75
Dependencies 10
Dependents 2
Total lines 543
Lines of code 335
Logical lines of code 190
Comment lines 131
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
set_payment_status()
A
41 13 59
handle_event()
A
52 8 24
maybe_cancel_subscription()
S
49 6 33
prepare_from_invoice()
S
49 5 31
process_event_ids()
S
58 4 16
subscription_canceled()
S
54 3 23
count_failed_event()
S
59 3 15
set_payment_values()
S
58 3 14
track_handled_event()
S
62 3 12
update_next_bill_date()
S
65 3 8
should_skip_event()
S
64 3 10
should_skip_status_update_for_first_recurring_payment()
S
65 3 9
reset_customer()
S
61 2 14
get_subscription()
S
60 2 14
last_attempt_to_process_event_is_too_recent()
S
74 2 4
is_partial_refund()
S
66 2 9
is_first_payment()
S
77 2 3
process_connect_events()
S
68 2 8
maybe_subscription_canceled()
S
74 2 5
flush_response()
S
64 1 10
set_partial_refund()
S
74 1 4
get_payments_count()
S
70 1 6
get_payment_for_sub()
S
75 1 4