Code Analysis: PhonePe Payment Solutions 1.0.6

Function Rating Maintainability Complexity Lines of code
woocommerce_phonepe_init()
D
11
5 696
WC_phonepe::generate_phonepe_form()
B
28
11 169
WC_phonepe::processStatusResponse()
B
37 17 71
WC_phonepe::pendingStatusQuery()
A
46 11 40
WC_phonepe::check_phonepe_response()
A
42 9 52
curltestPhonePe()
A
46 8 39
WC_phonepe::__construct()
S
41 5 52
pp_payment_callback()
S
47 5 35
WC_phonepe::get_pages()
S
56 5 18
check_pending_status()
S
49 4 30
WC_phonepe::admin_options()
S
48 3 39
woo_title_order_received()
S
67 4 8
PhonePePayment::callEventAPI()
S
50 2 29
dashboard_status()
S
56 2 25
WC_phonepe::init_form_fields()
S
51 1 31
PhonePePayment::executeTransactionInit()
S
56 1 18
PhonePePayment::pushEvents()
S
57 1 16
PhonePePayment::getScript()
S
70 2 7
PhonePePayment::getTransactionURL()
S
70 2 7
WC_phonepe::process_payment()
S
63 2 10
WC_phonepe::payment_fields()
S
79 2 3
PhonePePayment::handleCallback()
S
63 2 10
PhonePePayment::getEventUrl()
S
70 2 7
WC_phonepe::getDefaultCallbackUrl()
S
71 2 5
PhonePePayment::getTransactionStatusURL()
S
70 2 7
PhonePePayment::executecUrlPhonepeStatus()
S
60 1 13
Events()
S
65 1 11
CheckPendingStatus()
S
65 1 11
processing()
S
65 1 11
check_events()
S
69 1 6
PhonePePayment::calculateInitChecksum()
S
69 1 6
phonepeShowMessage()
S
76 1 3
WC_phonepe::receipt_page()
S
75 1 4
PhonePePayment::calculateEventChecksum()
S
69 1 6
woocommerce_add_phonepe_gateway()
S
77 1 4
PhonePePayment::calculateStatusChecksum()
S
69 1 6
WC_phonepe::txn_failure()
S
70 1 6