WC_Xendit_PG_API A

Total Complexity 74
Dependencies 4
Dependents 5
Total lines 661
Lines of code 419
Logical lines of code 232
Comment lines 103
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
__construct()
A
52 11 21
defaultHeader()
S
50 5 30
getCCSettings()
S
58 4 15
createPluginInfo()
S
54 3 21
createInvoice()
S
54 3 21
uninstallApp()
S
54 3 20
trackOrderCancellation()
S
57 3 17
getCustomerByReferenceId()
S
58 3 15
trackEvent()
S
59 3 14
getMIDSettings()
S
60 3 13
updateCustomer()
S
56 2 18
authenticateToken()
S
57 2 17
createHostedThreeDS()
S
57 2 17
createCharge()
S
57 2 17
createCustomer()
S
57 2 17
getAccessToken()
S
57 2 16
getAuthorizationData()
S
58 2 15
handleNetworkError()
S
72 3 5
getInvoice()
S
58 2 15
getHostedThreeDS()
S
58 2 15
getCharge()
S
58 2 15
getCCToken()
S
59 2 14
trackMetricCount()
S
60 2 14
constructMetricPayload()
S
61 2 13
isCredentialExist()
S
78 2 3
createRefund()
S
62 1 11
getChargeOption()
S
63 1 10