Total Complexity | 21 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 114 |
Lines of code | 69 |
Logical lines of code | 33 |
Comment lines | 19 |
Methods | 9 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
init() | 55 | 5 | 21 | |
get_active_payment_methods() | 64 | 4 | 10 | |
get_selected_payment_method() | 65 | 3 | 10 | |
instance() | 72 | 2 | 6 | |
get_payment_method_by_id() | 71 | 2 | 6 | |
is_payment_method_allowed() | 69 | 2 | 7 | |
__construct() | 83 | 1 | 3 | |
get_payment_methods() | 82 | 1 | 3 | |
get_allowed_payment_methods() | 82 | 1 | 3 |