Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
hasExecutionFlag0%
toSerializableArray0%
unserialize0%
getConnection0%
handleErrorAndMakeException0%
encodeQueueName0%
decodeQueueName0%
getGlobalKey0%
getQueueKey0%
setDebugHandler0%
getErrorBackoffTTL0%
getReleaseTimestamp0%
getRootJobParams0%
hasRootJobParams0%
isRootJob0%
newFromArray0%
getJobFromFields0%
__construct0%
run0%
updateWatchlistNotification0%
__construct0%
run0%
getDeduplicationInfo0%
allowRetries0%
__construct0%
run0%
newForUser0%
__construct0%
run0%
__construct0%
serialize0%
getNewJobFields0%
__construct0%
doPop0%
doAck0%
doDelete0%
__construct0%
supportedOrders0%
optimalOrder0%
supportsDelayedJobs0%
doIsEmpty0%
getType0%
doGetAcquiredCount0%
doGetDelayedCount0%
doGetAbandonedCount0%
doBatchPush0%
pushBlobs0%
popAndAcquireBlob0%
getServerQueuesWithJobs0%
doAck0%
doDeduplicateRootJob0%
doIsRootJobOldDuplicate0%
doDelete0%
getAllQueuedJobs0%
getAllDelayedJobs0%
getAllAcquiredJobs0%
getAllAbandonedJobs0%
getJobIterator0%
getCoalesceLocationInternal0%
doGetSiblingQueuesWithJobs0%
doGetSiblingQueueSizes0%
getJobFromUidInternal0%
run0%
run0%
doIsEmpty0%
run0%
workItemCount0%
__construct0%
run0%
__construct0%
run0%
hitThumbUrl0%
maybeEnqueueNextPage0%
allowRetries0%
__construct0%
getDeduplicationInfo0%
getUpload0%
logJobParams0%
__construct0%
__construct0%
newDynamic0%
run0%
__construct0%
run0%
invalidatePages0%
initialiseUploadJob0%
allowRetries0%
run0%
getCacheKey0%
getUserFromSession0%
setStatus0%
fetchFile0%
verifyUpload0%
performUpload0%
getDeduplicationInfo0%
newPrioritized0%
__construct0%
run0%
fixRedirects0%
run0%
getFinalDestination0%
getUser0%
__construct0%
newFromJob0%
run0%
__construct0%
run0%
__construct0%
run0%
__construct0%
newForBacklinks0%
invalidateTitles0%
updateActiveUsers0%
getDeduplicationInfo0%
workItemCount0%
__construct0%
run0%
__construct0%
__construct0%
getDeduplicationInfo0%
logJobParams0%
getUpload0%
__construct0%
newPurgeJob0%
newCacheUpdateJob0%
run0%
purgeExpiredRows0%
doGetAcquiredCount0%
doGetSize0%
assertValidJobs0%
doGetAbandonedCount0%
getAllAbandonedJobs0%
getCoalesceLocationInternal0%
getSiblingQueuesWithJobs0%
doGetSiblingQueuesWithJobs0%
getSiblingQueueSizes0%
doGetSiblingQueueSizes0%
supportsTypeAgnostic0%
__construct0%
supportedOrders0%
optimalOrder0%
doIsEmpty0%
doGetSize0%
doGetAcquiredCount0%
doBatchPush0%
getAllDelayedJobs0%
doBatchPushInternal0%
doPop0%
claimRandom0%
claimOldest0%
doAck0%
doDeduplicateRootJob0%
doDelete0%
doWaitForBackups0%
getAllQueuedJobs0%
getAllAcquiredJobs0%
getAllAbandonedJobs0%
getJobIterator0%
getCoalesceLocationInternal0%
getAllAcquiredJobs0%
doFlushCaches0%
doGetSiblingQueueSizes0%
isRootJob0%
getMetadata0%
setMetadata0%
getReleaseTimestamp0%
getQueuedTimestamp0%
getRequestId0%
getReadyTimestamp0%
ignoreDuplicates0%
allowRetries0%
workItemCount0%
getDeduplicationInfo0%
newRootJobParams0%
getRootJobParams0%
hasRootJobParams0%
addTeardownCallback0%
doWaitForBackups0%
teardown0%
setLastError0%
getLastError0%
getDomain0%
getOrder0%
supportsDelayedJobs0%
delayedJobsEnabled0%
getReadOnlyReason0%
getDelayedCount0%
doGetDelayedCount0%
getAbandonedCount0%
doGetAbandonedCount0%
doDelete0%
waitForBackups0%
doGetSiblingQueuesWithJobs0%
doFlushCaches0%
recycleAndDeleteStaleJobs0%
doWaitForBackups0%
getCoalesceLocationInternal0%
getAllAbandonedJobs0%
getAllAcquiredJobs0%
getAllDelayedJobs0%
getAllQueuedJobs0%
doFlushCaches0%
doDelete0%
doGetSiblingQueueSizes0%
insertFields0%
doDeduplicateRootJob0%
doIsRootJobOldDuplicate0%
doAck0%
doPop0%
tryJobInsertions0%
doGetSiblingQueuesWithJobs0%
logException0%
getCrossPartitionSum0%
waitForBackups0%
getCoalescedQueues0%
getQueueSizes0%
getQueuesWithJobs0%
queuesHaveJobs0%
getDefaultQueueTypes0%
getQueueTypes0%
deduplicateRootJob0%
throwErrorIfAllPartitionsDown0%
ack0%
pop0%
lazyPush0%
push0%
get0%
__construct0%
doBatchPush0%
setStatusDone0%
doGetAbandonedCount0%
supportedOrders0%
getReplicaDB0%
getPrimaryDB0%
getDB0%
getScopedNoTrxFlag0%
getCacheKey0%
makeBlob0%
jobFromRow0%
getDBException0%
__construct0%
selectFields0%
optimalOrder0%
supportsDelayedJobs0%
doGetDelayedCount0%
doGetAcquiredCount0%
doGetSize0%
doIsEmpty0%
syncBackoffDeltas8%
getBackoffTimeToWait23%
loadBackoffs23%
checkMemoryOK26%
run30%
getLagAwareRootTimestamp30%
getParserOutputFromCache40%
getCurrentRevisionIfUnchanged47%
assertNotReadOnly50%
assertMatchingJobType50%
debugCallback50%
doBatchPush57%
runForTitle58%
getDataUpdateOptions63%
doParsoidCacheUpdate65%
pop66%
__construct68%
doExecuteJob70%
factory71%
needsTitle72%
batchPush75%
run80%
validateParams80%
__construct84%
doPop84%
toString85%
shouldGenerateHTMLOnEdit85%
run85%
run86%
doDeduplicateRootJob87%
doIsRootJobOldDuplicate87%
executeJob88%
getParserOutput89%
notifyUpdatesForRevision89%

