Code Analysis: PhonePe Payment Solutions 1.0.8

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