FrmFormAction D

Total Complexity 157
Dependencies 9
Dependents 6
Total lines 999
Lines of code 552
Logical lines of code 318
Comment lines 270
Methods 44
Properties 9

Methods 44

Method Rating Maintainability Complexity Lines of code
action_conditions_met()
B
47 17 32
duplicate_array_walk()
A
51 13 25
update_callback()
A
45 10 40
get_all()
A
47 9 35
__construct()
A
44 8 42
duplicate_one()
A
53 9 22
get_action_for_form()
A
48 8 33
prepare_action()
A
55 8 18
get_group()
S
56 7 18
migrate_to_2()
S
50 6 29
prepare_new()
S
53 4 23
get_value_from_entry()
S
57 4 17
destroy()
S
57 4 16
maybe_create_action()
S
62 5 10
action_args()
S
60 3 13
get_global_defaults()
S
61 3 13
duplicate_form_actions()
S
62 3 12
maybe_update_status()
S
62 3 12
prepare_logic_value()
S
64 3 10
prepare_get_action()
S
63 2 12
get_field_name()
S
69 2 6
maybe_switch_field_ids()
S
69 2 7
get_single_action()
S
68 2 8
get_single_action_type()
S
69 2 7
get_upgrade_text()
S
79 1 3
render_conditional_logic_call_to_action()
S
67 1 9
get_global_switch_fields()
S
70 1 6
trigger_labels()
S
63 1 10
get_settings()
S
79 1 3
default_action_opts()
S
69 1 7
update()
S
82 1 3
get_one()
S
79 1 3
clear_cache()
S
80 1 3
form_has_action_type()
S
74 1 4
form()
S
74 1 4
save_settings()
S
75 1 4
create()
S
73 1 5
_set()
S
76 1 4
get_field_id()
S
80 1 3
FrmFormAction()
S
78 1 3
migrate_values()
S
82 1 3
get_switch_fields()
S
82 1 3
get_defaults()
S
82 1 3
get_form_fields()
S
66 1 9