Code Analysis: WooCommerce Payment Gateway – SUMIT 2.2.9

Most Complex Functions

Function Rating Complexity
WC_OfficeGuy::payment_fields_order()
D
44
officeguy_woocommerce_gateway()
D
2
OfficeGuyPayment::ProcessOrder()
C
24
OfficeGuyPayment::GetOrderRequest()
B
20
OfficeGuyPayment::CreateDocumentOnPaymentCompleteInternal()
B
19
WC_OfficeGuy::__construct()
B
19
WC_OfficeGuy::init_form_fields()
B
1
OfficeGuyPayment::ValidateOrderFields()
B
19
OfficeGuyPayment::GetOrderCustomer()
A
16
OfficeGuyTokens::GetCardBrand()
A
15
OfficeGuyPayment::ProcessOrderRefund()
A
10
OfficeGuyPayment::GetDocumentOrderItems()
A
9