Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\CodeReview\Api\ApiCodeDiff0%
MediaWiki\Extension\CodeReview\UI\CodeStatusChangeTablePager0%
MediaWiki\Extension\CodeReview\UI\CodeRepoStatsView0%
MediaWiki\Extension\CodeReview\UI\CodeRevisionAuthorLink0%
MediaWiki\Extension\CodeReview\UI\CodeRevisionAuthorView0%
MediaWiki\Extension\CodeReview\UI\CodeRevisionCommitter0%
MediaWiki\Extension\CodeReview\UI\CodeRevisionListView0%
MediaWiki\Extension\CodeReview\UI\CodeRevisionStatusView0%
MediaWiki\Extension\CodeReview\UI\CodeRevisionTagView0%
MediaWiki\Extension\CodeReview\UI\CodeRevisionView0%
MediaWiki\Extension\CodeReview\UI\CodeStatusChangeAuthorListView0%
MediaWiki\Extension\CodeReview\UI\CodeStatusChangeListView0%
MediaWiki\Extension\CodeReview\UI\CodeStatusListView0%
MediaWiki\Extension\CodeReview\UI\CodeReleaseNotes0%
MediaWiki\Extension\CodeReview\UI\CodeTagListView0%
MediaWiki\Extension\CodeReview\UI\CodeView0%
MediaWiki\Extension\CodeReview\UI\RepoAdminListView0%
MediaWiki\Extension\CodeReview\UI\RepoAdminRepoView0%
MediaWiki\Extension\CodeReview\UI\SpecialCode0%
MediaWiki\Extension\CodeReview\UI\SpecialRepoAdmin0%
MediaWiki\Extension\CodeReview\UI\SvnRevAuthorTablePager0%
MediaWiki\Extension\CodeReview\UI\SvnRevStatusTablePager0%
MediaWiki\Extension\CodeReview\UI\SvnRevTablePager0%
MediaWiki\Extension\CodeReview\UI\SvnRevTagTablePager0%
MediaWiki\Extension\CodeReview\UI\SvnTablePager0%
MediaWiki\Extension\CodeReview\UI\CodeRepoListView0%
MediaWiki\Extension\CodeReview\UI\CodeCommentsTablePager0%
MediaWiki\Extension\CodeReview\Api\ApiCodeUpdate0%
MediaWiki\Extension\CodeReview\UI\CodeCommentsListView0%
MediaWiki\Extension\CodeReview\Api\ApiQueryCodeComments0%
MediaWiki\Extension\CodeReview\Api\ApiQueryCodePaths0%
MediaWiki\Extension\CodeReview\Api\ApiQueryCodeRevisions0%
MediaWiki\Extension\CodeReview\Api\ApiQueryCodeTags0%
MediaWiki\Extension\CodeReview\Api\ApiRevisionUpdate0%
MediaWiki\Extension\CodeReview\Api\CodeRevisionCommitterApi0%
MediaWiki\Extension\CodeReview\Backend\CodeComment0%
MediaWiki\Extension\CodeReview\Backend\CodeCommentLinker0%
MediaWiki\Extension\CodeReview\Backend\CodeCommentLinkerHtml0%
MediaWiki\Extension\CodeReview\Backend\CodePropChange0%
MediaWiki\Extension\CodeReview\Backend\CodeRepository0%
MediaWiki\Extension\CodeReview\Backend\CodeSignoff0%
MediaWiki\Extension\CodeReview\Backend\RepoStats0%
MediaWiki\Extension\CodeReview\Backend\SubversionAdaptor0%
MediaWiki\Extension\CodeReview\Backend\SubversionPecl0%
MediaWiki\Extension\CodeReview\Backend\SubversionProxy0%
MediaWiki\Extension\CodeReview\Backend\SubversionShell0%
MediaWiki\Extension\CodeReview\CodeReviewTooltipsModule0%
MediaWiki\Extension\CodeReview\Hooks0%
MediaWiki\Extension\CodeReview\UI\CodeAuthorListView0%
MediaWiki\Extension\CodeReview\UI\CodeCommentsAuthorListView0%
MediaWiki\Extension\CodeReview\UI\WordCloud0%
MediaWiki\Extension\CodeReview\Backend\CodeRevision0%
MediaWiki\Extension\CodeReview\Backend\CodeDiffHighlighter17%

Project Risks

