Code Analysis: Razorpay for WooCommerce 4.2.0

Most Complex Functions

Function Rating Complexity
woocommerce_razorpay_init()
D
2
smartCodRestriction()
D
77
getCouponList()
D
70
WpOrg\Requests\Transport\Fsockopen::request()
D
57
Requests_Transport_fsockopen::request()
D
50
Requests_Transport_fsockopen::request()
D
42
createWcOrder()
D
36
Requests_IRI::remove_iunreserved_percent_encoded()
D
36
Requests_IRI::remove_iunreserved_percent_encoded()
D
36
WpOrg\Requests\Iri::remove_iunreserved_percent_encoded()
D
36
Requests_IRI::replace_invalid_with_pct_encoding()
C
28
Requests_IRI::replace_invalid_with_pct_encoding()
C
28