Total Complexity | 191 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 997 |
Lines of code | 558 |
Logical lines of code | 381 |
Comment lines | 296 |
Methods | 37 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
saveCustomerDetails() | 37 | 28 | 58 | |
calcCommissionsBaseAmount() | 42 | 21 | 46 | |
getCustomerCoupon() | 44 | 16 | 40 | |
updateCustomerBooking() | 47 | 11 | 35 | |
updateBookingCommissions() | 49 | 11 | 26 | |
saveCustomerBooking() | 48 | 8 | 32 | |
customerExists() | 54 | 8 | 20 | |
pluginCustomerSync() | 49 | 7 | 30 | |
getCustomerByID() | 58 | 6 | 14 | |
libxml_display_error() | 55 | 5 | 20 | |
get3CharCountry() | 55 | 5 | 19 | |
getDetailsByPinCookie() | 59 | 5 | 14 | |
getDetailsByUjid() | 59 | 5 | 13 | |
getCustomerFromBooking() | 58 | 4 | 16 | |
getCustomerByPin() | 59 | 4 | 14 | |
getPinCodeByOrderId() | 60 | 4 | 14 | |
getAllPins() | 60 | 4 | 13 | |
generateUniquePin() | 62 | 4 | 12 | |
getPinCookie() | 62 | 4 | 10 | |
getAliqFromTaxId() | 60 | 3 | 14 | |
getTaxIdFromTar() | 61 | 3 | 12 | |
storeCustomerCookie() | 65 | 3 | 9 | |
setCustomerExtraInfo() | 73 | 3 | 5 | |
pricesTaxIncluded() | 70 | 2 | 6 | |
loadCustomerDetails() | 68 | 2 | 8 | |
setPinCookie() | 63 | 2 | 9 | |
pinExists() | 74 | 2 | 4 | |
libxml_display_errors() | 66 | 2 | 9 | |
getError() | 79 | 1 | 3 | |
setError() | 80 | 1 | 3 | |
__construct() | 66 | 1 | 9 | |
getNewCustomerId() | 82 | 1 | 3 | |
setNewCustomerId() | 80 | 1 | 3 | |
getNewPin() | 82 | 1 | 3 | |
setNewPin() | 81 | 1 | 3 | |
unsetPinCookie() | 68 | 1 | 6 | |
supportsProfileAvatar() | 82 | 1 | 3 |