Code Analysis: TranSafe Payments for WooCommerce 1.0.3

Function Rating Maintainability Complexity Lines of code
wc_transafe_init()
A
25
1 226
WC_Transafe::sendRefundToPaymentServer()
S
46 5 42
WC_Transafe::sendTransafeApiRequest()
S
47 5 35
WC_Transafe::paymentServerOrigin()
S
56 5 18
WC_Transafe::process_payment()
S
51 4 27
TransafePaymentFrame::getHmacFields()
S
54 2 20
WC_Transafe::sendPaymentToPaymentServer()
S
49 1 32
WC_Transafe::process_refund()
S
64 3 9
TransafePaymentFrame::getIframeAttributes()
S
58 2 15
TransafePaymentFrame::getHtml()
S
60 2 13
WC_Transafe::payment_fields()
S
57 1 17
WC_Transafe::__construct()
S
58 1 15
WC_Transafe::admin_scripts()
S
69 1 6
wc_transafe_missing_wc_notice()
S
76 1 5
TransafePaymentFrame::__construct()
S
81 1 3
wc_transafe_plugin_action_links()
S
72 1 6
WC_Transafe::init_form_fields()
S
74 1 4
wc_transafe_add_to_gateways()
S
77 1 4
TransafePaymentFrame::generateHmac()
S
69 1 6
WC_Transafe::payment_scripts()
S
63 1 10