Code Analysis: PhonePe Payment Solutions 1.0.12

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