FrmFormTemplatesController A

Total Complexity 57
Dependencies 6
Dependents 5
Total lines 839
Lines of code 333
Logical lines of code 162
Comment lines 387
Methods 31
Properties 11

Methods 31

Method Rating Maintainability Complexity Lines of code
render_modal()
A
49 9 29
organize_and_set_categories()
A
42 7 56
ajax_add_or_remove_favorite()
S
54 5 19
fetch_and_format_custom_templates()
S
50 2 28
ajax_create_template()
S
55 2 19
append_new_template_to_nav()
S
65 3 9
assign_featured_templates()
S
66 3 8
load_admin_hooks()
S
61 2 11
enqueue_assets()
S
56 1 19
render()
S
59 1 15
init_template_resources()
S
60 1 15
get_template_count()
S
69 2 7
get_js_variables()
S
60 1 14
init_favorite_templates()
S
62 1 12
menu()
S
64 1 11
get_categories()
S
80 1 3
get_upgrade_link()
S
80 1 3
get_view_path()
S
80 1 3
is_expired()
S
80 1 3
get_license_type()
S
80 1 3
get_custom_templates()
S
80 1 3
get_favorite_templates()
S
80 1 3
get_templates()
S
80 1 3
get_featured_templates()
S
80 1 3
get_published_forms()
S
75 1 4
retrieve_and_set_templates()
S
73 1 5
is_templates_page()
S
80 1 3
get_header_cancel_button()
S
70 1 6
get_favorite_templates_count()
S
72 1 5
set_form_templates_data()
S
69 1 8
get_renew_link()
S
80 1 3