FrmTransLiteActionsController A

Total Complexity 74
Dependencies 11
Dependents 8
Total lines 611
Lines of code 320
Logical lines of code 176
Comment lines 217
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
before_save_settings()
A
47 8 40
prepare_amount()
S
54 7 19
trigger_payment_status_change()
S
55 5 19
trigger_action()
S
57 5 16
trigger_actions_after_payment()
S
57 5 16
maybe_use_decimal()
S
59 5 14
fill_entry_from_previous()
S
58 5 14
trigger_subscription_status_change()
S
62 3 12
prepare_settings_for_js()
S
55 2 19
get_currency_for_action()
S
65 3 9
destroy_entry_later()
S
62 2 12
actions_js()
S
60 1 15
replace_success_message()
S
64 2 9
prepare_description()
S
67 2 8
get_amount_from_string()
S
67 2 7
get_actions_for_form()
S
64 2 10
hide_gateway_field_on_front_end()
S
65 2 9
show_failed_message()
S
61 1 11
register_actions()
S
76 1 4
add_payment_trigger()
S
64 1 9
add_trigger_to_action()
S
66 1 9
get_gateway_for_action()
S
79 1 3
include_form_with_success()
S
76 1 4
trigger_gateway()
S
69 1 7
force_message_after_create()
S
81 1 3
normalize_number()
S
71 1 5
get_fields_for_price()
S
71 1 5
add_a_credit_card_field()
S
77 1 3
add_a_gateway_field()
S
77 1 3
add_a_field()
S
70 1 6