-
Home
-
Headless eCommerce API for Developers – CoCart
-
4.7.0
-
Code
-
Classes
- CoCart
| Total Complexity |
49 |
| Dependencies |
2 |
| Dependents |
14 |
| Total lines |
596 |
| Lines of code |
195 |
| Logical lines of code |
112 |
| Comment lines |
368 |
| Methods |
23 |
| Properties |
5 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| activation_check() |
A |
50 |
8 |
32 |
| includes() |
A |
49 |
8 |
30 |
| get_file_version() |
S |
69 |
5 |
6 |
| load_plugin_textdomain() |
S |
61 |
3 |
11 |
| setup_constants() |
S |
54 |
1 |
20 |
| init() |
S |
58 |
1 |
15 |
| define() |
S |
74 |
2 |
5 |
| install_cocart() |
S |
72 |
2 |
6 |
| deactivate_plugin() |
S |
70 |
2 |
6 |
| is_rest_api_request() |
S |
64 |
2 |
9 |
| session_handler() |
S |
68 |
2 |
7 |
| convert_plugin_dependency_slug() |
S |
71 |
2 |
6 |
| load_rest_api() |
S |
63 |
1 |
11 |
| __clone() |
S |
78 |
1 |
3 |
| __wakeup() |
S |
78 |
1 |
3 |
| get_name() |
S |
81 |
1 |
3 |
| get_version() |
S |
80 |
1 |
3 |
| get_path() |
S |
80 |
1 |
3 |
| background_updater() |
S |
80 |
1 |
3 |
| include_extension_compatibility() |
S |
80 |
1 |
3 |
| include_third_party() |
S |
80 |
1 |
3 |
| cocart_tasks() |
S |
80 |
1 |
3 |
| woocommerce() |
S |
76 |
1 |
4 |