-
Home
-
Headless eCommerce API for Developers – CoCart
-
4.8.0 (latest)
-
Code
-
Classes
- CoCart_REST_Terms_Controller
| Total Complexity |
55 |
| Dependencies |
5 |
| Dependents |
0 |
| Total lines |
525 |
| Lines of code |
311 |
| Logical lines of code |
140 |
| Comment lines |
157 |
| Methods |
11 |
| Properties |
3 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_items() |
B |
37 |
15 |
74 |
| get_collection_params() |
A |
37 |
5 |
89 |
| get_terms_for_product() |
A |
50 |
9 |
28 |
| check_permissions() |
S |
57 |
7 |
15 |
| prepare_links() |
S |
53 |
4 |
23 |
| register_routes() |
S |
50 |
1 |
34 |
| get_items_permissions_check() |
S |
63 |
3 |
10 |
| get_item_permissions_check() |
S |
63 |
3 |
10 |
| compare_terms() |
S |
65 |
3 |
9 |
| get_taxonomy() |
S |
64 |
3 |
10 |
| get_item() |
S |
65 |
2 |
9 |