Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\CampaignEvents\MWEntity\UserNotGlobalException0%
MediaWiki\Extension\CampaignEvents\Pager\EventsTablePager0%
MediaWiki\Extension\CampaignEvents\MWEntity\UnexpectedInterwikiException0%
MediaWiki\Extension\CampaignEvents\MWEntity\UnexpectedSectionAnchorException0%
MediaWiki\Extension\CampaignEvents\MWEntity\UnexpectedVirtualNamespaceException0%
MediaWiki\Extension\CampaignEvents\MWEntity\UserLinker0%
MediaWiki\Extension\CampaignEvents\Database\CampaignsDatabaseHelper0%
MediaWiki\Extension\CampaignEvents\Messaging\EmailUsersJob0%
MediaWiki\Extension\CampaignEvents\Notifications\RegistrationNotificationPresentationModel0%
MediaWiki\Extension\CampaignEvents\Notifications\UserNotifier0%
MediaWiki\Extension\CampaignEvents\Organizers\Organizer0%
MediaWiki\Extension\CampaignEvents\Pager\EventsListPager0%
MediaWiki\Extension\CampaignEvents\Pager\EventsPagerFactory0%
MediaWiki\Extension\CampaignEvents\Participants\Participant0%
MediaWiki\Extension\CampaignEvents\MWEntity\PageNotFoundException0%
MediaWiki\Extension\CampaignEvents\Widget\TextWithIconWidget0%
MediaWiki\Extension\CampaignEvents\Questions\Answer0%
MediaWiki\Extension\CampaignEvents\Questions\EventAggregatedAnswers0%
MediaWiki\Extension\CampaignEvents\TrackingTool\InvalidToolURLException0%
MediaWiki\Extension\CampaignEvents\Questions\InvalidAnswerDataException0%
MediaWiki\Extension\CampaignEvents\Special\SpecialRegisterForEvent0%
MediaWiki\Extension\CampaignEvents\Special\SpecialMyEvents0%
MediaWiki\Extension\CampaignEvents\Special\SpecialEventDetails0%
MediaWiki\Extension\CampaignEvents\Special\ChangeRegistrationSpecialPageBase0%
MediaWiki\Extension\CampaignEvents\Special\SpecialAllEvents0%
MediaWiki\Extension\CampaignEvents\Special\SpecialCancelEventRegistration0%
MediaWiki\Extension\CampaignEvents\Special\SpecialDeleteEventRegistration0%
MediaWiki\Extension\CampaignEvents\Special\SpecialEnableEventRegistration0%
MediaWiki\Extension\CampaignEvents\Special\SpecialEditEventRegistration0%
MediaWiki\Extension\CampaignEvents\MWEntity\PageAuthorLookup0%
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\EchoHooksHandler0%
MediaWiki\Extension\CampaignEvents\Event\ExistingEventRegistration0%
MediaWiki\Extension\CampaignEvents\Event\InvalidEventDataException0%
MediaWiki\Extension\CampaignEvents\Pager\EventPagerTrait0%
MediaWiki\Extension\CampaignEvents\EventPage\EventPageDecorator0%
MediaWiki\Extension\CampaignEvents\EventPage\EventPageDecoratorFactory0%
MediaWiki\Extension\CampaignEvents\FrontendModules\ClickwrapFormModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\EmailParticipantsModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsParticipantsModule0%
MediaWiki\Extension\CampaignEvents\MWEntity\MWPageProxy0%
MediaWiki\Extension\CampaignEvents\FrontendModules\ResponseStatisticsModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\FrontendModulesFactory0%
MediaWiki\Extension\CampaignEvents\MWEntity\CentralUser0%
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\SchemaChangesHandler0%
MediaWiki\Extension\CampaignEvents\Hooks\ResourceLoaderCallbacks0%
MediaWiki\Extension\CampaignEvents\MWEntity\MWAuthorityProxy0%
MediaWiki\Extension\CampaignEvents\MWEntity\InvalidTitleStringException0%
MediaWiki\Extension\CampaignEvents\MWEntity\HiddenCentralUserException0%
MediaWiki\Extension\CampaignEvents\MWEntity\CentralUserNotFoundException0%
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFormatter0%
MediaWiki\Extension\CampaignEvents\Special\AbstractEventRegistrationSpecialPage0%
MediaWiki\Extension\CampaignEvents\MWEntity\PageURLResolver22%
MediaWiki\Extension\CampaignEvents\Messaging\CampaignsUserMailer39%
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\PageMoveAndDeleteHandler42%
MediaWiki\Extension\CampaignEvents\EventPage\EventPageCacheUpdater42%
MediaWiki\Extension\CampaignEvents\Event\PageEventLookup53%
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolRegistry54%
MediaWiki\Extension\CampaignEvents\PolicyMessagesLookup57%
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsCentralUserLookup60%
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFactory64%
MediaWiki\Extension\CampaignEvents\Event\EventFactory78%
MediaWiki\Extension\CampaignEvents\Rest\FailStatusUtilTrait80%
MediaWiki\Extension\CampaignEvents\Rest\EmailUsersHandler81%
MediaWiki\Extension\CampaignEvents\Questions\EventQuestionsRegistry86%
MediaWiki\Extension\CampaignEvents\Permissions\PermissionChecker86%
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolUpdater86%
MediaWiki\Extension\CampaignEvents\Rest\UpdateEventRegistrationHandler87%
MediaWiki\Extension\CampaignEvents\Event\Store\EventStore88%
MediaWiki\Extension\CampaignEvents\Participants\UnregisterParticipantCommand89%
MediaWiki\Extension\CampaignEvents\Rest\SetOrganizersHandler89%
MediaWiki\Extension\CampaignEvents\Maintenance\GenerateInvitationList89%

