Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

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

Project Risks

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