FrmTransLiteActionsController B

Total Complexity 80
Dependencies 11
Dependents 8
Total lines 605
Lines of code 322
Logical lines of code 177
Comment lines 210
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
fill_entry_from_previous()
S
58 6 14
trigger_payment_status_change()
S
56 5 18
trigger_action()
S
57 5 16
trigger_actions_after_payment()
S
57 5 16
maybe_use_decimal()
S
59 5 14
prepare_settings_for_js()
S
55 3 19
trigger_subscription_status_change()
S
62 3 12
replace_success_message()
S
64 3 9
get_currency_for_action()
S
65 3 9
destroy_entry_later()
S
62 2 12
show_failed_message()
S
61 2 11
get_actions_for_form()
S
64 2 10
get_gateway_for_action()
S
71 2 6
prepare_description()
S
67 2 8
actions_js()
S
60 1 15
get_amount_from_string()
S
67 2 7
hide_gateway_field_on_front_end()
S
65 2 9
get_fields_for_price()
S
71 2 5
add_a_credit_card_field()
S
77 1 3
add_a_gateway_field()
S
77 1 3
register_actions()
S
76 1 4
normalize_number()
S
71 1 5
force_message_after_create()
S
81 1 3
trigger_gateway()
S
69 1 7
include_form_with_success()
S
76 1 4
add_trigger_to_action()
S
66 1 9
add_payment_trigger()
S
64 1 9
add_a_field()
S
70 1 6