Project Risks

Class CRAP
MediaWiki\Extension\CampaignEvents\EventPage\EventPageDecorator8556
MediaWiki\Extension\CampaignEvents\Special\AbstractEventRegistrationSpecialPage7775
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsParticipantsModule4032
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsModule1332
MediaWiki\Extension\CampaignEvents\Pager\EventsTablePager812
MediaWiki\Extension\CampaignEvents\Pager\EventsListPager756
MediaWiki\Extension\CampaignEvents\Special\SpecialRegisterForEvent650
MediaWiki\Extension\CampaignEvents\Notifications\RegistrationNotificationPresentationModel600
MediaWiki\Extension\CampaignEvents\FrontendModules\ResponseStatisticsModule552
MediaWiki\Extension\CampaignEvents\Special\SpecialEventDetails380
MediaWiki\Extension\CampaignEvents\Special\SpecialDeleteEventRegistration210
MediaWiki\Extension\CampaignEvents\Messaging\CampaignsUserMailer173
MediaWiki\Extension\CampaignEvents\MWEntity\PageURLResolver133
MediaWiki\Extension\CampaignEvents\Special\SpecialEditEventRegistration132
MediaWiki\Extension\CampaignEvents\Special\ChangeRegistrationSpecialPageBase132
MediaWiki\Extension\CampaignEvents\Event\EventFactory130
MediaWiki\Extension\CampaignEvents\Questions\EventQuestionsRegistry123
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolRegistry102
MediaWiki\Extension\CampaignEvents\Pager\EventPagerTrait90
MediaWiki\Extension\CampaignEvents\Special\SpecialCancelEventRegistration90
MediaWiki\Extension\CampaignEvents\MWEntity\UserLinker72
MediaWiki\Extension\CampaignEvents\Maintenance\GenerateInvitationList56
MediaWiki\Extension\CampaignEvents\MWEntity\MWAuthorityProxy56
MediaWiki\Extension\CampaignEvents\Event\Store\EventStore54
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsCentralUserLookup43
MediaWiki\Extension\CampaignEvents\Event\PageEventLookup42
MediaWiki\Extension\CampaignEvents\Special\SpecialMyEvents42
MediaWiki\Extension\CampaignEvents\Special\SpecialAllEvents42
MediaWiki\Extension\CampaignEvents\MWEntity\PageAuthorLookup42
MediaWiki\Extension\CampaignEvents\Messaging\EmailUsersJob30
MediaWiki\Extension\CampaignEvents\FrontendModules\ClickwrapFormModule30
MediaWiki\Extension\CampaignEvents\Permissions\PermissionChecker29
MediaWiki\Extension\CampaignEvents\Participants\UnregisterParticipantCommand22
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\PageMoveAndDeleteHandler20
MediaWiki\Extension\CampaignEvents\Notifications\UserNotifier20
MediaWiki\Extension\CampaignEvents\Questions\EventAggregatedAnswers20
MediaWiki\Extension\CampaignEvents\Database\CampaignsDatabaseHelper20
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolUpdater19
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFactory18
MediaWiki\Extension\CampaignEvents\Rest\EmailUsersHandler15
MediaWiki\Extension\CampaignEvents\Rest\UpdateEventRegistrationHandler14
MediaWiki\Extension\CampaignEvents\Rest\SetOrganizersHandler14
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFormatter12
MediaWiki\Extension\CampaignEvents\Widget\TextWithIconWidget12
MediaWiki\Extension\CampaignEvents\EventPage\EventPageCacheUpdater9
MediaWiki\Extension\CampaignEvents\MWEntity\PageNotFoundException6
MediaWiki\Extension\CampaignEvents\Hooks\ResourceLoaderCallbacks6
MediaWiki\Extension\CampaignEvents\Rest\FailStatusUtilTrait2

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
getTypeBodySection0%
getIndexField0%
getModules0%
getModuleStyles0%
getCellAttrs0%
getTableClass0%
isFieldSortable0%
getDefaultSort0%
getFieldNames0%
__construct0%
formatValue0%
__construct0%
newListPager0%
newTablePager0%
__construct0%
getSubqueryInfo0%
getSubqueryInfo0%
getUser0%
getDayFromTimestamp0%
getOption0%
__construct0%
__construct0%
getData0%
getQuestionData0%
addEntry0%
getText0%
getQuestionDBID0%
getRegisteredAt0%
__construct0%
getPolicyMessageForRegistrationForm0%
getAggregationTimestamp0%
getFirstAnswerTimestamp0%
getAnswers0%
isPrivateRegistration0%
getParticipantID0%
offsetTimestamp0%
getMonthFromTimestamp0%
getQuestionOptionsForStats0%
canRender0%
getConfiguredPEDashboardData0%
getDatesBodySection0%
getBodyMessage0%
getHeaderMessage0%
getSubjectMessage0%
getIconType0%
__construct0%
getPrimaryLink0%
run0%
__construct0%
getFromAndReplyTo0%
onSubmit0%
getMessageWithFooter0%
__construct0%
__construct0%
gerOrganizersBodySection0%
getSecondaryLinks0%
getYearFromTimestamp0%
getRow0%
getMeetingTypeMsg0%
getNavigationBar0%
getIndexField0%
formatRow0%
isHeaderRowNeeded0%
getLimitSelectList0%
__construct0%
makeLink0%
getClickwrapAcceptance0%
getOrganizerID0%
getRoles0%
getUser0%
__construct0%
notifyRegistration0%
__construct0%
getQuestionLabelForStats0%
dbIDToName0%
getUserPagePath0%
onSubmit0%
getFormMessages0%
__construct0%
doesWrites0%
getGroupName0%
getDisplayFormat0%
onSuccess0%
alterForm0%
getValidationFlags0%
getFormFields0%
userCanExecute0%
execute0%
__construct0%
requiresUnblock0%
onSuccess0%
execute0%
getShowAlways0%
alterForm0%
execute0%
addParticipantQuestionFields0%
getFormFields0%
getForm0%
__construct0%
getGroupName0%
showFormAndEvents0%
__construct0%
__construct0%
getGroupName0%
createTab0%
outputErrorBox0%
execute0%
__construct0%
getValidationFlags0%
getFormMessages0%
onSubmit0%
getFormFields0%
__construct0%
execute0%
onSubmit0%
parseSubmittedTimezone0%
alterForm0%
getParticipantQuestionsFields0%
getFormFields0%
outputErrorBox0%
__construct0%
getOrganizerUsernames0%
onSuccess0%
getShowAlways0%
__construct0%
__construct0%
getExpectedBaseURL0%
logToolFailure0%
getQuestionName0%
getTimezone0%
onSuccess0%
checkRegistrationPrecondition0%
doesWrites0%
__construct0%
getGroupName0%
showFormAndEvents0%
execute0%
__construct0%
getMessagePrefix0%
getGroupName0%
getDisplayFormat0%
getDisplayFormat0%
checkRegistrationPrecondition0%
execute0%
__construct0%
getMessagePrefix0%
doesWrites0%
getGroupName0%
preloadUserLinks0%
validateSender0%
generateUserLinkWithFallback0%
getUserStatus0%
__construct0%
newDecorator0%
__construct0%
makeDetailsDialogSection0%
getParticipantRow0%
getParticipantFooter0%
getActionElement0%
createForm0%
getParticipantRows0%
getDetailsDialogParticipants0%
getDetailsDialogChat0%
getDetailsDialogLocation0%
getDetailsDialogDates0%
getDetailsDialogEventInfo0%
createContent0%
processInput0%
getDetailsDialogContent0%
getLocationSection0%
getPrimaryHeader0%
createContent0%
generateUserLink0%
makeSection0%
getFooter0%
getTrackingToolsSection0%
getOrganizersColumn0%
__construct0%
getInfoColumn0%
getHeader0%
createContent0%
__construct0%
getEmailForm0%
createContent0%
getDetailsDialogOrganizers0%
getEventInfoHeaderRow0%
getEmptyStateElement0%
validateMeetingInfo0%
getCreationTimestamp0%
getID0%
__construct0%
getParticipantQuestions0%
validateParticipantQuestions0%
__construct0%
getSubqueryInfo0%
__construct0%
getQueryInfo0%
preprocessResults0%
waitForReplication0%
getDBConnection0%
__construct0%
getEventPageFromRow0%
getLastEditTimestamp0%
getStatus0%
getParticipantNoticeRow0%
__construct0%
getHeaderElement0%
getEventQuestionsData0%
addRegistrationHeader0%
getEnableRegistrationHeader0%
maybeAddEnableRegistrationHeader0%
decoratePage0%
purgeEventPageCache0%
getWikiIDString0%
__construct0%
getEventStatusFromDBVal0%
getEventStatusDBVal0%
meetingTypeToDBVal0%
getMeetingTypeFromDBVal0%
syncStatusToDB0%
dbSyncStatusToConst0%
getParticipantsTable0%
__construct0%
getSearchBar0%
equals0%
hasRight0%
__construct0%
getErrorMsgParams0%
getErrorMsgKey0%
__construct0%
__construct0%
__construct0%
getCentralID0%
isNamed0%
__construct0%
getText0%
__construct0%
newFromLocalMediaWikiPage0%
getTableHeaders0%
isValidLocalUsername0%
existsLocally0%
isSitewideBlocked0%
getName0%
newFromLocalUsername0%
__construct0%
__construct0%
__construct0%
__construct0%
__construct0%
getCacheKey0%
getCanonicalUrl0%
getFullUrl0%
getAuthor0%
getLocalUserID0%
__construct0%
__construct0%
getPageIdentity0%
getPrefixedText0%
getNamespace0%
getDBkey0%
getWikiId0%
__construct0%
existsAndIsVisible0%
newPageFromDB0%
newFromAuthority0%
newEmailParticipantsModule0%
getParticipantRows0%
getCurUserParticipantRow0%
getParticipantRow0%
addNonPIIParticipantAnswers0%
getQuestionAnswer0%
newFromUserIdentity0%
getFooter0%
getHeaderControls0%
__construct0%
newEventDetailsModule0%
newEventDetailsParticipantsModule0%
alterForm0%
newResponseStatisticsModule0%
newClickwrapFormModule0%
getEventPageData0%
__construct0%
createContent0%
makeContentWithAggregates0%
makeQuestionCategorySectionContainer0%
makeQuestionCategorySection0%
onLoadExtensionSchemaUpdates0%
makeQuestionSection0%
onPageMoveComplete0%
onBeforeCreateEchoEvent0%
makeAnswerTable0%
validateTimezones20%
getCanonicalPage25%
validateTarget31%
getSuccessResponse33%
getRegistrationForLocalPage50%
isPlaceholderValue50%
validate55%
getRegistrationForPage58%
getQuestionsForHTMLForm62%
run63%
getBodyValidator66%
getBodyValidator66%
userCanEnableRegistration66%
getBodyValidator66%
execute66%
getRevisionFilterConditions70%
userCanEditRegistration71%
removeParticipantsUnsafe73%
updateTrackingTools73%
getArticlesByWiki75%
getUrl77%
newAnswerFromAPI79%
exitWithStatus80%
getOverallBytesScore80%
getEventByPage80%
getSuccessResponse81%
getQuestionAnswer81%
checkOrganizerNotRemovingTheCreator82%
newAnswerFromHTMLForm82%
getUser83%
getUserBatch83%
getRegistry85%
makeErrorStatus86%
saveRegistration87%
getBodyValidator87%
getBodyValidator87%
execute87%
loadDataForBatch87%
doEditUnsafe88%
getEventByID88%
isValidURL88%
deleteAllAnswers88%
newEvent89%

