Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
filterAndAllocate0%
getAllUsedCategories0%
sanitizeRenderedCategory0%
getCampaignNames0%
getIncludedTemplates0%
getMessageField0%
getMessageFieldsFromCache0%
invalidateCache0%
getMessageFieldsCacheKey0%
extractMessageFields0%
getAvailableLanguages0%
archive0%
cloneBanner0%
addTag0%
removeTag0%
getCampaignBanners0%
getHistoricalBanner0%
getMessageFieldForBanner0%
__construct0%
getTitle0%
getDbKey0%
existsInLang0%
getContents0%
toHtml0%
update0%
sanitize0%
__construct0%
getKeys0%
getDefinitions0%
isUsingGroupReview0%
getTranslateGroupName0%
updateBannerGroupStateHook0%
getMessageGroupStates0%
registerGroupHook0%
getLanguagesInState0%
__construct0%
linkToBanner0%
getPreviewLink0%
toHtml0%
getPreloadJs0%
getPreloadJsRaw0%
getResourceLoaderHtml0%
substituteMagicWords0%
getMagicWords0%
renderMagicWord0%
getFromApi0%
getScript0%
getDependencies0%
getDefinitionSummary0%
__construct0%
getRegions0%
setRegions0%
getName0%
setName0%
getPrimaryDb0%
getReplicaDb0%
onLoadExtensionSchemaUpdates0%
doOnSchemaUpdatesPopulateKnownDevices0%
getAvailableDevices0%
getDevicesAssociatedWithBanner0%
addDeviceTarget0%
__construct0%
getId0%
getName0%
getStartTime0%
getEndTime0%
getPriority0%
isEnabled0%
isLocked0%
isArchived0%
isGeotargeted0%
getBuckets0%
loadBasicSettings0%
getActiveCampaignsAndBanners0%
updateCampaignMixins0%
getAllCampaignNames0%
getNoticeName0%
setBooleanCampaignSetting0%
setNumericCampaignSetting0%
updateWeight0%
updateProjects0%
updateProjectLanguages0%
updateCountries0%
updateRegions0%
setType0%
campaignLogs0%
__construct0%
changes0%
getTypes0%
getById0%
ensureTypes0%
__construct0%
doUpdate0%
__construct0%
onRegistration0%
addCascadingRestrictionRight0%
initCentralNotice0%
onCanonicalNamespaces0%
onBeforePageDisplay0%
onMakeGlobalVariablesScript0%
onSiteNoticeAfter0%
onResourceLoaderGetConfigVars0%
onResourceLoaderRegisterModules0%
onChangeTagsListActive0%
onListDefinedTags0%
addDefinedTags0%
onGetPreferences0%
onPreferencesGetIcon0%
onSkinTemplateNavigation__Universal0%
getCountriesList0%
getRegionsList0%
makeUniqueRegionCode0%
validate0%
getInputHTML0%
getDiv0%
__construct0%
validate0%
getInputHTML0%
__construct0%
getContext0%
getMagicWords0%
loadPhp0%
getPreloadJsSnippets0%
getResourceLoaderModules0%
registerMagicWord0%
renderMagicWord0%
__construct0%
__construct0%
onUserMergeAccountFields0%
__construct0%
execute0%
getAllowedParams0%
needsToken0%
getExamplesMessages0%
getExamplesMessages0%
execute0%
getAllowedParams0%
getExamplesMessages0%
sanitizeText0%
__construct0%
execute0%
getAllowedParams0%
getExamplesMessages0%
execute0%
getAllowedParams0%
getExamplesMessages0%
__construct0%
__construct0%
doesWrites0%
execute0%
outputEnclosingDivStartTag0%
outputEnclosingDivEndTag0%
outputListOfNotices0%
handleNoticePostFromList0%
dateSelector0%
timeSelectorTd0%
timeSelector0%
campaignTypeSelector0%
prioritySelector0%
createSelector0%
addNoticeForm0%
handleAddCampaignPost0%
getDateTime0%
outputNoticeDetail0%
handleNoticeDetailPost0%
displayCampaignWarnings0%
noticeDetailForm0%
makeNoticeMixinControlName0%
assignedTemplatesForm0%
weightDropdown0%
bucketDropdown0%
numBucketsDropdown0%
addTemplatesForm0%
languageMultiSelector0%
projectMultiSelector0%
makeSummaryField0%
getSummaryFromRequest0%
paddedRange0%
showError0%
geoMultiSelectorTree0%
truncateSummaryField0%
getAssociatedNavigationLinks0%
getShortDescription0%
getCNSessionVar0%
setCNSessionVar0%
listProjects0%
listCountriesRegions0%
listLanguages0%
makeShortList0%
listToArray0%
getGroupName0%
outputHeader0%
getBody0%
getInputHTML0%
getInputHTML0%
__construct0%
execute0%
showList0%
getTable0%
createRows0%
__construct0%
execute0%
getParamsAndSetState0%
sendHeaders0%
getJsNotice0%
__construct0%
execute0%
__construct0%
doesWrites0%
execute0%
ensureBanner0%
showBannerList0%
generateBannerListForm0%
processBannerList0%
setFilterFromUrl0%
getFilterUrlParamAsArray0%
getBannerPreviewEditLinks0%
showBannerEditor0%
generateBannerEditForm0%
generateCdnPurgeSection0%
processEditBanner0%
processSaveBannerAction0%
getTemplateBannerDropdownItems0%
__construct0%
execute0%
dateSelector0%
showLog0%
getDateValue0%
getLogSwitcher0%
__construct0%
execute0%
setHideCookie0%
setP3P0%
__construct0%
execute0%
__construct0%
execute0%
sendHeaders0%
__construct0%
getNavigationBar0%
getQueryInfo0%
getIndexField0%
formatRow0%
getBody0%
getDefaultQuery0%
__construct0%
getQueryInfo0%
doQuery0%
getFieldNames0%
getStartBody0%
formatValue0%
getRowClass0%
getCellAttrs0%
getEndBody0%
isFieldSortable0%
getDefaultSort0%
isWithinLimit0%
extractResultInfo0%
getTableClass0%
__construct0%
getIndexField0%
getQueryInfo0%
formatRow0%
getStartBody0%
getEndBody0%
showInitialSettings0%
showChanges0%
testBooleanBannerChange0%
testTextBannerChange0%
__construct0%
getIndexField0%
getQueryInfo0%
formatRow0%
showInitialSettings0%
showChanges0%
testBooleanChange0%
testSetChange0%
testPriorityChange0%
testPercentageChange0%
testTextChange0%
testTypeChange0%
getTypeText0%
getStartBody0%
getEndBody0%
__construct0%
getIndexField0%
getQueryInfo0%
formatRow0%
getStartBody0%
getEndBody0%
getQueryInfo0%
formatRow0%
getStartBody0%
getEndBody0%
bucketDropdown0%
__construct0%
getQueryInfo0%
getIndexField0%
formatRow0%
getStartBody0%
getEndBody0%
__construct0%
execute0%
cleanDuplicates0%
populateIDs0%
deleteOrphans0%
savePriorityLanguageData9%
populatePriorityLanguageData33%
getCampaignMixins36%
saveMixinData36%
getChoices58%
saveBodyContent62%
setMixins63%
getName66%
sanitizeText66%
getHistoricalCampaigns69%
removeBanner71%
populateMixinData73%
save73%
protectBannerContent73%
populateBasicData74%
makePossibleBanners78%
exists78%
getLoggedInStatusFromString80%
fromName80%
addBanner82%
removeCampaign84%
addCampaign85%
newFromName85%
setDevices86%
updateNoticeDate88%

