FrmFormsHelper D

Total Complexity 271
Dependencies 8
Dependents 13
Total lines 1,595
Lines of code 1,134
Logical lines of code 523
Comment lines 258
Methods 64
Properties 0

Methods 64

Method Rating Maintainability Complexity Lines of code
form_switcher()
C
32 24 102
fill_default_opts()
B
50 24 24
get_form_style()
A
55 15 17
replace_shortcodes()
A
45 12 38
setup_new_vars()
A
46 10 39
auto_add_end_section_fields()
A
46 9 39
forms_dropdown()
A
46 8 37
insert_opt_html()
A
49 8 31
template_icon()
A
43 7 46
format_link_html()
A
53 8 20
show_error()
A
54 8 18
get_form_style_class()
S
53 7 23
plan_is_allowed()
S
56 7 17
get_action_links()
S
49 6 30
form_has_top_labels()
S
56 6 18
get_plan_required()
S
57 6 16
html_shortcodes()
S
40 1 76
check_redirect_url_for_unsafe_params()
S
61 5 12
get_custom_submit()
S
53 4 21
delete_trash_info()
S
59 4 15
get_template_install_link()
S
51 3 27
style_class_label()
S
63 4 11
insert_code_html()
S
54 3 22
get_default_html()
S
56 3 21
reserved_words()
S
46 1 46
available_count()
S
58 3 16
setup_edit_vars()
S
62 4 10
get_sortable_classes()
S
73 4 4
create_unsafe_param_warning()
S
58 3 14
maybe_create_end_section()
S
60 3 13
grid_classes()
S
53 2 24
css_classes()
S
49 1 33
show_errors()
S
59 2 16
fill_form_options()
S
67 3 7
get_field_link_icon()
S
66 3 8
maybe_hide_inline()
S
67 3 8
submit_button_label()
S
68 3 7
actions_dropdown()
S
63 3 9
show_plan_required()
S
62 2 13
status_nice_name()
S
61 2 12
get_unsafe_params()
S
62 2 11
delete_trash_links()
S
51 1 26
get_default_opts()
S
56 1 18
edit_form_link_label()
S
68 2 7
edit_form_link()
S
64 2 9
get_form_name_from_data()
S
66 2 9
add_html_attr()
S
71 2 5
maybe_get_scroll_js()
S
69 2 6
maybe_align_fields_top()
S
78 2 3
check_for_warnings()
S
67 2 8
get_invalid_error_message()
S
64 2 9
get_form_id_from_data()
S
68 2 8
prepare_field_type()
S
67 2 8
get_field_link_name()
S
67 2 8
template_install_html()
S
71 2 4
builder_submit_button()
S
80 1 3
ignore_template_categories()
S
77 1 3
field_has_top_label()
S
73 1 4
get_scroll_js()
S
79 1 3
get_success_message()
S
68 1 6
get_direct_link()
S
71 1 5
get_draft_link()
S
77 1 4
delete_trash_link()
S
74 1 4
form_error_class()
S
79 1 3