Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\CampaignEvents\Database\CampaignsDatabaseHelper0%
MediaWiki\Extension\CampaignEvents\Questions\InvalidAnswerDataException0%
MediaWiki\Extension\CampaignEvents\MWEntity\UnexpectedSectionAnchorException0%
MediaWiki\Extension\CampaignEvents\MWEntity\UnexpectedVirtualNamespaceException0%
MediaWiki\Extension\CampaignEvents\MWEntity\UserLinker0%
MediaWiki\Extension\CampaignEvents\Messaging\EmailUsersJob0%
MediaWiki\Extension\CampaignEvents\Notifications\RegistrationNotificationPresentationModel0%
MediaWiki\Extension\CampaignEvents\Notifications\UserNotifier0%
MediaWiki\Extension\CampaignEvents\Organizers\Organizer0%
MediaWiki\Extension\CampaignEvents\Pager\EventsPagerFactory0%
MediaWiki\Extension\CampaignEvents\Pager\EventsTablePager0%
MediaWiki\Extension\CampaignEvents\Pager\InvitationsListPager0%
MediaWiki\Extension\CampaignEvents\Participants\Participant0%
MediaWiki\Extension\CampaignEvents\Questions\Answer0%
MediaWiki\Extension\CampaignEvents\Questions\EventAggregatedAnswers0%
MediaWiki\Extension\CampaignEvents\Special\ChangeRegistrationSpecialPageBase0%
MediaWiki\Extension\CampaignEvents\MWEntity\PageNotFoundException0%
MediaWiki\Extension\CampaignEvents\Special\SpecialAllEvents0%
MediaWiki\Extension\CampaignEvents\Special\SpecialCancelEventRegistration0%
MediaWiki\Extension\CampaignEvents\Special\SpecialDeleteEventRegistration0%
MediaWiki\Extension\CampaignEvents\Special\SpecialEditEventRegistration0%
MediaWiki\Extension\CampaignEvents\Special\SpecialEnableEventRegistration0%
MediaWiki\Extension\CampaignEvents\Special\SpecialEventDetails0%
MediaWiki\Extension\CampaignEvents\Special\SpecialGenerateInvitationList0%
MediaWiki\Extension\CampaignEvents\Special\SpecialInvitationList0%
MediaWiki\Extension\CampaignEvents\Special\SpecialMyEvents0%
MediaWiki\Extension\CampaignEvents\Special\SpecialMyInvitationLists0%
MediaWiki\Extension\CampaignEvents\Special\SpecialRegisterForEvent0%
MediaWiki\Extension\CampaignEvents\TrackingTool\InvalidToolURLException0%
MediaWiki\Extension\CampaignEvents\Widget\TextWithIconWidget0%
MediaWiki\Extension\CampaignEvents\Pager\EventPagerTrait0%
MediaWiki\Extension\CampaignEvents\MWEntity\UnexpectedInterwikiException0%
MediaWiki\Extension\CampaignEvents\MWEntity\UserNotGlobalException0%
MediaWiki\Extension\CampaignEvents\MWEntity\PageAuthorLookup0%
MediaWiki\Extension\CampaignEvents\Hooks\ResourceLoaderCallbacks0%
MediaWiki\Extension\CampaignEvents\Event\ExistingEventRegistration0%
MediaWiki\Extension\CampaignEvents\Event\InvalidEventDataException0%
MediaWiki\Extension\CampaignEvents\EventPage\EventPageDecorator0%
MediaWiki\Extension\CampaignEvents\EventPage\EventPageDecoratorFactory0%
MediaWiki\Extension\CampaignEvents\Formatters\EventFormatter0%
MediaWiki\Extension\CampaignEvents\FrontendModules\ClickwrapFormModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\EmailParticipantsModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsParticipantsModule0%
MediaWiki\Extension\CampaignEvents\FrontendModules\FrontendModulesFactory0%
MediaWiki\Extension\CampaignEvents\FrontendModules\ResponseStatisticsModule0%
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\EchoHooksHandler0%
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\GetPreferencesHandler0%
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\SchemaChangesHandler0%
MediaWiki\Extension\CampaignEvents\Special\InvitationFeatureAccessTrait0%
MediaWiki\Extension\CampaignEvents\MWEntity\CentralUser0%
MediaWiki\Extension\CampaignEvents\MWEntity\CentralUserNotFoundException0%
MediaWiki\Extension\CampaignEvents\Invitation\InvitationList0%
MediaWiki\Extension\CampaignEvents\Invitation\InvitationListNotFoundException0%
MediaWiki\Extension\CampaignEvents\MWEntity\InvalidTitleStringException0%
MediaWiki\Extension\CampaignEvents\MWEntity\MWPageProxy0%
MediaWiki\Extension\CampaignEvents\MWEntity\MWAuthorityProxy0%
MediaWiki\Extension\CampaignEvents\MWEntity\HiddenCentralUserException0%
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFormatter0%
MediaWiki\Extension\CampaignEvents\Special\AbstractEventRegistrationSpecialPage0%
MediaWiki\Extension\CampaignEvents\Pager\EventsListPager8%
MediaWiki\Extension\CampaignEvents\MWEntity\PageURLResolver22%
MediaWiki\Extension\CampaignEvents\Messaging\CampaignsUserMailer36%
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\PageMoveAndDeleteHandler40%
MediaWiki\Extension\CampaignEvents\EventPage\EventPageCacheUpdater42%
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolRegistry54%
MediaWiki\Extension\CampaignEvents\PolicyMessagesLookup57%
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsCentralUserLookup61%
MediaWiki\Extension\CampaignEvents\Time\EventTimeFormatter62%
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFactory64%
MediaWiki\Extension\CampaignEvents\Rest\FailStatusUtilTrait75%
MediaWiki\Extension\CampaignEvents\Rest\EmailUsersHandler80%
MediaWiki\Extension\CampaignEvents\Event\EventFactory80%
MediaWiki\Extension\CampaignEvents\Permissions\PermissionChecker85%
MediaWiki\Extension\CampaignEvents\Questions\EventQuestionsRegistry86%
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolUpdater86%
MediaWiki\Extension\CampaignEvents\Invitation\PotentialInviteesFinder87%
MediaWiki\Extension\CampaignEvents\Rest\UpdateEventRegistrationHandler88%
MediaWiki\Extension\CampaignEvents\Event\Store\EventStore88%

