WPBDP__Views__Checkout A

Total Complexity 51
Dependencies 2
Dependents 0
Total lines 265
Lines of code 180
Logical lines of code 115
Comment lines 24
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
do_checkout()
A
48 8 34
dispatch()
S
49 6 29
set_current_gateway()
S
57 6 16
fetch_payment()
S
61 5 12
pre_dispatch()
S
62 4 11
__construct()
S
68 4 7
validate_nonce()
S
64 3 9
check_gateway_errors()
S
63 2 11
enqueue_resources()
S
71 2 6
ajax_load_gateway()
S
70 2 7
can_checkout()
S
78 2 3
checkout_form()
S
65 2 9
maybe_process_payment()
S
64 2 10
handle_return_request()
S
66 2 8
thank_you_message()
S
67 1 8