AfricasTalkingGateway A

Total Complexity 73
Dependencies 1
Dependents 0
Total lines 485
Lines of code 331
Logical lines of code 161
Comment lines 9
Methods 28
Properties 6

Methods 28

Method Rating Maintainability Complexity Lines of code
sendMessage()
A
45 10 40
mobilePaymentB2BRequest()
A
49 8 29
call()
S
53 5 21
createSubscription()
S
55 5 18
deleteSubscription()
S
55 5 18
getNumQueuedCalls()
S
55 4 19
initiateMobilePaymentCheckout()
S
54 3 21
mobilePaymentB2CRequest()
S
55 3 19
sendAirtime()
S
56 3 17
uploadMediaFile()
S
57 3 16
fetchPremiumSubscriptions()
S
61 2 11
getPaymentHost()
S
78 2 3
getVoiceHost()
S
78 2 3
getUserData()
S
63 2 10
fetchMessages()
S
63 2 10
executeJsonPost()
S
59 1 15
getApiHost()
S
78 2 3
executePost()
S
60 1 13
executeGet()
S
61 1 12
getAirtimeUrl()
S
79 1 3
getMobilePaymentB2CUrl()
S
80 1 3
getMobilePaymentCheckoutUrl()
S
80 1 3
__construct()
S
65 1 9
getSubscriptionUrl()
S
79 1 3
getUserDataUrl()
S
79 1 3
getVoiceUrl()
S
81 1 3
getSendSmsUrl()
S
79 1 3
getMobilePaymentB2BUrl()
S
80 1 3