Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

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

Project Risks

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