Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getIdentifier0%
doAutoblock0%
isExemptedFromAutoblocks0%
update0%
insert0%
delete0%
newFromRow0%
getFactory0%
__construct0%
getBlocker0%
getByName0%
getBy0%
appliesToPasswordReset0%
appliesToPage0%
appliesToNamespace0%
getExpiry0%
updateTimestamp0%
toArray0%
withOriginalBlocks0%
getBlockUtils0%
__construct0%
validateTarget0%
parseBlockTargetRow0%
blockLogFlags0%
getId0%
prepareLogEntry0%
constructLogParams0%
getActionRestrictions0%
getPageRestrictions0%
getNamespaceRestrictions0%
getHideUserTarget0%
isExpired0%
getRangeStart0%
getPriorBlocksForTarget0%
getBy0%
newUnblockUser0%
newUpdateBlock0%
newBlockUser0%
__construct0%
getBlocker0%
getByName0%
getBy0%
appliesToPasswordReset0%
getIdentifier0%
__construct0%
updateTimestamp0%
updateTarget0%
getDBConnection0%
setBlocker0%
getBlockRestrictionStore0%
getRangeEnd0%
findRestriction0%
getRawRestrictions0%
getIdentifier0%
getType0%
getBlocksForIPList0%
newListFromTarget0%
getAutoblockExpiry0%
getRedactedName0%
isAutoblocking0%
isHardblock0%
getParentBlockId0%
setId0%
getId0%
getIpHex0%
wasTargetHidden0%
log0%
configureBlock0%
setTimestamp0%
getUserBlock0%
__toString0%
dumpWeakRef0%
isUser0%
clearUser0%
isPartial0%
toArray0%
appliesToPasswordReset0%
appliesToPage0%
appliesToNamespace0%
appliesToTitle0%
appliesToUsertalk0%
setTarget0%
getTimestamp0%
isIpBlockExempt0%
setExpiry0%
getExpiry0%
getType0%
getRedactedTarget0%
getTarget0%
appliesToRight0%
isHardblock0%
isUsertalkEditAllowed0%
isEmailBlocked0%
isCreateAccountBlocked0%
setHideName0%
getHideName0%
setReason0%
getReasonComment0%
filter0%
__construct0%
newRemoveBlock0%
getWikiId0%
equals0%
getIpBlock0%
__construct0%
getLegacyTuple0%
newFromLegacyUnion0%
__construct0%
newChecker0%
newBlockPermissionChecker0%
__construct0%
newUserBlockTarget0%
__construct0%
setTarget0%
setLogDeletionFlags0%
__construct0%
parseExpiryInput0%
checkHost0%
__toString0%
formatBlockerLink18%
appliesToRight30%
placeBlockUnsafe50%
placeBlock55%
placeBlockInternal59%
toHexRange60%
createGetBlockResult62%
unblock63%
newFromRowInternal65%
newRangeBlockTarget66%
newAnonIpBlockTarget66%
unblockUnsafe69%
methodReturnsValue75%
shouldApplyCookieBlock75%
isBlocking75%
checkBlockPermissions75%
getRestrictions80%
getAutoblockExpiry80%
insertBlockWithParams80%
insertBlock81%
doAutoblock81%
appliesToPage83%
appliesToNamespace83%
mapConds83%
getAllBlockActions83%
requestEquals83%
newLoad83%
getCreateAccountBlock84%
performRetroactiveAutoblock84%
acquireTarget84%
trackBlockWithCookie85%
isLocallyBlockedProxy85%
deleteBlocksMatchingConds86%
rowToRestriction87%
newListFromIPs88%
getBlockRestrictionStore88%
attemptInsert89%
updateBlock89%

Project Risks

Method CRAP
__construct240
blockLogFlags110
filter90
appliesToRight90
appliesToUsertalk72
appliesToPasswordReset56
placeBlockUnsafe53
constructLogParams42
placeBlockInternal35
getFactory30
getExpiry30
getBlockUtils30
getPriorBlocksForTarget30
__construct30
placeBlock27
newLoad25
getUserBlock20
newFromLegacyUnion20
getRedactedTarget20
updateTarget20
findRestriction20
setTarget20
prepareLogEntry20
wasTargetHidden20
checkBlockPermissions18
newFromRowInternal14
appliesToRight13
unblockUnsafe12
insertBlock12
trackBlockWithCookie12
equals12
setBlocker12
getActionRestrictions12
getIpHex12
getNamespaceRestrictions12
getHideUserTarget12
clearUser12
getPageRestrictions12
dumpWeakRef12
configureBlock12
doAutoblock11
acquireTarget11
getCreateAccountBlock10
unblock9
shouldApplyCookieBlock9
newListFromIPs8
formatBlockerLink7
updateBlock7
performRetroactiveAutoblock6
getParentBlockId6
isHardblock6
isAutoblocking6
getBy6
getRedactedName6
getType6
getIpBlock6
updateTimestamp6
newUserBlockTarget6
setId6
getRangeEnd6
validateTarget6
parseExpiryInput6
isPartial6
getRangeStart6
isHardblock6
parseBlockTargetRow6
newBlockPermissionChecker6
__toString6
isExpired6
getType6
getIdentifier6
rowToRestriction5
getBlockRestrictionStore5
attemptInsert5
toHexRange5
requestEquals4
createGetBlockResult3
methodReturnsValue3
getAutoblockExpiry3
getRestrictions3
mapConds3
getAllBlockActions3
appliesToNamespace3
appliesToPage3
isLocallyBlockedProxy3
deleteBlocksMatchingConds3
newAnonIpBlockTarget2
newRangeBlockTarget2
isBlocking2
insertBlockWithParams2