WPSEO_Primary_Term_Admin S

Total Complexity 33
Dependencies 4
Dependents 1
Total lines 293
Lines of code 129
Logical lines of code 64
Comment lines 118
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
enqueue_assets()
S
57 3 18
map_taxonomies_for_js()
S
57 3 16
save_primary_terms()
S
65 4 9
get_primary_term_taxonomies()
S
62 3 12
save_primary_term()
S
66 3 7
get_current_id()
S
67 3 7
add_input_fields()
S
65 2 8
wp_footer()
S
71 2 6
register_hooks()
S
69 1 6
map_terms_for_js()
S
72 1 6
get_mapped_taxonomies_for_js()
S
78 1 3
generate_primary_term_taxonomies()
S
67 1 7
get_primary_term()
S
75 1 4
include_js_templates()
S
80 1 3
generate_field_name()
S
79 1 3
generate_field_id()
S
80 1 3
primary_term_field()
S
68 1 8
filter_hierarchical_taxonomies()
S
81 1 3