Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\Translate\PageTranslation\DeleteTranslatableBundleSpecialPage0%
MediaWiki\Extension\Translate\PageTranslation\RenderTranslationPageJob0%
MediaWiki\Extension\Translate\PageTranslation\TranslationVariable0%
MediaWiki\Extension\Translate\PageTranslation\TranslationUnitStoreFactory0%
MediaWiki\Extension\Translate\PageTranslation\TranslationUnitStore0%
MediaWiki\Extension\Translate\PageTranslation\TranslateExt0%
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageView0%
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageStatus0%
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageStateStore0%
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageSettings0%
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageMessageGroupFactory0%
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover0%
MediaWiki\Extension\Translate\PageTranslation\TestingParsingPlaceholderFactory0%
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleDeleter0%
MediaWiki\Extension\Translate\PageTranslation\PrepareTranslatablePageSpecialPage0%
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection0%
MediaWiki\Extension\Translate\PageTranslation\ImpossiblePageMove0%
MediaWiki\Extension\Translate\PageTranslation\ManageMessageGroupSubscriptionsSpecialPage0%
MediaWiki\Extension\Translate\PageTranslation\MigrateTranslatablePageSpecialPage0%
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleMaintenanceScript0%
MediaWiki\Extension\Translate\PageTranslation\ParsingFailure0%
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleSpecialPage0%
MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation0%
MediaWiki\Extension\Translate\PageTranslation\PageTranslationHookHandler0%
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage0%
MediaWiki\Extension\Translate\PageTranslation\UpdateTranslatablePageJob0%
MediaWiki\Extension\Translate\PageTranslation\Hooks15%
MediaWiki\Extension\Translate\PageTranslation\TranslationPage35%
MediaWiki\Extension\Translate\PageTranslation\TranslateAnnotationStripper50%
MediaWiki\Extension\Translate\PageTranslation\TranslatablePage66%
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageParser77%
MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi86%

Project Risks

