Code Analysis: WooCommerce Payment Gateway - SUMIT 3.0.0

Most Complex Functions

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