LLMS_Order D

Total Complexity 158
Dependencies 4
Dependents 11
Total lines 1,791
Lines of code 782
Logical lines of code 389
Comment lines 674
Methods 52
Properties 3

Methods 52

Method Rating Maintainability Complexity Lines of code
get_transactions()
A
36 12 92
init()
A
36 10 82
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
can_be_retried()
S
57 6 16
maybe_schedule_retry()
S
49 5 29
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
56 2 18
schedule_recurring_payment()
S
59 2 15
get_remaining_payments()
S
58 2 15
can_resubscribe()
S
59 2 15
set_status()
S
66 3 8
get_customer_full_address()
S
60 2 13
get_last_transaction()
S
61 2 13
get_retry_rules()
S
54 1 25
has_access()
S
78 2 3
has_plan_expiration()
S
78 2 3
has_trial()
S
78 2 3
has_scheduled_payment()
S
75 2 4
unschedule_expiration()
S
73 2 5
has_discount()
S
79 2 3
get_customer_name()
S
69 2 6
maybe_schedule_expiration()
S
68 2 7
unschedule_recurring_payment()
S
68 2 7
get_initial_price()
S
67 2 8
get_last_transaction_date()
S
67 2 8
get_notes()
S
63 1 11
generate_order_key()
S
78 1 3
get_product()
S
80 1 3
is_recurring()
S
79 1 3
is_legacy()
S
79 1 3
calculate_trial_end_date()
S
65 1 8
has_trial_ended()
S
79 1 3
has_coupon()
S
79 1 3
get_action_args()
S
74 1 5
get_view_link()
S
73 1 4
after_create()
S
80 1 3
get_next_scheduled_action_time()
S
79 1 3
has_sale()
S
79 1 3