WPCode_Auto_Insert_Type S

Total Complexity 39
Dependencies 3
Dependents 1
Total lines 379
Lines of code 141
Logical lines of code 69
Comment lines 179
Methods 19
Properties 11

Methods 19

Method Rating Maintainability Complexity Lines of code
load_all_snippets_for_type()
A
47 7 36
__construct()
S
63 4 11
load_locations_terms()
S
59 3 15
get_snippets_from_cache()
S
62 3 12
get_snippets_for_location()
S
65 2 9
get_location_terms()
S
72 2 6
get_locations_ids()
S
67 2 8
get_snippets()
S
72 2 6
get_locations()
S
79 2 3
maybe_run_hooks()
S
72 2 6
output_location()
S
71 2 6
register_type()
S
81 1 3
hooks()
S
91 1 2
conditions()
S
80 1 3
add_start_hook()
S
79 1 3
init()
S
100 1 0
include_term_in_post()
S
70 1 6
get_label()
S
82 1 3
use_cache()
S
79 1 3