Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
oat\taoTaskQueue\controller\RestTask0%
oat\taoTaskQueue\controller\TaskQueueRestApi0%
oat\taoTaskQueue\controller\TaskQueueWebApi0%
oat\taoTaskQueue\model\Entity\Decorator\TaskLogEntityDecorator0%
oat\taoTaskQueue\model\Event\TaskLogArchivedEvent0%
oat\taoTaskQueue\model\Queue0%
oat\taoTaskQueue\model\QueueBroker\AbstractQueueBroker0%
oat\taoTaskQueue\model\QueueBroker\InMemoryQueueBroker0%
oat\taoTaskQueue\model\QueueBroker\storage\NewSqlSchema0%
oat\taoTaskQueue\model\QueueDispatcher0%
oat\taoTaskQueue\model\Task\CallbackTask0%
oat\taoTaskQueue\model\Task\CallbackTaskDecorator0%
oat\taoTaskQueue\model\Task\TaskFactory0%
oat\taoTaskQueue\model\TaskLog0%
oat\taoTaskQueue\model\TaskLog\DataTablePayload0%
oat\taoTaskQueue\model\TaskSelector\StrictPriorityStrategy0%
oat\taoTaskQueue\model\TaskSelector\WeightStrategy0%
oat\taoTaskQueue\model\Worker0%
oat\taoTaskQueue\model\Task\ChildTaskAwareTrait0%
oat\taoTaskQueue\model\Task\TaskAwareTrait0%
oat\taoTaskQueue\model\Task\WorkerContextAwareTrait0%
oat\taoTaskQueue\model\TaskLogAwareTrait0%
oat\taoTaskQueue\model\QueueBroker\SqsQueueBroker2%
oat\taoTaskQueue\model\QueueBroker\RdsQueueBroker2%
oat\taoTaskQueue\model\QueueBroker\NewSqlQueueBroker3%
oat\taoTaskQueue\model\TaskLogBroker\RdsTaskLogBroker5%
oat\taoTaskQueue\model\TaskLog\Decorator\TaskLogCollectionDecorator22%
oat\taoTaskQueue\model\Service\RestartStuckTaskService34%
oat\taoTaskQueue\model\Service\QueueAssociationService37%
oat\taoTaskQueue\model\TaskLogActionTrait41%
oat\taoTaskQueue\model\TaskLog\TaskLogCollection50%
oat\taoTaskQueue\model\LongRunningWorker53%
oat\taoTaskQueue\model\TaskLog\Decorator\SimpleManagementCollectionDecorator56%
oat\taoTaskQueue\model\ValueObjects\TaskLogCategorizedStatus57%
oat\taoTaskQueue\model\Entity\Decorator\HasFileEntityDecorator63%
oat\taoTaskQueue\model\Entity\TasksLogsStats64%
oat\taoTaskQueue\model\TaskLog\TaskLogFilter64%
oat\taoTaskQueue\model\Repository\StuckTaskRepository76%
oat\taoTaskQueue\model\Task\AbstractTask80%
oat\taoTaskQueue\model\Worker\WorkerProcessManager81%
oat\taoTaskQueue\model\Entity\Decorator\CategoryEntityDecorator83%
oat\taoTaskQueue\model\Entity\TaskLogEntity86%

Project Risks

