WC_Connect_Service_Schemas_Store S

Total Complexity 46
Dependencies 3
Dependents 10
Total lines 261
Lines of code 154
Logical lines of code 89
Comment lines 56
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
get_all_shipping_method_ids()
S
59 6 14
get_all_service_ids_of_type()
S
59 6 14
fetch_service_schemas_from_connect_server()
S
55 4 20
maybe_update_heartbeat()
S
57 4 18
get_predefined_packages_schema()
S
60 4 14
get_service_schema_by_id()
S
60 4 13
get_service_schema_by_method_id()
S
60 4 13
get_service_schema_by_id_or_instance_id()
S
66 3 9
get_packages_schema()
S
68 3 7
update_last_fetch_timestamp()
S
80 1 3
get_last_fetch_result_code()
S
80 1 3
update_last_fetch_result_code()
S
80 1 3
get_last_fetch_timestamp()
S
79 1 3
update_service_schemas()
S
79 1 3
get_service_schemas()
S
79 1 3
get_service_schema_by_instance_id()
S
65 1 10
__construct()
S
77 1 4