WC_Gateway_Paypal B

Total Complexity 82
Dependencies 9
Dependents 7
Total lines 532
Lines of code 290
Logical lines of code 196
Comment lines 172
Methods 19
Properties 7

Methods 19

Method Rating Maintainability Complexity Lines of code
get_icon_image()
B
40 21 63
capture_payment()
S
50 7 26
can_refund_order()
S
64 8 9
__construct()
S
44 5 43
process_refund()
S
52 6 22
should_load()
S
58 4 15
admin_scripts()
S
62 4 10
init_api()
S
66 4 7
get_icon()
S
59 3 13
get_icon_url()
S
57 3 12
process_admin_options()
S
64 3 10
log()
S
67 3 8
order_received_text()
S
70 3 6
admin_options()
S
63 2 13
get_transaction_url()
S
68 2 8
is_valid_for_use()
S
61 1 10
needs_setup()
S
80 1 3
process_payment()
S
64 1 9
init_form_fields()
S
79 1 3