WC_Connect_Payment_Methods_Store S

Total Complexity 25
Dependencies 5
Dependents 5
Total lines 162
Lines of code 85
Logical lines of code 49
Comment lines 41
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
potentially_update_selected_payment_method_from_payment_methods()
S
55 7 20
get_payment_methods_from_response_body()
S
58 5 15
validate_payment_methods_response()
S
61 4 12
fetch_payment_methods_from_connect_server()
S
57 3 18
__construct()
S
74 1 5
get_payment_methods()
S
80 1 3
update_payment_methods()
S
80 1 3
get_add_payment_method_url_from_response_body()
S
82 1 3
get_add_payment_method_url()
S
79 1 3
update_add_payment_method_url()
S
79 1 3