-
Home
-
WPC Smart Messages for WooCommerce
-
1.0.0
-
Code
-
Classes
- Wpcsm_Backend
| Total Complexity |
36 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
562 |
| Lines of code |
525 |
| Logical lines of code |
132 |
| Comment lines |
2 |
| Methods |
16 |
| Properties |
1 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_locations() |
A |
27 |
1 |
230 |
| metabox_location() |
S |
52 |
6 |
26 |
| metabox_conditions() |
S |
45 |
4 |
47 |
| get_condition_type() |
S |
41 |
2 |
60 |
| save_post() |
S |
60 |
5 |
14 |
| ajax_search_term() |
S |
56 |
3 |
18 |
| metabox_message() |
S |
55 |
2 |
21 |
| register_post_type() |
S |
49 |
1 |
31 |
| sanitize_array() |
S |
64 |
3 |
10 |
| ajax_add_condition() |
S |
59 |
1 |
16 |
| instance() |
S |
72 |
2 |
6 |
| get_condition_value() |
S |
73 |
2 |
5 |
| add_meta_box() |
S |
60 |
1 |
14 |
| enqueue_scripts() |
S |
62 |
1 |
11 |
| __construct() |
S |
64 |
1 |
9 |
| ajax_get_condition_value() |
S |
68 |
1 |
7 |