-
Home
-
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
-
2.1.0
-
Code
-
Classes
- WPCode_Auto_Insert_Type
Total Complexity |
41 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
403 |
Lines of code |
149 |
Logical lines of code |
74 |
Comment lines |
191 |
Methods |
20 |
Properties |
12 |
Methods 20
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() |
S |
72 |
2 |
6 |
output_location() |
S |
71 |
2 |
6 |
get_location_terms() |
S |
72 |
2 |
6 |
get_locations_ids() |
S |
67 |
2 |
8 |
get_location() |
S |
67 |
2 |
8 |
get_snippets_for_location() |
S |
65 |
2 |
9 |
get_locations() |
S |
79 |
2 |
3 |
maybe_run_hooks() |
S |
72 |
2 |
6 |
register_type() |
S |
81 |
1 |
3 |
add_start_hook() |
S |
79 |
1 |
3 |
hooks() |
S |
91 |
1 |
2 |
conditions() |
S |
80 |
1 |
3 |
include_term_in_post() |
S |
70 |
1 |
6 |
get_label() |
S |
82 |
1 |
3 |
use_cache() |
S |
79 |
1 |
3 |
init() |
S |
100 |
1 |
0 |