Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
hasExecutionFlag0%
getNewJobFields0%
getAllQueuedJobs0%
getAllDelayedJobs0%
getAllAcquiredJobs0%
getAllAbandonedJobs0%
getJobIterator0%
getCoalesceLocationInternal0%
doGetSiblingQueuesWithJobs0%
doGetSiblingQueueSizes0%
getJobFromUidInternal0%
getServerQueuesWithJobs0%
getJobFromFields0%
doIsRootJobOldDuplicate0%
serialize0%
unserialize0%
getConnection0%
handleErrorAndMakeException0%
encodeQueueName0%
decodeQueueName0%
getGlobalKey0%
getQueueKey0%
setDebugHandler0%
getErrorBackoffTTL0%
getReleaseTimestamp0%
doDelete0%
doDeduplicateRootJob0%
hasRootJobParams0%
__construct0%
getQueueTypes0%
getDefaultQueueTypes0%
queuesHaveJobs0%
getQueuesWithJobs0%
getQueueSizes0%
getCoalescedQueues0%
assertValidJobs0%
getType0%
doGetAcquiredCount0%
doAck0%
doDelete0%
supportedOrders0%
doAck0%
optimalOrder0%
supportsDelayedJobs0%
doIsEmpty0%
doGetSize0%
doGetAcquiredCount0%
doGetDelayedCount0%
doGetAbandonedCount0%
doBatchPush0%
pushBlobs0%
doPop0%
popAndAcquireBlob0%
getRootJobParams0%
isRootJob0%
deduplicateRootJob0%
getDeduplicationInfo0%
newPrioritized0%
newDynamic0%
canUseParserOutputFromCache0%
getDeduplicationInfo0%
workItemCount0%
__construct0%
run0%
hitThumbUrl0%
maybeEnqueueNextPage0%
allowRetries0%
__construct0%
getUpload0%
logJobParams0%
logJobParams0%
invalidatePages0%
initialiseUploadJob0%
allowRetries0%
run0%
getCacheKey0%
getUserFromSession0%
setStatus0%
fetchFile0%
verifyUpload0%
performUpload0%
getUpload0%
getDeduplicationInfo0%
toSerializableArray0%
fixRedirects0%
newFromArray0%
__construct0%
run0%
getDeduplicationInfo0%
allowRetries0%
__construct0%
run0%
__construct0%
run0%
__construct0%
run0%
__construct0%
__construct0%
newFromJob0%
run0%
__construct0%
newForBacklinks0%
run0%
invalidateTitles0%
getDeduplicationInfo0%
workItemCount0%
__construct0%
run0%
__construct0%
waitForBackups0%
doIsEmpty0%
ack0%
getCoalesceLocationInternal0%
getAbandonedCount0%
doGetAbandonedCount0%
doDelete0%
waitForBackups0%
doWaitForBackups0%
doFlushCaches0%
getAllDelayedJobs0%
getAllAcquiredJobs0%
getAllAbandonedJobs0%
getSiblingQueuesWithJobs0%
getDelayedCount0%
doGetSiblingQueuesWithJobs0%
getSiblingQueueSizes0%
doGetSiblingQueueSizes0%
supportsTypeAgnostic0%
pop0%
claimOldest0%
doAck0%
doDeduplicateRootJob0%
doDelete0%
doGetDelayedCount0%
getReadOnlyReason0%
doFlushCaches0%
getDeduplicationInfo0%
getMetadata0%
setMetadata0%
getReleaseTimestamp0%
getQueuedTimestamp0%
getRequestId0%
getReadyTimestamp0%
ignoreDuplicates0%
allowRetries0%
workItemCount0%
newRootJobParams0%
delayedJobsEnabled0%
getRootJobParams0%
hasRootJobParams0%
isRootJob0%
addTeardownCallback0%
teardown0%
setLastError0%
getLastError0%
getDomain0%
getOrder0%
supportsDelayedJobs0%
doWaitForBackups0%
doGetAbandonedCount0%
getAllAbandonedJobs0%
doDelete0%
supportsDelayedJobs0%
doIsEmpty0%
doGetSize0%
doGetAcquiredCount0%
doGetDelayedCount0%
doGetAbandonedCount0%
getCrossPartitionSum0%
doBatchPush0%
tryJobInsertions0%
doPop0%
doAck0%
doIsRootJobOldDuplicate0%
doDeduplicateRootJob0%
doWaitForBackups0%
supportedOrders0%
doFlushCaches0%
getAllQueuedJobs0%
getAllDelayedJobs0%
getAllAcquiredJobs0%
getAllAbandonedJobs0%
getCoalesceLocationInternal0%
doGetSiblingQueuesWithJobs0%
doGetSiblingQueueSizes0%
logException0%
throwErrorIfAllPartitionsDown0%
__construct0%
get0%
push0%
lazyPush0%
optimalOrder0%
setStatusDone0%
__construct0%
doGetSiblingQueuesWithJobs0%
doGetSiblingQueueSizes0%
getDBException0%
getCoalesceLocationInternal0%
syncBackoffDeltas8%
getBackoffTimeToWait23%
loadBackoffs23%
checkMemoryOK26%
run27%
getPrimaryDB33%
getDB33%
getReplicaDB33%
__construct42%
assertNotReadOnly50%
debugCallback50%
assertMatchingJobType50%
doBatchPushInternal54%
getParserOutputFromCache55%
getParserOutput56%
doBatchPush57%
doParsoidCacheUpdate60%
run61%
recycleAndDeleteStaleJobs62%
getDataUpdateOptions63%
getCurrentRevisionIfUnchanged64%
pop66%
makeBlob66%
__construct68%
doExecuteJob70%
factory71%
needsTitle72%
batchPush75%
doPop76%
doGetSize76%
jobFromRow77%
doGetAcquiredCount77%
doIsEmpty77%
run80%
validateParams80%
__construct84%
getJobIterator84%
doPop84%
toString85%
shouldGenerateHTMLOnEdit85%
run85%
makeJobQueueGroup86%
doDeduplicateRootJob87%
doIsRootJobOldDuplicate87%
executeJob88%
getFinalDestination88%
notifyUpdatesForRevision89%

