WC_REST_Payment_Gateways_V2_Controller S

Total Complexity 45
Dependencies 3
Dependents 0
Total lines 448
Lines of code 308
Logical lines of code 95
Comment lines 103
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
update_item()
A
42 12 50
get_settings()
A
49 13 30
get_item_schema()
S
36 1 106
prepare_item_for_response()
S
54 3 19
get_gateway()
S
62 3 12
register_routes()
S
48 1 38
get_items()
S
62 2 11
get_items_permissions_check()
S
69 2 6
get_item_permissions_check()
S
69 2 6
update_items_permissions_check()
S
69 2 6
get_item()
S
66 2 8
prepare_links()
S
63 1 11
get_collection_params()
S
73 1 5