FrmFormsHelper D

Total Complexity 292
Dependencies 7
Dependents 24
Total lines 1,810
Lines of code 1,224
Logical lines of code 570
Comment lines 379
Methods 67
Properties 1

Methods 67

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