Project Risks

Method CRAP
hitThumbUrl210
run156
tryJobInsertions156
pop132
push132
doBatchPush90
run90
syncBackoffDeltas87
run72
verifyUpload72
fixRedirects42
run40
getParserOutput32
run31
run30
__construct30
serialize30
doBatchPush30
doGetSiblingQueueSizes30
getCoalescedQueues30
doDeduplicateRootJob30
doPop30
invalidateTitles30
doGetSiblingQueueSizes30
invalidatePages30
unserialize30
doGetSiblingQueuesWithJobs30
getQueuesWithJobs30
loadBackoffs28
getBackoffTimeToWait22
getDB21
toString20
run20
getQueueSizes20
doGetAbandonedCount20
getJobFromUidInternal20
doIsRootJobOldDuplicate20
doAck20
doPop20
run20
doIsEmpty20
queuesHaveJobs20
lazyPush20
claimOldest20
doBatchPushInternal19
checkMemoryOK15
notifyUpdatesForRevision13
assertValidJobs12
doDelete12
doDelete12
getGlobalKey12
getServerQueuesWithJobs12
getNewJobFields12
performUpload12
__construct12
__construct12
maybeEnqueueNextPage12
workItemCount12
getDeduplicationInfo12
doAck12
getCoalesceLocationInternal12
run12
doIsRootJobOldDuplicate12
workItemCount12
getCrossPartitionSum12
doDelete12
doDeduplicateRootJob12
getDeduplicationInfo12
doWaitForBackups12
supportsDelayedJobs12
getParserOutputFromCache11
doExecuteJob11
recycleAndDeleteStaleJobs9
doParsoidCacheUpdate8
needsTitle7
batchPush7
getCurrentRevisionIfUnchanged7
__construct7
run7
__construct6
doPop6
makeJobQueueGroup6
doIsRootJobOldDuplicate6
setStatus6
getQueueKey6
getUpload6
getUserFromSession6
fetchFile6
canUseParserOutputFromCache6
getDeduplicationInfo6
getErrorBackoffTTL6
getReleaseTimestamp6
newFromJob6
isRootJob6
getDeduplicationInfo6
getUpload6
run6
getDeduplicationInfo6
hasRootJobParams6
getMetadata6
getConnection6
doFlushCaches6
getAllAcquiredJobs6
getAllDelayedJobs6
getAllQueuedJobs6
doFlushCaches6
getAllAbandonedJobs6
doGetSiblingQueueSizes6
doGetSiblingQueuesWithJobs6
doWaitForBackups6
throwErrorIfAllPartitionsDown6
doDelete6
teardown6
isRootJob6
hasRootJobParams6
getDeduplicationInfo6
getReadyTimestamp6
getQueuedTimestamp6
getReleaseTimestamp6
getAllAbandonedJobs6
doAck6
get6
waitForBackups6
getAllAcquiredJobs6
getAllDelayedJobs6
getAllQueuedJobs6
pushBlobs6
doGetAbandonedCount6
doGetDelayedCount6
doGetAcquiredCount6
setMetadata6
doGetSize6
__construct6
doGetAcquiredCount6
doAck6
getQueueTypes6
pop5
doBatchPush5
validateParams5
doDeduplicateRootJob5
getFinalDestination5
doGetAcquiredCount4
assertMatchingJobType4
getDataUpdateOptions3
__construct3
factory3
getPrimaryDB3
getReplicaDB3
doGetSize3
jobFromRow3
shouldGenerateHTMLOnEdit3
doPop3
assertNotReadOnly2
debugCallback2
makeBlob2
doIsEmpty2
executeJob2
getJobIterator2