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
checkInvitationFeatureAccess0%
getQuestionDBID0%
getQuestionOptionsForStats0%
getQuestionLabelForStats0%
__construct0%
getData0%
getQuestionData0%
addEntry0%
getText0%
getOption0%
__construct0%
__construct0%
getPolicyMessageForRegistrationForm0%
userCanViewSensitiveEventData0%
getAggregationTimestamp0%
getFirstAnswerTimestamp0%
getAnswers0%
isPrivateRegistration0%
getParticipantID0%
getRegisteredAt0%
dbIDToName0%
getQuestionName0%
__construct0%
getDisplayFormat0%
getDisplayFormat0%
checkEventIsValid0%
checkRegistrationPrecondition0%
execute0%
__construct0%
getMessagePrefix0%
doesWrites0%
getGroupName0%
onSuccess0%
__construct0%
getOrganizerUsernames0%
getTimezone0%
onSubmit0%
parseSubmittedTimezone0%
alterForm0%
getParticipantQuestionsFields0%
getFormFields0%
outputErrorBox0%
execute0%
getUser0%
getInfoChip0%
doesWrites0%
getOrganizersText0%
getSubqueryInfo0%
offsetTimestamp0%
getDayFromTimestamp0%
getMonthHeader0%
getYearFromTimestamp0%
getMeetingTypeMsg0%
getNavigationBar0%
getIndexField0%
formatRow0%
getDateRangeCond0%
isHeaderRowNeeded0%
getLimitSelectList0%
getRow0%
getClickwrapAcceptance0%
getOrganizerID0%
hasRole0%
getRoles0%
getUser0%
__construct0%
buildQueryInfo0%
getWikiList0%
getStartBody0%
getCellAttrs0%
getEmptyBody0%
getIndexField0%
getQueryInfo0%
formatRow0%
__construct0%
getSubqueryInfo0%
getModules0%
getModuleStyles0%
getTableClass0%
getWikiListWidget0%
isFieldSortable0%
getDefaultSort0%
getIndexField0%
getFieldNames0%
formatValue0%
__construct0%
newListPager0%
newTablePager0%
__construct0%
getGroupName0%
getMessagePrefix0%
__construct0%
showFormAndEvents0%
addParticipantQuestionFields0%
getFormFields0%
getForm0%
__construct0%
getGroupName0%
execute0%
__construct0%
getGroupName0%
execute0%
onSubmit0%
__construct0%
getUserLinks0%
splitUsersByScore0%
getWorklistLinks0%
displayList0%
maybeDisplayList0%
execute0%
__construct0%
doesWrites0%
alterForm0%
onSuccess0%
getDisplayFormat0%
syncStatusToDB0%
getEventPageFromRow0%
doExtraPreprocessing0%
preprocessResults0%
getQueryInfo0%
getSubqueryInfo0%
__construct0%
getWikiIDString0%
dbSyncStatusToConst0%
__construct0%
getShowAlways0%
getConfiguredPEDashboardData0%
__construct0%
logToolFailure0%
getExpectedBaseURL0%
__construct0%
wrapTimeZoneForConversion0%
wrapRangeForConversion0%
__construct0%
checkEventIsValid0%
getGroupName0%
makePageMapFromInput0%
checkEventExists0%
onSuccess0%
onSubmit0%
alterForm0%
getFormFields0%
userCanExecute0%
execute0%
__construct0%
checkEventIsValid0%
requiresUnblock0%
onSubmit0%
getDisplayFormat0%
alterForm0%
getFormFields0%
checkRegistrationPrecondition0%
__construct0%
formatDate0%
getGroupName0%
getFormAndEvents0%
execute0%
__construct0%
onSuccess0%
getGroupName0%
onSuccess0%
outputErrorBox0%
onSubmit0%
alterForm0%
getFormFields0%
execute0%
__construct0%
getGroupName0%
doesWrites0%
createTab0%
execute0%
doesWrites0%
__construct0%
getValidationFlags0%
getFormMessages0%
__construct0%
getShowAlways0%
getValidationFlags0%
execute0%
getFormMessages0%
__construct0%
notifyRegistration0%
doExtraPreprocessing0%
makeLink0%
getEventWikisSection0%
getEmptyStateElement0%
getParticipantsTable0%
getPrimaryHeader0%
createContent0%
__construct0%
makeSection0%
getFooter0%
getTrackingToolsSection0%
getLocationSection0%
getOrganizersColumn0%
getTableHeaders0%
getNeedsToRegisterMsg0%
getInfoColumn0%
getNonLocalWikiMessage0%
getHeader0%
createContent0%
__construct0%
getEmailForm0%
createContent0%
__construct0%
getSearchBar0%
getParticipantRows0%
createForm0%
newClickwrapFormModule0%
onGetPreferences0%
onBeforeCreateEchoEvent0%
getSecondaryLinks0%
makeQuestionSection0%
makeQuestionCategorySection0%
makeQuestionCategorySectionContainer0%
makeContentWithAggregates0%
createContent0%
__construct0%
newResponseStatisticsModule0%
getCurUserParticipantRow0%
newEmailParticipantsModule0%
newEventDetailsParticipantsModule0%
newEventDetailsModule0%
__construct0%
getHeaderControls0%
getFooter0%
getQuestionAnswer0%
addNonPIIParticipantAnswers0%
getParticipantRow0%
processInput0%
createContent0%
onLoadExtensionSchemaUpdates0%
__construct0%
decoratePage0%
__construct0%
purgeEventPageCache0%
__construct0%
getEventStatusFromDBVal0%
getEventStatusDBVal0%
meetingTypeToDBVal0%
getMeetingTypeFromDBVal0%
getStatus0%
getLastEditTimestamp0%
getEnableRegistrationHeader0%
getCreationTimestamp0%
getID0%
__construct0%
isOnLocalWiki0%
getParticipantQuestions0%
validateParticipantQuestions0%
validateMeetingInfo0%
getDBConnection0%
__construct0%
maybeAddEnableRegistrationHeader0%
addRegistrationHeader0%
__construct0%
getParticipantRows0%
formatWikis0%
newDecorator0%
__construct0%
getDetailsDialogWikis0%
makeDetailsDialogSection0%
getParticipantRow0%
getParticipantFooter0%
getUserStatus0%
getActionElement0%
getDetailsDialogParticipants0%
getEventQuestionsData0%
getDetailsDialogChat0%
getDetailsDialogLocation0%
getDetailsDialogDates0%
getDetailsDialogEventInfo0%
getDetailsDialogOrganizers0%
getDetailsDialogContent0%
getEventInfoHeaderRow0%
getParticipantNoticeRow0%
getHeaderElement0%
onPageMoveComplete0%
makeAnswerTable0%
getEventPageData0%
getPageIdentity0%
__construct0%
__construct0%
getCacheKey0%
getCanonicalUrl0%
getFullUrl0%
__construct0%
getAuthor0%
__construct0%
getPrefixedText0%
__construct0%
getNamespace0%
getDBkey0%
getWikiId0%
__construct0%
__construct0%
getName0%
isNamed0%
isSitewideBlocked0%
hasRight0%
__construct0%
generateUserLink0%
getErrorMsgParams0%
canRender0%
getPrimaryLink0%
gerOrganizersBodySection0%
getTypeBodySection0%
getDatesBodySection0%
getBodyMessage0%
getHeaderMessage0%
getSubjectMessage0%
getIconType0%
__construct0%
generateUserLinkWithFallback0%
run0%
__construct0%
getFromAndReplyTo0%
validateSender0%
getMessageWithFooter0%
__construct0%
__construct0%
preloadUserLinks0%
getUserPagePath0%
__construct0%
getLocalUserID0%
getErrorMsgKey0%
existsLocally0%
getCreationTime0%
getWiki0%
getCreator0%
getStatus0%
getEventID0%
__construct0%
getName0%
getListID0%
newFromUserIdentity0%
__construct0%
newFromLocalUsername0%
existsAndIsVisible0%
newFromAuthority0%
isValidLocalUsername0%
newPageFromDB0%
__construct0%
__construct0%
newFromLocalMediaWikiPage0%
__construct0%
equals0%
getCentralID0%
getText0%
__construct0%
validateTimezones20%
validateTarget33%
getSuccessResponse33%
isPlaceholderValue50%
getQuestionsForHTMLForm62%
run63%
userCanEnableRegistration66%
execute66%
getRevisionFilterConditions70%
userCanEditRegistration72%
updateTrackingTools73%
removeParticipantsUnsafe75%
exitWithStatus75%
getUrl77%
newAnswerFromAPI79%
generate80%
getOverallBytesScore80%
getSuccessResponse81%
getQuestionAnswer81%
getEventByPage82%
checkOrganizerNotRemovingTheCreator82%
newAnswerFromHTMLForm82%
getUser83%
getUserBatch83%
__construct85%
getRegistry85%
makeErrorStatus86%
getAllRevisionsForWiki86%
getArticlesByWiki87%
saveRegistration87%
loadDataForBatch87%
doEditUnsafe88%
isValidURL88%
deleteAllAnswers88%

Project Risks

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