Class CRAP
MediaWiki\Extension\CodeReview\Backend\CodeRevision27384
MediaWiki\Extension\CodeReview\UI\CodeRevisionView19460
MediaWiki\Extension\CodeReview\Backend\CodeRepository4032
MediaWiki\Extension\CodeReview\UI\CodeRevisionListView1722
MediaWiki\Extension\CodeReview\Backend\SubversionShell1640
MediaWiki\Extension\CodeReview\UI\CodeRevisionCommitter1482
MediaWiki\Extension\CodeReview\UI\CodeReleaseNotes1260
MediaWiki\Extension\CodeReview\UI\SpecialCode930
MediaWiki\Extension\CodeReview\UI\SvnRevTablePager812
MediaWiki\Extension\CodeReview\Api\ApiQueryCodeRevisions756
MediaWiki\Extension\CodeReview\Backend\CodeDiffHighlighter690
MediaWiki\Extension\CodeReview\UI\WordCloud342
MediaWiki\Extension\CodeReview\UI\CodeStatusChangeTablePager306
MediaWiki\Extension\CodeReview\Api\ApiQueryCodeComments272
MediaWiki\Extension\CodeReview\Backend\RepoStats272
MediaWiki\Extension\CodeReview\UI\CodeView240
MediaWiki\Extension\CodeReview\UI\CodeCommentsTablePager240
MediaWiki\Extension\CodeReview\UI\CodeRevisionAuthorLink240
MediaWiki\Extension\CodeReview\Hooks210
MediaWiki\Extension\CodeReview\Backend\CodeSignoff156
MediaWiki\Extension\CodeReview\Api\ApiRevisionUpdate156
MediaWiki\Extension\CodeReview\UI\CodeRepoStatsView156
MediaWiki\Extension\CodeReview\Api\ApiCodeUpdate132
MediaWiki\Extension\CodeReview\UI\CodeRepoListView110
MediaWiki\Extension\CodeReview\Backend\SubversionProxy110
MediaWiki\Extension\CodeReview\Backend\SubversionPecl90
MediaWiki\Extension\CodeReview\UI\RepoAdminRepoView72
MediaWiki\Extension\CodeReview\UI\SpecialRepoAdmin72
MediaWiki\Extension\CodeReview\UI\CodeRevisionAuthorView56
MediaWiki\Extension\CodeReview\UI\SvnTablePager56
MediaWiki\Extension\CodeReview\Api\ApiCodeDiff56
MediaWiki\Extension\CodeReview\Api\ApiQueryCodeTags42
MediaWiki\Extension\CodeReview\Api\ApiQueryCodePaths42
MediaWiki\Extension\CodeReview\UI\CodeAuthorListView30
MediaWiki\Extension\CodeReview\UI\RepoAdminListView30
MediaWiki\Extension\CodeReview\UI\SvnRevTagTablePager30
MediaWiki\Extension\CodeReview\UI\CodeRevisionTagView12
MediaWiki\Extension\CodeReview\UI\CodeTagListView12
MediaWiki\Extension\CodeReview\UI\CodeStatusListView6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
execute0%
pathsToArray0%
getPager0%
showForm0%
buildBatchInterface0%
doBatchChange0%
execute0%
getPathsAsString0%
preparePaths0%
__construct0%
getRepo0%
revisionUpdate0%
execute0%
execute0%
linkStatus0%
getPager0%
__construct0%
doSubmit0%
doForm0%
getRevCount0%
__construct0%
getTitle0%
formatPathLine0%
formatDiff0%
formatTag0%
addTagForm0%
buildStatusList0%
statusForm0%
listTags0%
splitTags0%
tagForm0%
canPostComments0%
getPager0%
checkPostings0%
navigationLinks0%
execute0%
stringToRevList0%
ltrimIntval0%
__construct0%
getPager0%
__construct0%
execute0%
__construct0%
formatImgCell0%
getDiff0%
onUserMergeAccountFields0%
onRenameUserSQL0%
onMakeGlobalVariablesScript0%
onLoadExtensionSchemaUpdates0%
getMessages0%
getExtraArgs0%
getDirList0%
getLog0%
getFile0%
execute0%
canConnect0%
__construct0%
_proxy0%
getDirList0%
getLog0%
getDiff0%
getFile0%
canConnect0%
__construct0%
__construct0%
writeAuthorTable0%
showForm0%
writeAuthorStatusTable0%
writeStatusPathTable0%
execute0%
getNavItem0%
execute0%
isRelevant0%
shortenSummary0%
showReleaseNotes0%
execute0%
getPager0%
__construct0%
getTitle0%
formatValue0%
getFieldNames0%
getCountQuery0%
getQueryInfo0%
getDefaultSort0%
isFieldSortable0%
formatImgDiff0%
stubDiffLoader0%
getLog0%
getGroupName0%
getDefaultSort0%
getSVNPath0%
getTitle0%
getQueryInfo0%
__construct0%
getTitle0%
getQueryInfo0%
__construct0%
execute0%
getCountQuery0%
getSubpagesForPrefixSearch0%
doesWrites0%
__construct0%
isListed0%
getGroupName0%
getViewFrom0%
execute0%
getSubpagesForPrefixSearch0%
getQueryInfo0%
getSelectFields0%
execute0%
formatRevValue0%
shuffleCloud0%
defaultTextCallback0%
getCloudHtml0%
getCloudSize0%
addWord0%
__construct0%
getStartBody0%
formatRow0%
isFieldSortable0%
getFieldNames0%
__construct0%
getTitle0%
getQueryInfo0%
getDefaultSort0%
__construct0%
getTitle0%
formatRevValue0%
formatValue0%
__construct0%
__construct0%
formatSignoffs0%
previewComment0%
addActionButtons0%
referenceButtons0%
getUserSignoffs0%
signoffButtons0%
postCommentForm0%
commentReplyLink0%
commentStyle0%
formatComment0%
revLink0%
getPager0%
commentLink0%
formatReferenceInline0%
formatChangeInline0%
formatCommentInline0%
formatSignoffInline0%
formatReferences0%
formatPropChanges0%
formatComments0%
__construct0%
getRevCount0%
execute0%
validPost0%
getForm0%
__construct0%
getRepo0%
formatMetaData0%
messageFragment0%
formatMessage0%
statusDesc0%
authorLink0%
__construct0%
isFieldSortable0%
linkCallback0%
execute0%
execute0%
getTitle0%
formatValue0%
getFieldNames0%
getQueryInfo0%
getDefaultSort0%
__construct0%
getDirList0%
getAllowedParams0%
getLineIdAttr0%
newFromName0%
__construct0%
newFromData0%
newFromRow0%
__construct0%
tagForLine0%
colorLine0%
handleLineFile0%
newFromRow0%
handleUnchanged0%
handleChunkDelimiter0%
handleLineAddition0%
handleLineDeletion0%
formatLine0%
parseLine0%
splitLines0%
render0%
newFromId0%
getRepoList0%
makeExternalLink0%
getRevision0%
authorWikiUser0%
unlinkUser0%
linkUser0%
isValidRev0%
setDiffCache0%
getDiff0%
getRevIdStringUnique0%
getRevIdString0%
getTagList0%
getId0%
getAuthorCount0%
getAuthorList0%
getLastStoredRev0%
getBugPath0%
getBugzillaBase0%
getViewVcBase0%
getPath0%
getName0%
makeInternalLink0%
messageRevLink0%
getDiffErrorMessage0%
getAllowedParams0%
formatRow0%
execute0%
__construct0%
getExamplesMessages0%
getAllowedParams0%
execute0%
__construct0%
getExamplesMessages0%
formatRow0%
getAllowedParams0%
execute0%
__construct0%
getExamplesMessages0%
getAllowedParams0%
isWriteMode0%
mustBePosted0%
execute0%
getExamplesMessages0%
addReferenced0%
getExamplesMessages0%
messageBugLink0%
validPost0%
generalLink0%
link0%
__construct0%
threadDepth0%
newFromData0%
newFromID0%
newFromRow0%
__construct0%
getExamplesMessages0%
__construct0%
getAllowedParams0%
needsToken0%
isWriteMode0%
mustBePosted0%
execute0%
getExamplesMessages0%
getAllowedParams0%
execute0%
wikiUserAuthor0%
newFromSvn0%
getDiff0%
tagData0%
sendStatusToUDP0%
sendCommentToUDP0%
getNextUnresolved0%
getPathConds0%
getNext0%
getPrevious0%
isValidTag0%
normalizeTag0%
normalizeTags0%
__construct0%
changeTags0%
getTags0%
strikeSignoffs0%
addSignoff0%
getSignoffs0%
removeReferencesTo0%
removeReferencesFrom0%
addReferencesTo0%
sendRecentChanges0%
isStruck0%
addReferencesFrom0%
getPathFixmes0%
getFile0%
canConnect0%
__construct0%
_rev0%
__construct0%
newFromRepo0%
getStatusPath0%
getPathNews0%
getAuthorStatusCounts0%
getTimestampStruck0%
generate0%
__construct0%
newFromRepo0%
newFromID0%
newFromData0%
newFromRow0%
getID0%
strike0%
addReferences0%
getFollowedUpRevisions0%
getPathFragments0%
getMessage0%
getPossibleFlags0%
makeStateMessageKey0%
getPossibleStateMessageKeys0%
getProtectedStates0%
getPossibleStates0%
getCommonPath0%
getOldStatus0%
getStatus0%
getTimestamp0%
isProtectedStatus0%
getWikiUser0%
getAuthor0%
getRepo0%
getRepoId0%
getIdStringUnique0%
getIdString0%
getId0%
newFromRow0%
isValidStatus0%
setStatus0%
getFollowupRevisions0%
emailNotifyUsersOfChanges0%
getCommentingUsers0%
getReviewContributingUsers0%
getPropChangeUsers0%
getPropChanges0%
getCommentCount0%
getComments0%
threadedSortKey0%
commentData0%
saveComment0%
insertChunks0%
previewComment0%
isDiffable0%
getModifiedPaths0%
getAffectedBugRevs0%
getAffectedRevs0%
getUniqueAffectedRevs0%
insertPaths0%
save0%
getClassFromPercent0%
parseChunkDelimiter89%