Class CRAP
oat\taoTaskQueue\model\QueueDispatcher6480
oat\taoTaskQueue\model\TaskLog3660
oat\taoTaskQueue\model\Worker1892
oat\taoTaskQueue\model\QueueBroker\SqsQueueBroker1535
oat\taoTaskQueue\model\TaskLogBroker\RdsTaskLogBroker1333
oat\taoTaskQueue\controller\TaskQueueWebApi812
oat\taoTaskQueue\model\QueueBroker\RdsQueueBroker701
oat\taoTaskQueue\model\QueueBroker\NewSqlQueueBroker638
oat\taoTaskQueue\model\QueueBroker\AbstractQueueBroker600
oat\taoTaskQueue\controller\RestTask552
oat\taoTaskQueue\model\Queue506
oat\taoTaskQueue\model\Task\CallbackTask380
oat\taoTaskQueue\model\TaskLog\DataTablePayload182
oat\taoTaskQueue\model\LongRunningWorker115
oat\taoTaskQueue\model\QueueBroker\InMemoryQueueBroker110
oat\taoTaskQueue\model\ValueObjects\TaskLogCategorizedStatus92
oat\taoTaskQueue\model\TaskLog\TaskLogFilter88
oat\taoTaskQueue\model\TaskLogActionTrait74
oat\taoTaskQueue\model\TaskSelector\StrictPriorityStrategy72
oat\taoTaskQueue\model\Service\QueueAssociationService47
oat\taoTaskQueue\model\Task\AbstractTask43
oat\taoTaskQueue\controller\TaskQueueRestApi42
oat\taoTaskQueue\model\TaskLog\TaskLogCollection38
oat\taoTaskQueue\model\Entity\TaskLogEntity31
oat\taoTaskQueue\model\TaskSelector\WeightStrategy30
oat\taoTaskQueue\model\Task\TaskFactory20
oat\taoTaskQueue\model\Task\ChildTaskAwareTrait20
oat\taoTaskQueue\model\Worker\WorkerProcessManager14
oat\taoTaskQueue\model\Service\RestartStuckTaskService12
oat\taoTaskQueue\model\Repository\StuckTaskRepository10
oat\taoTaskQueue\model\TaskLog\Decorator\SimpleManagementCollectionDecorator9
oat\taoTaskQueue\model\Entity\Decorator\HasFileEntityDecorator6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getAll0%
get0%
stats0%
archive0%
download0%
assertTaskIdExists0%
get0%
getStatus0%
getTaskEntity0%
__construct0%
getAll0%
get0%
stats0%
archive0%
download0%
assertTaskIdExists0%
detectTaskIds0%
jsonSerialize0%
__construct0%
getId0%
getParentId0%
getTaskName0%
getParameters0%
getLabel0%
getOwner0%
getReport0%
getCreatedAt0%
getUpdatedAt0%
getStatus0%
isMasterStatus0%
getFileNameFromReport0%
jsonSerialize0%
toArray0%
getParentId0%
isMasterStatus0%
getFileNameFromReport0%
buildFromArray0%
toArray0%
__construct0%
getTaskLogEntity0%
isForced0%
getName0%
shutdown0%
pauseProcessing0%
unPauseProcessing0%
getWaitInterval0%
__construct0%
__toString0%
__toPhpCode0%
initialize0%
getName0%
setWeight0%
getWeight0%
setBroker0%
getBroker0%
enqueue0%
dequeue0%
acknowledge0%
count0%
isSync0%
getNumberOfTasksToReceive0%
__construct0%
__toPhpCode0%
doDelete0%
pop0%
popPreFetchedMessage0%
pushPreFetchedMessage0%
unserializeTask0%
serializeTask0%
assertValidJson0%
handleCallbackTask0%
getActionResolver0%
setQueueName0%
getQueueName0%
getQueueNameWithPrefix0%
getNumberOfTasksToReceive0%
getQueue0%
createQueue0%
count0%
push0%
pop0%
doPop0%
delete0%
doDelete0%
__toPhpCode0%
createQueue0%
push0%
delete0%
count0%
doPop0%
doDelete0%
getSchemaProvider0%
getQueryBuilder0%
getPersistence0%
getTableName0%
changeMessagesVisibility0%
processMessages0%
fetchVisibleMessages0%
getLogContext0%
__toPhpCode0%
getPersistence0%
getTableName0%
createQueue0%
push0%
doPop0%
delete0%
doDelete0%
getTaskByTaskLogId0%
changeTaskVisibility0%
count0%
getQueryBuilder0%
__toPhpCode0%
getClient0%
getCache0%
createQueue0%
push0%
doPop0%
delete0%
doDelete0%
count0%
queueExists0%
getUrlCacheKey0%
getNumberOfTasksToReceive0%
getSchema0%
setQueueName0%
createTable0%
__construct0%
__toPhpCode0%
getQueueForTask0%
getQueueNames0%
setQueues0%
addQueue0%
hasQueue0%
getQueue0%
getQueues0%
linkTaskToQueue0%
getLinkedTasks0%
getDefaultQueue0%
getFirstQueue0%
getQueueByWeight0%
setTaskSelector0%
initialize0%
createTask0%
setOwner0%
getOwner0%
enqueue0%
dequeue0%
acknowledge0%
count0%
isSync0%
getWaitTime0%
getTaskLog0%
runWorker0%
propagateServices0%
assertQueues0%
assertTasks0%
getTaskResource0%
getReportByLinkedResource0%
linkTaskToResource0%
associateBulk0%
guessDefaultBrokerType0%
deleteAndRemoveAssociations0%
getBrokerFactory0%
__clone0%
setParentId0%
setMasterStatus0%
hasParent0%
getParentId0%
isMasterStatus0%
setLabel0%
getLabel0%
__invoke0%
__clone0%
setCallable0%
getCallable0%
markAsEnqueued0%
isEnqueued0%
jsonSerialize0%
applyWorkerContext0%
hasChildren0%
getChildren0%
__construct0%
getTask0%
getTaskId0%
build0%
__construct0%
getBroker0%
isRds0%
createContainer0%
add0%
setStatus0%
getStatus0%
setReport0%
getReport0%
updateParent0%
search0%
getDataTablePayload0%
getById0%
getByIdAndUser0%
findAvailableByUser0%
getStats0%
archive0%
archiveCollection0%
linkTaskToCategory0%
getCategoryForTask0%
getTaskCategories0%
validateStatus0%
assertCanArchive0%
__construct0%
customiseRowBy0%
getPayload0%
getCustomisedData0%
count0%
applyDataTableFilters0%
jsonSerialize0%
count0%
toArray0%
isEmpty0%
first0%
last0%
getIds0%
jsonSerialize0%
createEmptyCollection0%
count0%
getIterator0%
isEmpty0%
first0%
last0%
getIds0%
availableForArchived0%
applyFilters0%
lt0%
lte0%
gt0%
gte0%
like0%
notLike0%
in0%
notIn0%
__toPhpCode0%
createContainer0%
add0%
getStatus0%
updateStatus0%
addReport0%
getReport0%
search0%
count0%
getStats0%
archive0%
archiveCollection0%
deleteById0%
getQueryBuilder0%
buildCounterStatusSql0%
pickNextTask0%
getWaitTime0%
sortQueues0%
pickNextTask0%
getWaitTime0%
pickQueueByWight0%
archived0%
isCreated0%
isInProgress0%
isCompleted0%
isFailed0%
isArchived0%
getMappedStatuses0%
__construct0%
run0%
processTask0%
isRemoteTaskSynchroniser0%
getRemoteStatus0%
setMaxIterations0%
setDedicatedQueue0%
isRunning0%
registerSigHandlers0%
shutdown0%
pauseProcessing0%
unPauseProcessing0%
getWaitInterval0%
getLimitOfCpu0%
getLimitOfMemory0%
addChildId0%
hasChildren0%
getChildren0%
setTask0%
getTask0%
applyWorkerContext0%
isWorkerContext0%
getUserId0%
returnTaskJson0%
getPlainReport0%
getReportAsAssociativeArray0%
setTaskLog0%
getTaskLog0%
restart29%
toArray30%
run40%
toArray50%
getLabel50%
addProcess68%
isRunning71%
setMaxIterations75%
hasEnoughSpace75%
__construct75%
__construct75%
__construct75%
findAll75%
registerSigHandlers81%
createFromString83%

