Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

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

Project Risks

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