WC_Xendit_PG_API A

Total Complexity 65
Dependencies 3
Dependents 4
Total lines 638
Lines of code 340
Logical lines of code 175
Comment lines 164
Methods 24
Properties 11

Methods 24

Method Rating Maintainability Complexity Lines of code
__construct()
A
52 9 22
defaultHeader()
S
50 5 30
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
getSubAccount()
S
61 3 12
getInvoiceSettings()
S
61 3 12
getCCSettings()
S
61 3 12
getMIDSettings()
S
61 3 12
createCharge()
S
57 2 16
getAccessToken()
S
58 2 15
handleNetworkError()
S
72 3 5
trackMetricCount()
S
59 2 14
getCCToken()
S
59 2 14
getAuthorizationData()
S
59 2 14
getHostedThreeDS()
S
59 2 14
getInvoice()
S
59 2 14
getCharge()
S
59 2 14
isCredentialExist()
S
78 2 3
constructMetricPayload()
S
63 1 12
getChargeOption()
S
64 1 9
createRefund()
S
63 1 10