Total Complexity | 31 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 118 |
Lines of code | 88 |
Logical lines of code | 52 |
Comment lines | 1 |
Methods | 12 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
force_payment_completed_step_if_necessary() | 61 | 6 | 12 | |
get_transaction() | 56 | 5 | 17 | |
verify_payment_was_succesfull() | 62 | 5 | 10 | |
verify_payment_transaction_has_a_valid_context() | 61 | 3 | 10 | |
force_final_step_if_necessary() | 70 | 3 | 6 | |
dispatch() | 68 | 2 | 8 | |
is_user_allowed_to_buy_credits() | 79 | 2 | 3 | |
__construct() | 72 | 1 | 5 | |
get_or_create_transaction() | 80 | 1 | 3 | |
do_page_steps() | 78 | 1 | 4 | |
validate_payment_transaction() | 73 | 1 | 6 | |
render_user_not_allowed_error() | 75 | 1 | 4 |