Code Analysis: WooCommerce Payment Gateway - SUMIT 3.2.6

Most Complex Functions

Function Rating Complexity
WC_OfficeGuy::payment_fields()
D
50
OfficeGuyPayment::ProcessOrder()
D
47
OfficeGuyPayment::GetOrderRequest()
C
28
OfficeGuySettings::InitFormFields()
C
9
officeguy_woocommerce_gateway()
B
2
OfficeGuyPayment::CreateDocumentOnPaymentCompleteInternal()
B
22
OfficeGuyPayment::ValidateOrderFields()
B
19
OfficeGuyPayment::GetOrderCustomer()
A
16
OfficeGuySettings::InitDefaultSettings()
A
16
OfficeGuyPayment::GetDocumentOrderItems()
A
10
OfficeGuyPayment::ProcessOrderRefund()
A
10
OfficeGuyStock::InternalUpdateStock()
A
10