SG_Extra_Action D

Total Complexity 148
Dependencies 1
Dependents 1
Total lines 1,032
Lines of code 555
Logical lines of code 314
Comment lines 318
Methods 45
Properties 19

Methods 45

Method Rating Maintainability Complexity Lines of code
render_field()
C
30 26 112
validate_admin_data()
A
51 13 23
complete()
A
45 11 38
form_admin()
A
45 10 43
create_action()
A
48 8 31
form_public()
A
45 7 45
validate()
S
51 6 27
is_action_instance_valid()
S
56 6 19
set_admin_data_from_giveaway()
S
62 5 12
get_action_from_db()
S
59 4 14
is_completed()
S
61 4 12
get_data()
S
62 4 12
update_status()
S
53 3 25
can_complete()
S
65 4 8
get_fields()
S
61 3 12
action_attributes()
S
63 3 10
prepare_value_for_entries_table()
S
69 2 7
set_admin_data()
S
74 2 4
get_category()
S
82 1 3
get_admin_data()
S
65 1 10
get_subscriber_id()
S
82 1 3
get_title()
S
82 1 3
get_value_for_entries_table()
S
82 1 3
set_entries()
S
81 1 3
set_title()
S
81 1 3
set_instance_id()
S
81 1 3
set_giveaway_id()
S
81 1 3
get_description()
S
82 1 3
get_action_entries()
S
79 1 3
get_giveaway_id()
S
82 1 3
get_instance_id()
S
82 1 3
get_slug()
S
82 1 3
get_icon()
S
80 1 3
get_admin_form()
S
74 1 5
get_action_attributes()
S
66 1 8
is_internal_only()
S
82 1 3
has_action_button()
S
82 1 3
needs_validation()
S
82 1 3
complete_action()
S
82 1 3
validate_action()
S
82 1 3
complete_mark()
S
75 1 4
action_entries()
S
71 1 5
form_public_content()
S
98 1 1
action_button()
S
69 1 8
set_subscriber_id()
S
80 1 3