-
Home
-
Headless eCommerce API for Developers – CoCart
-
4.7.0
-
Code
-
Classes
- CoCart_Admin_WC_System_Status
| Total Complexity |
32 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
658 |
| Lines of code |
326 |
| Logical lines of code |
82 |
| Comment lines |
286 |
| Methods |
21 |
| Properties |
0 |
Methods 21
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_system_status_data() |
A |
34 |
1 |
124 |
| debug_buttons() |
S |
42 |
2 |
64 |
| __construct() |
S |
60 |
5 |
12 |
| render_system_status_items() |
S |
54 |
2 |
22 |
| maybe_update_database() |
S |
72 |
3 |
5 |
| maybe_verify_database() |
S |
72 |
3 |
5 |
| verify_database() |
S |
63 |
2 |
10 |
| add_cocart_fields_to_response() |
S |
59 |
1 |
14 |
| cocart_tools() |
S |
62 |
1 |
12 |
| maybe_show_results() |
S |
75 |
1 |
4 |
| carts_in_session() |
S |
75 |
1 |
4 |
| count_carts_expiring() |
S |
75 |
1 |
4 |
| count_carts_active() |
S |
75 |
1 |
4 |
| count_carts_expired() |
S |
75 |
1 |
4 |
| carts_source_web() |
S |
75 |
1 |
4 |
| carts_source_headless() |
S |
75 |
1 |
4 |
| carts_source_other() |
S |
75 |
1 |
4 |
| debug_clear_carts() |
S |
69 |
1 |
7 |
| debug_clear_expired_carts() |
S |
76 |
1 |
4 |
| synchronize_carts() |
S |
65 |
1 |
10 |
| update_database() |
S |
72 |
1 |
5 |