Class CRAP
MediaWiki\Extension\Translate\PageTranslation\Hooks28118
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage16770
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleSpecialPage2862
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover2162
MediaWiki\Extension\Translate\PageTranslation\DeleteTranslatableBundleSpecialPage1892
MediaWiki\Extension\Translate\PageTranslation\ManageMessageGroupSubscriptionsSpecialPage1640
MediaWiki\Extension\Translate\PageTranslation\RenderTranslationPageJob1406
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleMaintenanceScript1190
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection650
MediaWiki\Extension\Translate\PageTranslation\UpdateTranslatablePageJob342
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageView240
MediaWiki\Extension\Translate\PageTranslation\TranslatablePage231
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleDeleter156
MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation132
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageStateStore110
MediaWiki\Extension\Translate\PageTranslation\PageTranslationHookHandler90
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageMessageGroupFactory90
MediaWiki\Extension\Translate\PageTranslation\TranslationPage42
MediaWiki\Extension\Translate\PageTranslation\TranslationUnitStore30
MediaWiki\Extension\Translate\PageTranslation\TranslationUnitStoreFactory30
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageParser28
MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi24
MediaWiki\Extension\Translate\PageTranslation\TranslatablePageStatus20

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getValidBundleFromTitle0%
getDeduplicationInfo0%
getSummary0%
setUser0%
getUser0%
isDeleteTrigger0%
isCategoryTrigger0%
logJobStart0%
deleteTranslationPage0%
hasOnlyFuzzyBotAsAuthor0%
make0%
__construct0%
getPagesForDeletion0%
deleteAsynchronously0%
__construct0%
getFlags0%
getPageMoveCollection0%
moveAsynchronously0%
moveSynchronously0%
disablePageMoveLimit0%
enablePageMoveLimit0%
shouldLeaveRedirect0%
getPagesToMove0%
lock0%
unlock0%
move0%
getRenameMoveBlocker0%
newFromText0%
getRevision0%
hasPageDisplayTitle0%
setSummary0%
setFlags0%
getStrippedSourcePageText0%
showTranslationSettings0%
showUnlinkConfirmation0%
loadPagesFromDB0%
doesWrites0%
classifyPages0%
listPages0%
actionLinks0%
showPage0%
priorityLanguagesForm0%
syntaxVersionForm0%
templateTransclusionForm0%
getPriorityLanguage0%
getPageList0%
displayPagesWithProposedState0%
handleTranslationState0%
run0%
addPageForm0%
displayStateInfoMessage0%
getBlock0%
showTranslationStateRestricted0%
sourcePageTemplateForDiffs0%
__construct0%
getMessageSpecification0%
__construct0%
getGroupName0%
execute0%
getHtml0%
newJob0%
newNonPrioritizedJob0%
__construct0%
getPageDisplayTitle0%
getTranslationUnitPages0%
showSuccess0%
unserializeFromArray0%
isRecentEditor0%
isTranslationSettingsAllowedForTitle0%
__construct0%
getConfig0%
getPageContent0%
getMessageCollection0%
filterMessageCollection0%
extractMessages0%
generateSourceFromMessageCollection0%
generateSource0%
getText0%
getOldText0%
serializeToArray0%
__construct0%
canDisplayTranslationSettingsBanner0%
getUnits0%
getNames0%
delete0%
__construct0%
getReader0%
getWriter0%
__construct0%
getDefinition0%
getName0%
getValue0%
__construct0%
newFromPage0%
run0%
getTranslationUnitJobs0%
isTranslationBannerNamespaceConfigured0%
canManageTranslationSettings0%
getTranslationPercentages0%
getPriorityLanguageComment0%
supportsTransclusion0%
getRevisionRecordWithFallback0%
isMoveable0%
isDeletable0%
__construct0%
getCacheKey0%
getCacheVersion0%
getDependencies0%
getData0%
createGroups0%
__construct0%
getPriorityLanguages0%
shouldForcePriorityLanguage0%
getNoFuzzyUnits0%
__construct0%
shouldTranslateTitle0%
shouldForceLatestSyntaxVersion0%
shouldEnableTransclusion0%
__construct0%
remove0%
set0%
get0%
getRequested0%
getCacheKey0%
getCacheTag0%
getPageIdFromCacheKey0%
__construct0%
isEqual0%
getId0%
showGenericConfirmation0%
buildPageArray0%
onActionMark0%
execute0%
lockedPagesCheck0%
replaceSubtitle0%
translateTab0%
onMovePageTranslationUnits0%
onDeleteTranslationUnit0%
onReplaceTextFilterPageTitlesForEdit0%
onReplaceTextFilterPageTitlesForRename0%
getSpecialManageMessageGroupSubscriptionsLink0%
__construct0%
getBlockers0%
__construct0%
doesWrites0%
executeRawEditForm0%
getTranslateLink0%
executeNormalEditForm0%
getAssociatedNavigationLinks0%
getSubpagesForPrefixSearch0%
submitRaw0%
showTitles0%
getMessageGroupSubscriptionInfo0%
submitNormal0%
getNormalForm0%
buildRemoveLine0%
getRawForm0%
execute0%
isWriteMode0%
__construct0%
translationPageHeader0%
sourcePageHeader0%
getDescription0%
onTitleGetEditNotices0%
execute0%
doBasicChecks0%
checkToken0%
showForm0%
showConfirmation0%
getChangeLine0%
performAction0%
getCommonFormFields0%
listPages0%
getDeleteReason0%
identifyEntityType0%
isTranslation0%
fetchTranslatableTemplateAndTitle0%
onBeforePageDisplay0%
translatablePageHeader0%
onVisualEditorBeforeEditor0%
onSectionSave0%
updateTranslationPage0%
languages0%
tpProgressIcon0%
addLanguageLinks0%
formatLanguageLink0%
tpSyntaxCheckForEditContent0%
onGetUserPermissionsErrorsExpensive0%
checkTranslatablePageSlow0%
getTranslationRestrictions0%
preventDirectEditing0%
disableDelete0%
getGroupName0%
getRenderJobs0%
hasTalkpage0%
getListOfPagesToRedirect0%
getSpecialPageTitle0%
getLogPageWikiLink0%
__construct0%
getTranslatablePage0%
onLonelyPagesQuery0%
getTranslationPagesPair0%
getUnitPagesPair0%
getSubpagesPair0%
getTranslatableSubpages0%
getTranslationPages0%
getUnitPages0%
getSubpages0%
getListOfPages0%
onSpecialPrefixIndexQuery0%
getSubactionFromRequest0%
getNonMovableSubpages0%
getOldPagesFromList0%
getPagePairFromList0%
onSpecialPrefixIndexGetFormFilters0%
getLeaveRedirectPairFromList0%
getTalkpages0%
__construct0%
getOldTitle0%
setTalkpage0%
getNewTitle0%
getOldTalkpage0%
getNewTalkpage0%
getRenameErrorCode0%
shouldLeaveRedirect0%
getCommonFormFields0%
addSectionHeaderAndMessage0%
setLeaveRedirect0%
showConfirmation0%
execute0%
getGroupName0%
__construct0%
execute0%
parseErrorMessage0%
doesWrites0%
progressCallback0%
__construct0%
displayPagesToMove0%
getSectionHeader0%
getConfirmation0%
getSeparator0%
logSeparator0%
message0%
execute0%
showForm0%
showErrors0%
checkToken0%
authorizeMove0%
doBasicChecks0%
onSpecialPageBeforeFormDisplay0%
getTitleFromInput0%
onSpecialWhatLinksHereQuery0%
getGroupName0%
doesWrites0%
__construct0%
onLinksUpdateComplete12%
throwIfEditFailed25%
sendNotifications38%
isAllowedContentModel40%
validatePriorityLanguages41%
onParserOutputPostCacheTransform50%
getMessageGroup50%
parseUnit55%
renderTagPage59%
addReadyTag66%
parse71%
getText76%
onlyTvarsChanged80%
tpSyntaxError81%
getTranslatablePageStatus84%
execute85%
shouldAddAnchor88%
newFromRevision88%

