WC_Xendit_PG_API A

Total Complexity 67
Dependencies 4
Dependents 4
Total lines 592
Lines of code 369
Logical lines of code 203
Comment lines 97
Methods 24
Properties 0

Methods 24

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
trackEvent()
S
59 3 14
getMIDSettings()
S
60 3 13
authenticateToken()
S
57 2 17
createCharge()
S
57 2 17
createHostedThreeDS()
S
57 2 17
getAccessToken()
S
57 2 16
getCharge()
S
58 2 15
handleNetworkError()
S
72 3 5
getInvoice()
S
58 2 15
getAuthorizationData()
S
58 2 15
getHostedThreeDS()
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