Project Risks

Class CRAP
MediaWiki\Extension\CampaignEvents\EventPage\EventPageDecorator9312
MediaWiki\Extension\CampaignEvents\Special\AbstractEventRegistrationSpecialPage9256
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsParticipantsModule4290
MediaWiki\Extension\CampaignEvents\FrontendModules\EventDetailsModule3422
MediaWiki\Extension\CampaignEvents\Pager\EventsListPager2763
MediaWiki\Extension\CampaignEvents\Pager\EventsTablePager812
MediaWiki\Extension\CampaignEvents\Special\SpecialRegisterForEvent812
MediaWiki\Extension\CampaignEvents\Notifications\RegistrationNotificationPresentationModel600
MediaWiki\Extension\CampaignEvents\FrontendModules\ResponseStatisticsModule552
MediaWiki\Extension\CampaignEvents\Special\SpecialInvitationList462
MediaWiki\Extension\CampaignEvents\Special\SpecialEventDetails420
MediaWiki\Extension\CampaignEvents\Special\ChangeRegistrationSpecialPageBase272
MediaWiki\Extension\CampaignEvents\Special\SpecialGenerateInvitationList272
MediaWiki\Extension\CampaignEvents\Messaging\CampaignsUserMailer212
MediaWiki\Extension\CampaignEvents\Special\SpecialDeleteEventRegistration210
MediaWiki\Extension\CampaignEvents\MWEntity\PageURLResolver133
MediaWiki\Extension\CampaignEvents\Special\SpecialEditEventRegistration132
MediaWiki\Extension\CampaignEvents\Event\EventFactory125
MediaWiki\Extension\CampaignEvents\Questions\EventQuestionsRegistry123
MediaWiki\Extension\CampaignEvents\Pager\EventPagerTrait110
MediaWiki\Extension\CampaignEvents\Special\SpecialCancelEventRegistration110
MediaWiki\Extension\CampaignEvents\Pager\InvitationsListPager110
MediaWiki\Extension\CampaignEvents\Special\SpecialAllEvents110
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolRegistry102
MediaWiki\Extension\CampaignEvents\MWEntity\UserLinker72
MediaWiki\Extension\CampaignEvents\Invitation\PotentialInviteesFinder57
MediaWiki\Extension\CampaignEvents\MWEntity\MWAuthorityProxy56
MediaWiki\Extension\CampaignEvents\Event\Store\EventStore53
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsCentralUserLookup45
MediaWiki\Extension\CampaignEvents\MWEntity\PageAuthorLookup42
MediaWiki\Extension\CampaignEvents\Special\SpecialMyEvents42
MediaWiki\Extension\CampaignEvents\Permissions\PermissionChecker39
MediaWiki\Extension\CampaignEvents\FrontendModules\ClickwrapFormModule30
MediaWiki\Extension\CampaignEvents\Formatters\EventFormatter30
MediaWiki\Extension\CampaignEvents\Messaging\EmailUsersJob30
MediaWiki\Extension\CampaignEvents\Hooks\Handlers\PageMoveAndDeleteHandler21
MediaWiki\Extension\CampaignEvents\Questions\EventAggregatedAnswers20
MediaWiki\Extension\CampaignEvents\Notifications\UserNotifier20
MediaWiki\Extension\CampaignEvents\Special\SpecialMyInvitationLists20
MediaWiki\Extension\CampaignEvents\TrackingTool\TrackingToolUpdater19
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFactory18
MediaWiki\Extension\CampaignEvents\Time\EventTimeFormatter17
MediaWiki\Extension\CampaignEvents\Rest\UpdateEventRegistrationHandler15
MediaWiki\Extension\CampaignEvents\Rest\EmailUsersHandler13
MediaWiki\Extension\CampaignEvents\Widget\TextWithIconWidget12
MediaWiki\Extension\CampaignEvents\Database\CampaignsDatabaseHelper12
MediaWiki\Extension\CampaignEvents\MWEntity\CampaignsPageFormatter12
MediaWiki\Extension\CampaignEvents\Special\InvitationFeatureAccessTrait12
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
__construct0%
getOption0%
dbIDToName0%
getQuestionOptionsForStats0%
getQuestionLabelForStats0%
__construct0%
getData0%
getQuestionData0%
addEntry0%
getText0%
getQuestionDBID0%
getQuestionName0%
__construct0%
getPolicyMessageForRegistrationForm0%
userCanViewSensitiveEventData0%
getAggregationTimestamp0%
getFirstAnswerTimestamp0%
getAnswers0%
isPrivateRegistration0%
getParticipantID0%
__construct0%
__construct0%
getUser0%
getGroupName0%
getGroupName0%
getDisplayFormat0%
checkEventIsValid0%
checkRegistrationPrecondition0%
execute0%
__construct0%
getMessagePrefix0%
doesWrites0%
getDisplayFormat0%
execute0%
onSuccess0%
getOrganizerUsernames0%
getTimezone0%
onSubmit0%
parseSubmittedTimezone0%
alterForm0%
getParticipantQuestionsFields0%
getFormFields0%
outputErrorBox0%
getRegisteredAt0%
__construct0%
getMessagePrefix0%
getIndexField0%
buildQueryInfo0%
getSubqueryInfo0%
offsetTimestamp0%
getDayFromTimestamp0%
getMonthHeader0%
getYearFromTimestamp0%
getMeetingTypeMsg0%
getNavigationBar0%
getOrganizersText0%
getWikiList0%
formatRow0%
isHeaderRowNeeded0%
getLimitSelectList0%
getDBConnection0%
doExtraPreprocessing0%
getClickwrapAcceptance0%
getOrganizerID0%
hasRole0%
getRoles0%
getDateRangeCond0%
getWikiListWidget0%
getInfoChip0%
getModuleStyles0%
getStartBody0%
getEmptyBody0%
getIndexField0%
getQueryInfo0%
formatRow0%
__construct0%
getSubqueryInfo0%
getModules0%
getCellAttrs0%
__construct0%
getTableClass0%
isFieldSortable0%
getDefaultSort0%
getIndexField0%
getFieldNames0%
formatValue0%
__construct0%
newListPager0%
newTablePager0%
doesWrites0%
checkEventExists0%
__construct0%
showFormAndEvents0%
addParticipantQuestionFields0%
getFormFields0%
getForm0%
__construct0%
getGroupName0%
execute0%
__construct0%
getGroupName0%
execute0%
onSubmit0%
__construct0%
getUserLinks0%
splitUsersByScore0%
getWorklistLinks0%
displayList0%
maybeDisplayList0%
execute0%
__construct0%
alterForm0%
onSuccess0%
getGroupName0%
syncStatusToDB0%
getEventPageFromRow0%
doExtraPreprocessing0%
preprocessResults0%
getQueryInfo0%
getSubqueryInfo0%
__construct0%
getWikiIDString0%
dbSyncStatusToConst0%
__construct0%
getShowAlways0%
getConfiguredPEDashboardData0%
__construct0%
logToolFailure0%
getExpectedBaseURL0%
__construct0%
wrapTimeZoneForConversion0%
wrapRangeForConversion0%
__construct0%
checkEventIsValid0%
doesWrites0%
getDisplayFormat0%
__construct0%
requiresUnblock0%
onSuccess0%
onSubmit0%
alterForm0%
getFormFields0%
userCanExecute0%
execute0%
__construct0%
checkEventIsValid0%
onSuccess0%
getGroupName0%
onSubmit0%
alterForm0%
getFormFields0%
checkRegistrationPrecondition0%
__construct0%
formatDate0%
getGroupName0%
getFormAndEvents0%
execute0%
getDisplayFormat0%
doesWrites0%
makePageMapFromInput0%
createTab0%
onSuccess0%
onSubmit0%
alterForm0%
getFormFields0%
execute0%
__construct0%
getGroupName0%
doesWrites0%
outputErrorBox0%
__construct0%
execute0%
__construct0%
getValidationFlags0%
getFormMessages0%
__construct0%
getShowAlways0%
getValidationFlags0%
execute0%
getFormMessages0%
getUser0%
getRow0%
notifyRegistration0%
getTrackingToolsSection0%
getSearchBar0%
getEmptyStateElement0%
getParticipantsTable0%
getPrimaryHeader0%
createContent0%
__construct0%
makeSection0%
getFooter0%
getLocationSection0%
getParticipantRows0%
getEventWikisSection0%
getOrganizersColumn0%
getNeedsToRegisterMsg0%
getInfoColumn0%
getNonLocalWikiMessage0%
getHeader0%
createContent0%
__construct0%
getEmailForm0%
getTableHeaders0%
getCurUserParticipantRow0%
__construct0%
__construct0%
onPageMoveComplete0%
__construct0%
onBeforeCreateEchoEvent0%
makeAnswerTable0%
makeQuestionSection0%
makeQuestionCategorySection0%
makeQuestionCategorySectionContainer0%
makeContentWithAggregates0%
createContent0%
newClickwrapFormModule0%
getParticipantRow0%
newResponseStatisticsModule0%
newEmailParticipantsModule0%
newEventDetailsParticipantsModule0%
newEventDetailsModule0%
__construct0%
getHeaderControls0%
getFooter0%
getQuestionAnswer0%
addNonPIIParticipantAnswers0%
createContent0%
processInput0%
getEventPageData0%
getMeetingTypeFromDBVal0%
getEnableRegistrationHeader0%
maybeAddEnableRegistrationHeader0%
decoratePage0%
__construct0%
purgeEventPageCache0%
__construct0%
getEventStatusFromDBVal0%
getEventStatusDBVal0%
meetingTypeToDBVal0%
getStatus0%
getEventQuestionsData0%
__construct0%
getLastEditTimestamp0%
getCreationTimestamp0%
getID0%
__construct0%
isOnLocalWiki0%
getParticipantQuestions0%
validateParticipantQuestions0%
validateMeetingInfo0%
addRegistrationHeader0%
getHeaderElement0%
createForm0%
getUserStatus0%
createContent0%
__construct0%
formatWikis0%
newDecorator0%
__construct0%
getDetailsDialogWikis0%
makeDetailsDialogSection0%
getParticipantRow0%
getParticipantFooter0%
getActionElement0%
getParticipantNoticeRow0%
getParticipantRows0%
getDetailsDialogParticipants0%
getDetailsDialogChat0%
getDetailsDialogLocation0%
getDetailsDialogDates0%
getDetailsDialogEventInfo0%
getDetailsDialogOrganizers0%
getDetailsDialogContent0%
getEventInfoHeaderRow0%
onLoadExtensionSchemaUpdates0%
onGetPreferences0%
__construct0%
getAuthor0%
__construct0%
__construct0%
__construct0%
__construct0%
getCacheKey0%
getCanonicalUrl0%
getFullUrl0%
__construct0%
__construct0%
generateUserLinkWithFallback0%
getPageIdentity0%
getPrefixedText0%
getNamespace0%
getDBkey0%
getWikiId0%
getListID0%
getLocalUserID0%
getName0%
isNamed0%
generateUserLink0%
getUserPagePath0%
hasRight0%
getSubjectMessage0%
makeLink0%
getSecondaryLinks0%
getPrimaryLink0%
gerOrganizersBodySection0%
getTypeBodySection0%
getDatesBodySection0%
getBodyMessage0%
getHeaderMessage0%
getIconType0%
preloadUserLinks0%
canRender0%
__construct0%
run0%
__construct0%
getFromAndReplyTo0%
validateSender0%
getMessageWithFooter0%
__construct0%
__construct0%
isSitewideBlocked0%
__construct0%
__construct0%
newPageFromDB0%
getName0%
getEventID0%
getStatus0%
getCreator0%
getWiki0%
getCreationTime0%
__construct0%
getErrorMsgParams0%
newFromUserIdentity0%
newFromAuthority0%
newFromLocalUsername0%
existsAndIsVisible0%
existsLocally0%
isValidLocalUsername0%
checkInvitationFeatureAccess0%
__construct0%
getText0%
equals0%
__construct0%
getCentralID0%
__construct0%
getErrorMsgKey0%
newFromLocalMediaWikiPage0%
__construct0%
__construct0%
getSuccessResponse33%
validateTarget33%
isPlaceholderValue50%
getQuestionsForHTMLForm62%
run63%
userCanEnableRegistration66%
execute66%
getRevisionFilterConditions70%
userCanEditRegistration72%
updateTrackingTools73%
removeParticipantsUnsafe75%
exitWithStatus75%
getUrl77%
newAnswerFromAPI79%
getOverallBytesScore80%
generate80%
getSuccessResponse81%
getQuestionAnswer81%
getEventByPage82%
checkOrganizerNotRemovingTheCreator82%
newAnswerFromHTMLForm82%
getUserBatch83%
getUser83%
__construct85%
getRegistry85%
makeErrorStatus86%
getAllRevisionsForWiki86%
saveRegistration87%
doEditUnsafe88%
isValidURL88%
deleteAllAnswers88%

