-
Home
-
Headless WooCommerce Made Easy with CoCart
-
4.0.2
-
Code
-
Classes
- CoCart_Admin_WC_System_Status
Total Complexity |
40 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
636 |
Lines of code |
386 |
Logical lines of code |
102 |
Comment lines |
202 |
Methods |
20 |
Properties |
0 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_system_status_data() |
S |
37 |
1 |
98 |
debug_button() |
S |
42 |
2 |
64 |
__construct() |
S |
61 |
5 |
11 |
carts_in_session() |
S |
54 |
3 |
22 |
render_system_status_items() |
S |
54 |
2 |
22 |
carts_source_other() |
S |
57 |
2 |
18 |
count_carts_expiring() |
S |
57 |
2 |
18 |
count_carts_active() |
S |
58 |
2 |
17 |
count_carts_expired() |
S |
58 |
2 |
17 |
carts_source_web() |
S |
58 |
2 |
17 |
carts_source_headless() |
S |
58 |
2 |
17 |
maybe_update_database() |
S |
72 |
3 |
5 |
maybe_verify_database() |
S |
72 |
3 |
5 |
maybe_show_results() |
S |
68 |
2 |
7 |
verify_database() |
S |
63 |
2 |
10 |
cocart_tools() |
S |
62 |
1 |
12 |
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 |