WC_Gateway_PayTRCheckout B

Total Complexity 97
Dependencies 6
Dependents 0
Total lines 741
Lines of code 562
Logical lines of code 254
Comment lines 54
Methods 19
Properties 9

Methods 19

Method Rating Maintainability Complexity Lines of code
generate_paytrcheckout_form()
C
27
20 143
process_refund()
B
35 15 84
init_form_fields()
A
32 4 134
category_parser_clear()
A
51 10 24
cat_search_prod()
S
55 7 21
sanitize_form_fields()
S
57 7 20
paytrcheckout_response()
S
57 5 17
category_parser()
S
58 4 15
validate_paytr_merchant_key_field()
S
60 4 13
validate_paytr_merchant_salt_field()
S
60 4 13
__construct()
S
51 2 26
validate_paytr_merchant_id_field()
S
62 3 11
GetIP()
S
64 3 10
parent_category_parser()
S
66 3 8
category_parser_prod()
S
68 2 7
admin_options()
S
82 1 3
process_payment()
S
68 1 7
is_valid_for_use()
S
83 1 3
receipt_page()
S
80 1 3