Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getRangeCond0%
getRedactedName0%
isAutoblocking0%
isHardblock0%
getParentBlockId0%
setId0%
getId0%
getRangeEnd0%
getRangeStart0%
updateTimestamp0%
isExpired0%
doAutoblock0%
isExemptedFromAutoblocks0%
update0%
delete0%
getQueryInfo0%
purgeExpired0%
getBlocker0%
getByName0%
getBy0%
getId0%
appliesToPage0%
appliesToNamespace0%
getIdentifier0%
getExpiry0%
toArray0%
withOriginalBlocks0%
getBlockUtils0%
__construct0%
validateIPv6Range0%
validateIPv4Range0%
getAutoblockExpiry0%
newListFromTarget0%
parseBlockTargetRow0%
updateTarget0%
newBlockUser0%
__construct0%
log0%
__construct0%
getBlocker0%
getByName0%
getBy0%
appliesToPasswordReset0%
getIdentifier0%
__construct0%
addFieldToBuilder0%
getExpression0%
__construct0%
updateTimestamp0%
acquireTarget0%
getType0%
getTargetConds0%
releaseTargets0%
deleteBlockRows0%
mapActorAlias0%
newListFromConds0%
getWriteStage0%
getReadStage0%
getDBConnection0%
setBlocker0%
getBy0%
getBlockRestrictionStore0%
findRestriction0%
getRawRestrictions0%
getIdentifier0%
validateTarget0%
appliesToPasswordReset0%
newUnblockUser0%
setTarget0%
dumpWeakRef0%
isUser0%
clearUser0%
__construct0%
isExempt0%
blockLogFlags0%
toArray0%
appliesToPasswordReset0%
appliesToPage0%
appliesToNamespace0%
appliesToTitle0%
appliesToUsertalk0%
getPermissionsError0%
setTimestamp0%
getUserBlock0%
getTimestamp0%
setExpiry0%
getExpiry0%
getType0%
appliesToRight0%
isHardblock0%
isUsertalkEditAllowed0%
isEmailBlocked0%
isCreateAccountBlocked0%
setHideName0%
getHideName0%
setReason0%
getReasonComment0%
__toString0%
__construct0%
getCreateAccountBlock0%
checkHost0%
__construct0%
newBlockPermissionChecker0%
parseExpiryInput0%
__construct0%
getNamespaceRestrictions0%
isPartial0%
configureBlock0%
__construct0%
getPageRestrictions0%
getActionRestrictions0%
__construct0%
setLogDeletionFlags0%
log0%
filter0%
isIpBlockExempt0%
getIpBlock0%
placeBlockUnsafe0%
prepareLogEntry0%
constructLogParams0%
getCookieBlock0%
unblockUnsafe13%
formatBlockerLink18%
getQueryInfo23%
appliesToRight30%
chooseMostSpecificBlock37%
purgeExpiredConflicts44%
getRangeCond48%
newFromRow51%
unblock52%
attemptInsert52%
deleteBlocksMatchingConds57%
placeBlock58%
getArrayForAutoblockUpdate58%
getBlock60%
newFromID60%
createGetBlockResult62%
getArrayForBlockUpdate62%
newListFromIPs66%
deleteBlock70%
newLoad70%
updateBlock71%
methodReturnsValue75%
isBlocking75%
shouldApplyCookieBlock75%
purgeExpiredBlocks76%
placeBlockInternal76%
updateByParentBlockId77%
rowToRestriction80%
getAutoblockExpiry80%
getRestrictions80%
newListFromTarget81%
insertBlock82%
doAutoblock82%
mapConds83%
getAllBlockActions83%
appliesToPage83%
appliesToNamespace83%
requestEquals83%
performRetroactiveAutoblock84%
__construct84%
parseBlockTarget84%
isLocallyBlockedProxy85%
trackBlockWithCookie88%

Project Risks

Method CRAP
acquireTarget342
placeBlockUnsafe306
__construct156
blockLogFlags110
getCreateAccountBlock110
appliesToRight90
filter90
validateTarget72
appliesToUsertalk72
unblockUnsafe62
parseBlockTargetRow56
appliesToPasswordReset56
newLoad48
constructLogParams42
newListFromConds42
updateTarget42
getRangeEnd30
deleteBlockRows30
getBlockUtils30
getExpiry30
getRangeStart30
placeBlock28
getQueryInfo22
attemptInsert20
setTarget20
validateIPv6Range20
isExempt20
prepareLogEntry20
getExpression20
getUserBlock20
findRestriction20
updateTimestamp20
validateIPv4Range20
chooseMostSpecificBlock14
updateBlock13
newListFromIPs13
appliesToRight13
deleteBlocksMatchingConds12
placeBlockInternal12
setBlocker12
__construct12
log12
configureBlock12
getPageRestrictions12
clearUser12
dumpWeakRef12
getNamespaceRestrictions12
getActionRestrictions12
doAutoblock11
trackBlockWithCookie10
unblock9
insertBlock9
parseBlockTarget9
purgeExpiredConflicts9
shouldApplyCookieBlock9
getRangeCond8
formatBlockerLink7
newListFromTarget7
performRetroactiveAutoblock7
getArrayForAutoblockUpdate6
getBlock6
updateByParentBlockId6
__toString6
setId6
getTargetConds6
getParentBlockId6
isHardblock6
isHardblock6
getIpBlock6
isExpired6
getCookieBlock6
__construct6
getRedactedName6
getType6
addFieldToBuilder6
getIdentifier6
parseExpiryInput6
getBy6
isPartial6
isAutoblocking6
newFromRow5
deleteBlock5
purgeExpiredBlocks5
rowToRestriction5
getArrayForBlockUpdate4
requestEquals4
newFromID3
createGetBlockResult3
methodReturnsValue3
getAutoblockExpiry3
getRestrictions3
appliesToNamespace3
mapConds3
getAllBlockActions3
appliesToPage3
isLocallyBlockedProxy3
__construct3
isBlocking2