Project Risks

Method CRAP
revisionUpdate930
execute650
getLog380
getViewFrom380
save240
formatRevValue240
doBatchChange182
newFromSvn182
formatRow182
getDiff182
__construct182
shortenSummary182
getDirList132
formatValue110
parseLine110
formatImgDiff90
setStatus90
execute90
emailNotifyUsersOfChanges90
getDiffErrorMessage72
formatChangeInline72
isRelevant72
execute72
execute72
doSubmit72
showReleaseNotes56
formatValue56
execute56
execute56
onLoadExtensionSchemaUpdates56
changeTags56
formatPathLine56
formatDiff56
execute56
formatLine56
execute56
formatRow56
execute42
generate42
__construct30
getNavItem30
execute30
postCommentForm30
execute30
getCloudHtml30
execute30
getAffectedBugRevs30
getPathFragments30
getUserSignoffs20
getAffectedRevs20
_proxy20
authorWikiUser20
buildBatchInterface20
navigationLinks20
checkPostings20
splitTags20
execute20
formatSignoffs20
strikeSignoffs20
getQueryInfo20
messageFragment12
getQueryInfo12
shuffleCloud12
__construct12
execute12
execute12
execute12
__construct12
execute12
formatRow12
preparePaths12
getRevision12
getTagList12
validPost12
getAuthorList12
getSubpagesForPrefixSearch12
execute12
tagForm12
getSubpagesForPrefixSearch12
formatComments12
formatReferences12
formatSignoffInline12
signoffButtons12
execute12
getQueryInfo12
getClassFromPercent12
linkUser12
getNext12
getPrevious12
getNextUnresolved12
threadedSortKey12
newFromRepo12
getDiff12
newFromID12
addReferencesTo12
tagData12
canConnect12
addReferencesFrom12
getFollowedUpRevisions12
getFollowupRevisions12
isDiffable12
onMakeGlobalVariablesScript12
newFromRepo12
commentReplyLink6
formatComment6
__construct6
normalizeTag6
tagForLine6
formatReferenceInline6
newFromName6
formatCommentInline6
execute6
execute6
onRenameUserSQL6
normalizeTags6
getDefaultSort6
getPropChangeUsers6
getCommentingUsers6
addWord6
getQueryInfo6
addReferenced6
getFieldNames6
execute6
getComments6
getSignoffs6
messageBugLink6
addSignoff6
colorLine6
getRepo6
formatMetaData6
getTags6
getRepoList6
formatPropChanges6
writeStatusPathTable6
__construct6
linkStatus6
wikiUserAuthor6
doForm6
__construct6
writeAuthorTable6
newFromRow6
isValidRev6
getIdString6
getIdStringUnique6
insertChunks6
insertPaths6
getFile6
saveComment6
getExtraArgs6
getPropChanges6
_rev6
sendCommentToUDP6
getTimestampStruck6
sendRecentChanges6
newFromId6
onUserMergeAccountFields6
buildStatusList6
statusForm6
listTags6
strike6
getRevIdStringUnique6
getBugPath6
canPostComments6
getAuthorStatusCounts6
__construct6
getRevCount6
showForm6
getStatusPath6
getCommentCount6
parseChunkDelimiter5