HappyForms_Form_Controller B

Total Complexity 89
Dependencies 2
Dependents 1
Total lines 877
Lines of code 511
Logical lines of code 315
Comment lines 211
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
update()
A
39 10 63
do_get()
A
49 8 31
render()
S
55 6 19
inject_new_form()
S
57 6 17
to_array()
S
55 4 18
single_template()
S
60 4 14
register_post_type()
S
46 2 38
get_fields()
S
58 3 18
duplicate()
S
57 3 16
get_first_part_by_type()
S
62 3 11
inject_virtual_post()
S
47 1 39
create()
S
56 2 19
validate_field()
S
67 3 7
the_form_title()
S
69 3 6
get()
S
62 2 11
get_post_fields()
S
56 1 21
create_virtual()
S
55 1 20
get_part_by_id()
S
66 2 8
part_error_class()
S
66 2 8
delete_post()
S
68 2 7
instance()
S
70 2 7
get_default()
S
69 2 7
get_field()
S
69 2 7
get_meta_fields()
S
62 1 13
get_message_definitions()
S
63 1 12
hook()
S
60 1 12
render_title()
S
73 1 5
set_parts_autocomplete_off()
S
77 1 4
set_form_autocomplete_off()
S
76 1 4
get_default_steps()
S
72 1 6
delete()
S
75 1 4
get_defaults()
S
75 1 4
has_spam_protection()
S
75 1 4
validate_fields()
S
68 1 7
get_parts_by_types()
S
68 1 7
get_parts_by_type()
S
68 1 7
get_latest()
S
70 1 6
set_parts_spellcheck_off()
S
77 1 4