Code Analysis: TranSafe Payments for WooCommerce 1.0.0

Most Complex Classes

Class Rating Complexity
WC_Transafe
S
17
TransafePaymentFrame
S
8

Most Complex Functions

Function Rating Complexity
wc_transafe_init()
A
1
WC_Transafe::paymentServerOrigin()
S
5
WC_Transafe::process_payment()
S
4
WC_Transafe::sendTransafeApiRequest()
S
2
TransafePaymentFrame::getHmacFields()
S
2
WC_Transafe::sendTransactionToPaymentServer()
S
1
TransafePaymentFrame::getIframeAttributes()
S
2
TransafePaymentFrame::getHtml()
S
2
WC_Transafe::payment_fields()
S
1
WC_Transafe::__construct()
S
1
WC_Transafe::init_form_fields()
S
1
wc_transafe_plugin_action_links()
S
1