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