-
Home
-
WooCommerce Legacy REST API
-
1.0.3
-
Code
-
Classes
- WC_Legacy_API
Total Complexity |
20 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
281 |
Lines of code |
137 |
Logical lines of code |
81 |
Comment lines |
97 |
Methods |
11 |
Properties |
2 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handle_rest_api_requests() |
S |
52 |
7 |
24 |
handle_v2_rest_api_request() |
S |
50 |
2 |
31 |
handle_v1_rest_api_request() |
S |
50 |
2 |
29 |
register_resources() |
S |
59 |
2 |
16 |
includes() |
S |
57 |
1 |
17 |
init() |
S |
78 |
1 |
3 |
add_query_vars() |
S |
74 |
1 |
5 |
add_endpoint() |
S |
75 |
1 |
4 |
rest_api_init() |
S |
98 |
1 |
1 |
rest_api_includes() |
S |
82 |
1 |
3 |
register_rest_routes() |
S |
76 |
1 |
4 |