LLMS_Order D

Total Complexity 171
Dependencies 5
Dependents 13
Total lines 2,070
Lines of code 845
Logical lines of code 400
Comment lines 866
Methods 57
Properties 3

Methods 57

Method Rating Maintainability Complexity Lines of code
get_transactions()
A
35 12 94
init()
A
37 11 76
calculate_next_payment_date()
A
48 10 29
add_note()
S
46 6 37
maybe_schedule_payment()
S
56 7 18
get_recurring_payment_due_date_for_scheduler()
S
58 7 15
get_access_expiration_date()
S
51 6 25
maybe_schedule_retry()
S
47 5 35
can_be_retried()
S
57 6 16
set_user_data()
S
48 4 36
get_transaction_total()
S
49 4 34
get_next_payment_due_date()
S
56 5 16
get_coupon_amount()
S
59 5 14
get_access_status()
S
54 4 22
set_date()
S
58 4 15
get_gateway()
S
64 4 9
start_access()
S
60 3 13
get_revenue()
S
61 3 12
get_trial_end_date()
S
63 3 11
get_creation_args()
S
52 2 25
record_transaction()
S
48 1 34
get_start_date()
S
55 2 19
set_status()
S
66 3 8
schedule_recurring_payment()
S
59 2 15
get_switch_source_action()
S
67 3 7
can_resubscribe()
S
59 2 15
get_remaining_payments()
S
58 2 15
get_last_transaction()
S
60 2 14
get_customer_full_address()
S
60 2 13
get_retry_rules()
S
54 1 25
has_trial()
S
78 2 3
unschedule_recurring_payment()
S
68 2 7
unschedule_expiration()
S
73 2 5
can_switch_source()
S
73 2 4
get_customer_name()
S
69 2 6
get_initial_price()
S
67 2 8
maybe_schedule_expiration()
S
68 2 7
supports_modify_recurring_payments()
S
74 2 4
has_scheduled_payment()
S
75 2 4
has_discount()
S
79 2 3
get_last_transaction_date()
S
67 2 8
has_plan_expiration()
S
78 2 3
has_access()
S
78 2 3
get_notes()
S
63 1 11
is_recurring()
S
79 1 3
has_coupon()
S
79 1 3
is_legacy()
S
79 1 3
has_sale()
S
79 1 3
get_action_args()
S
74 1 5
generate_order_key()
S
78 1 3
get_product()
S
80 1 3
has_trial_ended()
S
79 1 3
after_create()
S
80 1 3
get_next_scheduled_action_time()
S
79 1 3
can_be_confirmed()
S
68 1 8
calculate_trial_end_date()
S
65 1 8
get_view_link()
S
73 1 4