WC_Xendit_PG_API A

Total Complexity 73
Dependencies 3
Dependents 4
Total lines 679
Lines of code 369
Logical lines of code 192
Comment lines 169
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
__construct()
A
52 9 22
defaultHeader()
S
50 5 30
acknowledge()
S
54 4 21
trackMetricCount()
S
54 4 21
createPluginInfo()
S
54 3 21
createInvoice()
S
54 3 20
uninstallApp()
S
55 3 19
expiredInvoice()
S
59 3 13
trackEvent()
S
60 3 13
getInvoiceSettings()
S
61 3 12
getMIDSettings()
S
61 3 12
getCCSettings()
S
61 3 12
getSubAccount()
S
61 3 12
getMerchant()
S
61 3 12
createCharge()
S
57 2 16
getAccessToken()
S
58 2 15
handleNetworkError()
S
72 3 5
getHostedThreeDS()
S
59 2 14
getCCToken()
S
59 2 14
getCharge()
S
59 2 14
getInvoice()
S
59 2 14
getChargeOption()
S
60 2 12
isCredentialExist()
S
78 2 3
constructMetricPayload()
S
63 1 12
createRefund()
S
63 1 10