Project Risks

Method CRAP
getFormFields756
onSubmit462
execute240
getUserStatus182
getDetailsDialogLocation182
createContent182
validateMeetingInfo182
formatValue132
getLocationSection132
getParticipantRow110
getDetailsDialogChat72
getActionElement72
getInfoColumn72
getTableHeaders72
makeAnswerTable56
addParticipantQuestionFields56
getParticipantRows56
execute56
getTrackingToolsSection56
getEventQuestionsData56
getTimezone42
addNonPIIParticipantAnswers42
execute42
getTypeBodySection42
validateTarget35
alterForm30
createContent30
getSubqueryInfo30
makeContentWithAggregates30
getPrimaryHeader30
getMeetingTypeMsg30
execute30
getAuthor30
getFooter30
getConfiguredPEDashboardData30
execute30
getEventInfoHeaderRow30
getCanonicalUrl30
getParticipantQuestionsFields30
validateParticipantQuestions20
getHeaderControls20
parseSubmittedTimezone20
decoratePage20
getCellAttrs20
preprocessResults20
getFullUrl20
getQuestionOptionsForStats20
getDetailsDialogParticipants20
getLimitSelectList20
gerOrganizersBodySection20
getForm20
getOrganizerUsernames20
getCanonicalPage15
doEditUnsafe15
getQuestionsForHTMLForm15
newAnswerFromHTMLForm12
validateTimezones12
newEvent12
newAnswerFromAPI12
getQuestionAnswer12
getMeetingTypeFromDBVal12
dbIDToName12
isHeaderRowNeeded12
getNavigationBar12
canRender12
__construct12
__construct12
getFromAndReplyTo12
validateSender12
getParticipantRows12
generateUserLinkWithFallback12
getQuestionLabelForStats12
meetingTypeToDBVal12
getRow12
getDetailsDialogOrganizers12
showFormAndEvents12
getOrganizersColumn12
getHeader12
getParticipantRow12
checkRegistrationPrecondition12
showFormAndEvents12
onSuccess12
onSuccess12
newPageFromDB12
getParticipantNoticeRow12
getFormFields12
addRegistrationHeader12
alterForm12
onSubmit12
notifyRegistration12
getArticlesByWiki11
loadDataForBatch11
run11
isPlaceholderValue10
makeErrorStatus10
isValidURL10
execute8
getRegistrationForPage8
deleteAllAnswers7
getWikiIDString6
getQueryInfo6
getEventPageFromRow6
syncStatusToDB6
dbSyncStatusToConst6
preloadUserLinks6
addEntry6
makeQuestionCategorySection6
getText6
existsAndIsVisible6
newFromLocalUsername6
newFromUserIdentity6
getEventPageData6
onPageMoveComplete6
makeQuestionSection6
getEmptyStateElement6
__construct6
processInput6
getHeaderElement6
maybeAddEnableRegistrationHeader6
purgeEventPageCache6
getEventStatusFromDBVal6
getEventStatusDBVal6
getRegistrationForLocalPage6
getDBConnection6
isSitewideBlocked6
newFromLocalMediaWikiPage6
getSubqueryInfo6
getSecondaryLinks6
getHeaderMessage6
run6
getCacheKey6
getMessageWithFooter6
getRevisionFilterConditions5
getSuccessResponse5
removeParticipantsUnsafe5
checkOrganizerNotRemovingTheCreator5
getUserBatch5
userCanEnableRegistration4
userCanEditRegistration4
getUrl4
getOverallBytesScore4
execute4
saveRegistration4
validate3
getEventByPage3
getQuestionAnswer3
getUser3
getRegistry3
getEventByID3
getBodyValidator2
getBodyValidator2
getBodyValidator2
updateTrackingTools2
exitWithStatus2
getSuccessResponse2
getBodyValidator2
getBodyValidator2