Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getDatabase0%
getStore0%
getAblyService0%
createEventService0%
createCouponService0%
createRedemptionService0%
createEventServiceStatic0%
createCouponServiceStatic0%
createRedemptionServiceStatic0%
createAblyServiceStatic0%
setDatabase0%
setStore0%
setAblyService0%
setSmsQueue0%
getTypeNum0%
main0%
getEventStatistics0%
__construct0%
checkAuth0%
getEvents0%
createEvent0%
updateEvent0%
deleteEvent0%
lookupCoupon0%
redeemCoupon0%
getEventReport0%
getEventStatistics0%
setJsonContentType0%
sendJsonResponse0%
sendErrorResponse0%
getJsonRequestBody0%
validateRedemptionRequest0%
mapRedemptionErrorToHttpStatus0%
main0%
__construct0%
getSettings0%
issueCoupon0%
validateCoupon0%
redeemCoupon0%
validateApiKey0%
sendUnauthorizedResponse0%
setJsonContentType0%
sendJsonResponse0%
sendErrorResponse0%
getJsonRequestBody0%
formatSideSettings0%
generateSettingsVersion0%
formatCouponForResponse0%
formatDateTime0%
sanitizePhone0%
validateIssueCouponRequest0%
validateRedemptionRequest0%
mapErrorCodeToHttpStatus0%
mapRedemptionErrorToHttpStatus0%
generateCode0%
getCode0%
getOriginalValue0%
getSourceTransactionId0%
getSourceTransactionAmount0%
getCustomerPhone0%
getCustomerName0%
getExpiresAt0%
getIssuedAt0%
getIssuedByEmployeeId0%
isRedeemable0%
canRedeemForAmount0%
getDisplayCode0%
markRedeemed0%
markExpired0%
reinstate0%
markVoided0%
toArray0%
setId0%
setEventId0%
setCode0%
setValue0%
setOriginalValue0%
setSourceTransactionId0%
setSourceTransactionAmount0%
setCustomerPhone0%
setCustomerName0%
setStatus0%
setExpiresAt0%
setIssuedAt0%
setIssuedByEmployeeId0%
isActive0%
isInRedemptionPeriod0%
calculateReward0%
calculateTieredReward0%
toSettingsArray0%
toArray0%
fromRow0%
parseDateTime0%
parseJson0%
validate0%
fromRow0%
getCoupon0%
setCoupon0%
toArray0%
wasRedeemedVia0%
__construct0%
setEventService0%
publish0%
broadcastSettingsUpdate0%
broadcastEventStarted0%
broadcastEventEnded0%
getActiveEventSettings0%
isEnabled0%
__construct0%
issueCoupon0%
validateCoupon0%
getCouponByCode0%
findCouponByTransactionId0%
insertCoupon0%
shouldQueueSms0%
normalizeCode0%
formatDisplayCode0%
formatCouponResponse0%
formatCouponFromRow0%
findByCode0%
getMinimumPurchaseForEvent0%
updateCouponStatus0%
__construct0%
createEvent0%
getEvent0%
updateEvent0%
deleteEvent0%
listEvents0%
getActiveEvent0%
getActiveEventBySide0%
getActiveEvents0%
validateDateSequence0%
activateEvent0%
endEvent0%
cancelEvent0%
scheduleEvent0%
hydrateEventFromData0%
mergeEventData0%
validateEventData0%
checkForActiveConflict0%
autoEndEvent0%
parseDateTime0%
camelToSnake0%
formatValueForDb0%
getRedemptionsByEvent0%
validateCouponStatus23%
redeemCoupon50%
insertRedemptionRecord86%

Project Risks