Project Risks

Method CRAP
getFormFields1056
onSubmit600
getLocationSection272
execute240
createContent240
getInfoColumn210
validateMeetingInfo182
getUserStatus182
getDetailsDialogLocation182
formatValue132
getParticipantRow110
getDetailsDialogChat90
getTableHeaders72
getActionElement72
execute56
getTrackingToolsSection56
makeAnswerTable56
getParticipantRows56
buildQueryInfo56
addParticipantQuestionFields56
getEventQuestionsData56
addNonPIIParticipantAnswers42
getTypeBodySection42
doExtraPreprocessing42
getOrganizersText42
execute42
getTimezone42
execute42
validateTarget33
getPrimaryHeader30
makeContentWithAggregates30
createContent30
getFooter30
getEventInfoHeaderRow30
maybeDisplayList30
getConfiguredPEDashboardData30
alterForm30
getMeetingTypeMsg30
getEventWikisSection30
getFormAndEvents30
getAuthor30
getParticipantQuestionsFields30
execute30
formatWikis30
getCanonicalUrl30
getSubqueryInfo30
getSubqueryInfo20
getFullUrl20
getCellAttrs20
getQuestionOptionsForStats20
parseSubmittedTimezone20
getLimitSelectList20
getDateRangeCond20
gerOrganizersBodySection20
getOrganizerUsernames20
displayList20
preprocessResults20
validateParticipantQuestions20
getForm20
decoratePage20
getHeaderControls20
splitUsersByScore20
addRegistrationHeader20
onSubmit20
getDetailsDialogParticipants20
doEditUnsafe15
getQuestionsForHTMLForm15
getAllRevisionsForWiki14
newAnswerFromHTMLForm12
newAnswerFromAPI12
dbIDToName12
onSuccess12
onSuccess12
__construct12
isHeaderRowNeeded12
checkEventExists12
getNavigationBar12
checkEventIsValid12
getWikiList12
onSubmit12
alterForm12
getFormFields12
getQuestionLabelForStats12
getWikiListWidget12
checkRegistrationPrecondition12
showFormAndEvents12
getUserLinks12
getInfoChip12
getRow12
checkInvitationFeatureAccess12
notifyRegistration12
getMeetingTypeFromDBVal12
getQuestionAnswer12
getNonLocalWikiMessage12
getHeader12
createContent12
getParticipantRow12
getDetailsDialogOrganizers12
getParticipantNoticeRow12
newPageFromDB12
getOrganizersColumn12
meetingTypeToDBVal12
getParticipantRows12
canRender12
generateUserLinkWithFallback12
__construct12
getFromAndReplyTo12
validateSender12
getMessageWithFooter12
run11
isPlaceholderValue10
makeErrorStatus10
isValidURL10
execute8
deleteAllAnswers7
userCanEditRegistration6
getHeaderElement6
getFormFields6
getEventPageFromRow6
formatDate6
getQueryInfo6
syncStatusToDB6
getWikiIDString6
processInput6
execute6
onSuccess6
getEventStatusDBVal6
dbSyncStatusToConst6
execute6
getDetailsDialogEventInfo6
getEventStatusFromDBVal6
purgeEventPageCache6
getWorklistLinks6
execute6
maybeAddEnableRegistrationHeader6
makeQuestionSection6
getEmptyStateElement6
existsAndIsVisible6
getHeaderMessage6
formatRow6
run6
preloadUserLinks6
getCacheKey6
__construct6
getStartBody6
makeQuestionCategorySection6
isSitewideBlocked6
getText6
newFromLocalMediaWikiPage6
addEntry6
newFromLocalUsername6
newFromUserIdentity6
getSecondaryLinks6
onPageMoveComplete6
getEventPageData6
getDBConnection6
getSuccessResponse5
getRevisionFilterConditions5
checkOrganizerNotRemovingTheCreator5
getUserBatch5
userCanEnableRegistration4
removeParticipantsUnsafe4
getUrl4
generate4
getOverallBytesScore4
saveRegistration4
getEventByPage3
getQuestionAnswer3
getUser3
getRegistry3
updateTrackingTools2
exitWithStatus2
getSuccessResponse2