Project Risks

Method CRAP
execute650
onGetUserPermissionsErrorsExpensive342
showPage342
run306
getPageMoveCollection306
execute240
listPages182
showConfirmation182
displayPagesToMove156
execute132
fetchTranslatableTemplateAndTitle132
replaceSubtitle132
onActionMark110
languages90
addLanguageLinks90
execute90
onMovePageTranslationUnits90
preventDirectEditing72
getPagesToMove72
actionLinks72
sourcePageHeader72
onDeleteTranslationUnit56
deleteAsynchronously56
getTranslationRestrictions56
run56
getPageList56
translateTab56
submitRaw42
getRenderJobs42
translationPageHeader42
showConfirmation42
onBeforePageDisplay42
onLinksUpdateComplete30
showTranslationSettings30
showTitles30
getTranslationPercentages30
move30
canDisplayTranslationSettingsBanner30
getSubactionFromRequest30
getNormalForm30
classifyPages30
getRenameMoveBlocker30
onTitleGetEditNotices30
doBasicChecks30
handleTranslationState20
displayStateInfoMessage20
onSectionSave20
identifyEntityType20
tpProgressIcon20
doBasicChecks20
updateTranslationPage20
getLeaveRedirectPairFromList20
getPageDisplayTitle20
showSuccess20
checkTranslatablePageSlow20
translatablePageHeader20
disableDelete20
onReplaceTextFilterPageTitlesForRename20
execute20
isTranslationSettingsAllowedForTitle20
executeNormalEditForm20
getMessageGroupSubscriptionInfo20
submitNormal20
execute15
sendNotifications14
renderTagPage12
getData12
syntaxVersionForm12
getBlock12
priorityLanguagesForm12
logJobStart12
hasOnlyFuzzyBotAsAuthor12
canManageTranslationSettings12
getDeleteReason12
lockedPagesCheck12
buildPageArray12
getPagePairFromList12
authorizeMove12
getSpecialPageTitle12
addSectionHeaderAndMessage12
getTalkpages12
onReplaceTextFilterPageTitlesForEdit12
onSpecialWhatLinksHereQuery12
getSectionHeader12
parse9
parseUnit9
getText7
getTranslatablePageStatus7
shouldAddAnchor6
getReader6
get6
supportsTransclusion6
getRevisionRecordWithFallback6
progressCallback6
parseErrorMessage6
newFromPage6
createGroups6
__construct6
getRequested6
getUnits6
executeRawEditForm6
getWriter6
tpSyntaxCheckForEditContent6
extractMessages6
getTranslationUnitJobs6
generateSource6
serializeToArray6
unserializeFromArray6
filterMessageCollection6
hasPageDisplayTitle6
onSpecialPageBeforeFormDisplay6
showGenericConfirmation6
onSpecialPrefixIndexQuery6
getRenameErrorCode6
displayPagesWithProposedState6
getOldPagesFromList6
addPageForm6
getListOfPages6
getLogPageWikiLink6
sourcePageTemplateForDiffs6
setUser6
getPagesForDeletion6
showForm6
getValidBundleFromTitle6
showErrors6
shouldLeaveRedirect6
listPages6
lock6
unlock6
formatLanguageLink6
tpSyntaxError5
isAllowedContentModel4
getMessageGroup4
throwIfEditFailed3
validatePriorityLanguages2
onParserOutputPostCacheTransform2
addReadyTag2
onlyTvarsChanged2
newFromRevision2