-
Home
-
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
-
2.0.3
-
Code
-
Classes
- WPCode_Auto_Insert_Type
Total Complexity |
36 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
317 |
Lines of code |
127 |
Logical lines of code |
64 |
Comment lines |
142 |
Methods |
17 |
Properties |
6 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
load_all_snippets_for_type() |
A |
47 |
7 |
36 |
__construct() |
S |
64 |
4 |
10 |
load_locations_terms() |
S |
59 |
3 |
15 |
get_snippets_from_cache() |
S |
62 |
3 |
12 |
get_location_terms() |
S |
72 |
2 |
6 |
get_locations_ids() |
S |
67 |
2 |
8 |
get_snippets() |
S |
72 |
2 |
6 |
get_snippets_for_location() |
S |
72 |
2 |
5 |
get_locations() |
S |
79 |
2 |
3 |
maybe_run_hooks() |
S |
72 |
2 |
6 |
init() |
S |
100 |
1 |
0 |
hooks() |
S |
91 |
1 |
2 |
conditions() |
S |
80 |
1 |
3 |
add_start_hook() |
S |
79 |
1 |
3 |
include_term_in_post() |
S |
70 |
1 |
6 |
get_label() |
S |
82 |
1 |
3 |
use_cache() |
S |
79 |
1 |
3 |