ES_Workflow D

Total Complexity 149
Dependencies 15
Dependents 10
Total lines 1,230
Lines of code 530
Logical lines of code 333
Comment lines 457
Methods 51
Properties 18

Methods 51

Method Rating Maintainability Complexity Lines of code
validate_rule()
A
51 9 26
schedule()
A
53 8 24
queue()
A
49 7 33
calculate_scheduled_datetime()
S
50 7 29
validate_workflow()
S
55 7 22
get_actions()
S
54 6 21
validate_rules()
S
57 6 19
sanitize_action_fields()
S
55 4 20
get_timing_delay()
S
56 4 18
get_instance()
S
58 4 16
has_action()
S
60 4 14
is_missing_required_data()
S
64 4 12
get_action_from_action_fields()
S
62 4 11
get_fixed_time()
S
61 4 11
is_runnable()
S
62 4 11
__construct()
S
55 3 20
run()
S
56 3 17
format_action_fields()
S
58 3 16
get_trigger()
S
64 4 10
update_status()
S
62 3 12
get_status()
S
66 3 9
set_data_layer()
S
66 3 9
get_option()
S
67 3 7
update_last_ran_at()
S
61 2 13
get_variable_time()
S
62 2 11
get_action()
S
69 2 7
get_trigger_option()
S
66 2 9
data_layer()
S
71 2 6
get_timing_type()
S
67 2 8
get_meta()
S
78 2 3
get_actions_data()
S
74 2 4
get_trigger_options()
S
76 2 4
is_active()
S
71 2 6
get_id()
S
79 2 3
setup()
S
71 2 6
get_rule_data()
S
79 2 3
variable_processor()
S
71 2 6
get_edit_url()
S
63 1 12
get_title()
S
82 1 3
get_date_created()
S
82 1 3
get_last_ran_at()
S
80 1 3
get_timing_delay_number()
S
80 1 3
get_data_item()
S
80 1 3
set_data_item()
S
80 1 3
reset_data()
S
82 1 3
set_actions_data()
S
70 1 6
get_trigger_name()
S
80 1 3
get_scheduled_days()
S
80 1 3
get_scheduled_time()
S
80 1 3
cleanup()
S
81 1 3
get_timing_delay_unit()
S
80 1 3