Code Analysis: WooCommerce Payment Gateway – SUMIT 2.5.4

Most Complex Functions

Function Rating Complexity
WC_OfficeGuy::payment_fields()
D
48
OfficeGuyPayment::ProcessOrder()
D
40
OfficeGuySettings::InitFormFields()
C
9
OfficeGuyPayment::GetOrderRequest()
C
25
OfficeGuyPayment::CreateDocumentOnPaymentCompleteInternal()
B
19
OfficeGuyPayment::ValidateOrderFields()
B
19
officeguy_woocommerce_gateway()
B
2
OfficeGuyPayment::GetOrderCustomer()
A
16
OfficeGuySettings::InitDefaultSettings()
A
16
OfficeGuyTokens::GetCardBrand()
A
15
OfficeGuyPayment::ProcessOrderRefund()
A
10
OfficeGuyPayment::GetDocumentOrderItems()
A
9