-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
12.5
-
Code
-
Classes
- WPCOM_REST_API_V2_Endpoint_Memberships
| Total Complexity |
85 |
| Dependencies |
7 |
| Dependents |
0 |
| Total lines |
503 |
| Lines of code |
408 |
| Logical lines of code |
156 |
| Comment lines |
63 |
| Methods |
9 |
| Properties |
0 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_product() |
B |
39 |
17 |
57 |
| create_product() |
A |
42 |
14 |
49 |
| create_products() |
A |
44 |
13 |
41 |
| delete_product() |
A |
44 |
13 |
39 |
| list_products() |
A |
45 |
13 |
37 |
| get_status() |
A |
45 |
12 |
38 |
| register_routes() |
A |
34 |
1 |
137 |
| __construct() |
S |
68 |
1 |
7 |
| get_status_permission_check() |
S |
80 |
1 |
3 |