Project Risks

Method CRAP
handleNoticeDetailPost1122
formatValue1056
changes420
generateBannerEditForm420
processBannerList380
outputNoticeDetail272
processEditBanner210
execute210
onBeforePageDisplay156
handleNoticePostFromList156
execute156
testPriorityChange156
campaignTypeSelector132
noticeDetailForm132
assignedTemplatesForm110
showChanges110
execute90
formatRow90
getQueryInfo90
showInitialSettings90
formatRow90
getCampaignMixins81
updateBannerGroupStateHook72
renderMagicWord72
__construct72
onSkinTemplateNavigation__Universal72
handleAddCampaignPost72
getParamsAndSetState72
getCellAttrs72
updateCampaignMixins56
setNumericCampaignSetting56
campaignLogs56
onRegistration56
execute56
processSaveBannerAction56
getBody56
formatRow56
formatRow56
testSetChange56
cloneBanner42
toHtml42
getDependencies42
geoMultiSelectorTree42
showList42
execute42
execute42
getAvailableLanguages30
getDbKey30
getContents30
update30
getActiveCampaignsAndBanners30
doUpdate30
initCentralNotice30
onMakeGlobalVariablesScript30
getCountriesList30
execute30
outputListOfNotices30
bucketDropdown30
listCountriesRegions30
getInputHTML30
getJsNotice30
showLog30
showInitialSettings30
testBooleanBannerChange30
getCampaignBanners20
isUsingGroupReview20
getFromApi20
loadBasicSettings20
updateProjects20
updateProjectLanguages20
updateCountries20
updateRegions20
onCanonicalNamespaces20
onResourceLoaderGetConfigVars20
loadPhp20
getPreloadJsSnippets20
execute20
prioritySelector20
languageMultiSelector20
ensureBanner20
showBannerEditor20
getRowClass20
testTextBannerChange20
testBooleanChange20
getTypeText20
getQueryInfo20
savePriorityLanguageData16
addCampaign12
filterAndAllocate12
addTag12
getKeys12
getDefinitions12
getPreloadJs12
getAvailableDevices12
getNoticeName12
setBooleanCampaignSetting12
ensureTypes12
addCascadingRestrictionRight12
onGetPreferences12
getResourceLoaderModules12
renderMagicWord12
dateSelector12
addNoticeForm12
weightDropdown12
numBucketsDropdown12
projectMultiSelector12
makeShortList12
createRows12
sendHeaders12
generateBannerListForm12
generateCdnPurgeSection12
getTemplateBannerDropdownItems12
getNavigationBar12
getQueryInfo12
__construct12
getQueryInfo12
isFieldSortable12
showChanges12
getQueryInfo12
cleanDuplicates12
getHistoricalCampaigns11
populatePriorityLanguageData8
makePossibleBanners8
saveMixinData8
populateBasicData7
saveBodyContent6
addBanner6
getAllUsedCategories6
getCampaignNames6
invalidateCache6
archive6
getHistoricalBanner6
toHtml6
sanitize6
getTranslateGroupName6
registerGroupHook6
getLanguagesInState6
getResourceLoaderHtml6
getScript6
onLoadExtensionSchemaUpdates6
doOnSchemaUpdatesPopulateKnownDevices6
getDevicesAssociatedWithBanner6
__construct6
getId6
getName6
getStartTime6
getEndTime6
getPriority6
isEnabled6
isLocked6
isArchived6
isGeotargeted6
getBuckets6
setType6
onResourceLoaderRegisterModules6
getRegionsList6
__construct6
onUserMergeAccountFields6
sanitizeText6
__construct6
timeSelector6
createSelector6
getDateTime6
displayCampaignWarnings6
makeNoticeMixinControlName6
addTemplatesForm6
makeSummaryField6
paddedRange6
listToArray6
outputHeader6
getTable6
showBannerList6
setFilterFromUrl6
getFilterUrlParamAsArray6
getBannerPreviewEditLinks6
getDateValue6
setHideCookie6
setP3P6
execute6
sendHeaders6
doQuery6
getFieldNames6
getStartBody6
getEndBody6
getDefaultSort6
isWithinLimit6
extractResultInfo6
getTableClass6
testPercentageChange6
testTextChange6
testTypeChange6
getQueryInfo6
getStartBody6
formatRow6
getStartBody6
bucketDropdown6
formatRow6
getStartBody6
getEndBody6
populateIDs6
deleteOrphans6
protectBannerContent5
setDevices5
setMixins4
removeBanner4
populateMixinData4
save4
exists4
getLoggedInStatusFromString4
updateNoticeDate4
getChoices3
newFromName3
removeCampaign3
getName2
sanitizeText2
fromName2