Project Risks

Method CRAP
processTask272
updateParent132
doPop56
run56
archive42
download42
queueExists42
__construct42
getQueueForTask42
linkTaskToResource42
archiveCollection42
applyFilters42
archive30
download30
getFileNameFromReport30
createQueue30
doPop30
assertQueues30
getAll20
get20
getAll20
get20
__construct20
enqueue20
unserializeTask20
assertValidJson20
createQueue20
push20
count20
createTask20
getReportByLinkedResource20
build20
applyDataTableFilters20
add20
getReport20
buildCounterStatusSql20
isRunning20
run13
detectTaskIds12
getWaitInterval12
handleCallbackTask12
createQueue12
doPop12
processMessages12
getTaskByTaskLogId12
getClient12
doDelete12
linkTaskToQueue12
getDefaultQueue12
getQueueByWeight12
enqueue12
dequeue12
isSync12
assertTasks12
deleteAndRemoveAssociations12
getCallable12
jsonSerialize12
__construct12
setStatus12
setReport12
findAvailableByUser12
linkTaskToCategory12
getCategoryForTask12
assertCanArchive12
getCustomisedData12
createContainer12
search12
pickNextTask12
sortQueues12
pickQueueByWight12
isRemoteTaskSynchroniser12
getPlainReport12
createFromString10
toArray9
getLabel8
findAll6
restart6
stats6
assertTaskIdExists6
get6
getStatus6
getTaskEntity6
stats6
assertTaskIdExists6
dequeue6
pop6
popPreFetchedMessage6
getQueue6
pop6
count6
doDelete6
getPersistence6
getPersistence6
doDelete6
count6
getCache6
getNumberOfTasksToReceive6
addQueue6
getQueue6
getQueues6
initialize6
getOwner6
getTaskLog6
propagateServices6
getTaskResource6
associateBulk6
__clone6
setCallable6
applyWorkerContext6
hasChildren6
getChildren6
getBroker6
add6
getStatus6
getReport6
getById6
getByIdAndUser6
archive6
validateStatus6
getPayload6
getIds6
availableForArchived6
updateStatus6
count6
archive6
archiveCollection6
deleteById6
getWaitTime6
__construct6
getRemoteStatus6
registerSigHandlers6
getWaitInterval6
addChildId6
getReportAsAssociativeArray6
isRunning5
toArray4
registerSigHandlers4
hasEnoughSpace3
setMaxIterations2
__construct2
__construct2
__construct2