Project Risks

Method CRAP
hitThumbUrl210
tryJobInsertions156
run156
run156
pop132
push132
updateActiveUsers110
doBatchPushInternal110
run90
claimRandom90
doBatchPush90
run90
syncBackoffDeltas87
run72
verifyUpload72
getDB56
recycleAndDeleteStaleJobs56
doPop42
fixRedirects42
run36
run31
doBatchPush30
run30
doGetSiblingQueueSizes30
doGetSiblingQueuesWithJobs30
doGetSiblingQueueSizes30
getFinalDestination30
doPop30
invalidatePages30
invalidateTitles30
serialize30
doDeduplicateRootJob30
__construct30
purgeExpiredRows30
getQueuesWithJobs30
getCoalescedQueues30
unserialize30
loadBackoffs28
getBackoffTimeToWait22
getParserOutputFromCache21
toString20
__construct20
getJobFromUidInternal20
lazyPush20
doPop20
queuesHaveJobs20
getQueueSizes20
assertValidJobs20
doIsRootJobOldDuplicate20
doAck20
run20
doIsEmpty20
run20
doGetAcquiredCount20
doGetAbandonedCount20
run20
claimOldest20
getUser20
checkMemoryOK15
notifyUpdatesForRevision13
setStatus12
__construct12
run12
workItemCount12
getDeduplicationInfo12
doDelete12
__construct12
run12
run12
getDeduplicationInfo12
doDelete12
workItemCount12
getServerQueuesWithJobs12
getNewJobFields12
getGlobalKey12
maybeEnqueueNextPage12
performUpload12
doWaitForBackups12
doIsRootJobOldDuplicate12
doDelete12
doDeduplicateRootJob12
doGetSize12
doAck12
getCrossPartitionSum12
supportsDelayedJobs12
getCoalesceLocationInternal12
jobFromRow12
getCurrentRevisionIfUnchanged11
doExecuteJob11
needsTitle7
batchPush7
doParsoidCacheUpdate7
__construct7
run7
run7
runForTitle6
getLagAwareRootTimestamp6
doIsRootJobOldDuplicate6
getUserFromSession6
getReleaseTimestamp6
run6
fetchFile6
getPrimaryDB6
getReplicaDB6
doGetSiblingQueueSizes6
doGetSiblingQueuesWithJobs6
newFromJob6
getQueuedTimestamp6
getJobIterator6
doFlushCaches6
doWaitForBackups6
doDelete6
getReadyTimestamp6
getDeduplicationInfo6
run6
hasRootJobParams6
getUpload6
getDeduplicationInfo6
doIsEmpty6
isRootJob6
teardown6
getCacheKey6
getDeduplicationInfo6
getUpload6
__construct6
getScopedNoTrxFlag6
getMetadata6
__construct6
doGetAbandonedCount6
doGetAcquiredCount6
doGetDelayedCount6
getAllAcquiredJobs6
doAck6
getAllAbandonedJobs6
getAllAbandonedJobs6
getAllAcquiredJobs6
setMetadata6
pushBlobs6
getAllDelayedJobs6
getQueueTypes6
getAllQueuedJobs6
throwErrorIfAllPartitionsDown6
get6
getAllDelayedJobs6
getAllQueuedJobs6
doFlushCaches6
getConnection6
makeBlob6
getDeduplicationInfo6
updateWatchlistNotification6
run6
__construct6
isRootJob6
hasRootJobParams6
waitForBackups6
getReleaseTimestamp6
doGetAcquiredCount6
__construct6
doAck6
getErrorBackoffTTL6
doGetSize6
getQueueKey6
pop5
doBatchPush5
validateParams5
doDeduplicateRootJob5
assertMatchingJobType4
getDataUpdateOptions3
__construct3
factory3
shouldGenerateHTMLOnEdit3
doPop3
getParserOutput3
assertNotReadOnly2
debugCallback2
executeJob2