-
Home
-
Razorpay for WooCommerce
-
4.5.8
-
Code
-
Classes
- WP_Test_REST_Controller_Testcase
| Total Complexity |
15 |
| Dependencies |
1 |
| Dependents |
0 |
| Total lines |
57 |
| Lines of code |
27 |
| Logical lines of code |
14 |
| Comment lines |
3 |
| Methods |
12 |
| Properties |
1 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| filter_rest_url_for_leading_slash() |
S |
60 |
4 |
14 |
| set_up() |
S |
68 |
1 |
7 |
| tear_down() |
S |
70 |
1 |
6 |
| test_register_routes() |
S |
100 |
1 |
0 |
| test_context_param() |
S |
100 |
1 |
0 |
| test_get_items() |
S |
100 |
1 |
0 |
| test_get_item() |
S |
100 |
1 |
0 |
| test_create_item() |
S |
100 |
1 |
0 |
| test_update_item() |
S |
100 |
1 |
0 |
| test_delete_item() |
S |
100 |
1 |
0 |
| test_prepare_item() |
S |
100 |
1 |
0 |
| test_get_item_schema() |
S |
100 |
1 |
0 |