FrmFormTemplatesController A

Total Complexity 60
Dependencies 9
Dependents 5
Total lines 874
Lines of code 350
Logical lines of code 171
Comment lines 397
Methods 32
Properties 11

Methods 32

Method Rating Maintainability Complexity Lines of code
organize_and_set_categories()
A
42 8 52
render_modal()
A
48 8 33
ajax_add_or_remove_favorite()
S
54 5 19
ajax_get_free_templates()
S
57 3 16
fetch_and_format_custom_templates()
S
50 2 28
ajax_create_template()
S
55 2 19
assign_featured_templates()
S
66 3 8
append_new_template_to_nav()
S
65 3 9
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_js_variables()
S
59 1 15
get_template_count()
S
69 2 7
init_favorite_templates()
S
62 1 12
menu()
S
64 1 11
set_form_templates_data()
S
69 1 8
retrieve_and_set_templates()
S
73 1 5
get_favorite_templates_count()
S
72 1 5
get_header_cancel_button()
S
70 1 6
is_templates_page()
S
80 1 3
get_templates()
S
80 1 3
get_published_forms()
S
75 1 4
get_featured_templates()
S
80 1 3
get_categories()
S
80 1 3
get_favorite_templates()
S
80 1 3
get_custom_templates()
S
80 1 3
get_license_type()
S
80 1 3
is_expired()
S
80 1 3
get_view_path()
S
80 1 3
get_upgrade_link()
S
80 1 3
get_renew_link()
S
80 1 3