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%
populateKnownDevices0%
getAvailableDevices0%
getDevicesAssociatedWithBanner0%
__construct0%
getId0%
getName0%
getStartTime0%
getEndTime0%
getPriority0%
isEnabled0%
isLocked0%
isArchived0%
isGeotargeted0%
getBuckets0%
loadBasicSettings0%
getActiveCampaignsAndBanners0%
updateCampaignMixins0%
getTitleForURL0%
getQueryForURL0%
getCanonicalURL0%
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%
getIndexField0%
getQueryInfo0%
formatRow0%
getStartBody0%
getEndBody0%
showInitialSettings0%
showChanges0%
testBooleanBannerChange0%
testTextBannerChange0%
__construct0%
getIndexField0%
getQueryInfo0%
formatRow0%
showInitialSettings0%
showChanges0%
getBannerStats0%
testBooleanChange0%
testSetChange0%
testPriorityChange0%
getPriorityMessage0%
testPercentageChange0%
testTextChange0%
testTypeChange0%
getTypeText0%
getStartBody0%
getEndBody0%
__construct0%
getIndexField0%
getQueryInfo0%
formatRow0%
getStartBody0%
getEndBody0%
getQueryInfo0%
formatRow0%
getStartBody0%
getEndBody0%
bucketDropdown0%
__construct0%
getQueryInfo0%
getIndexField0%
formatRow0%
getStartBody0%
getEndBody0%
savePriorityLanguageData16%
populatePriorityLanguageData33%
saveMixinData36%
getCampaignMixins36%
getChoices58%
setMixins63%
getName66%
saveBodyContent66%
sanitizeText66%
getHistoricalCampaigns68%
removeBanner70%
populateMixinData72%
protectBannerContent73%
populateBasicData74%
save75%
makePossibleBanners78%
exists78%
getLoggedInStatusFromString80%
fromName80%
addBanner82%
removeCampaign84%
addCampaign85%
setDevices86%
newFromName87%
updateNoticeDate88%

Project Risks

Method CRAP
handleNoticeDetailPost1122
formatValue1056
generateBannerEditForm552
changes420
processBannerList380
outputNoticeDetail272
processEditBanner240
execute210
handleNoticePostFromList156
execute156
campaignTypeSelector132
noticeDetailForm132
onBeforePageDisplay110
onSkinTemplateNavigation__Universal90
execute90
assignedTemplatesForm90
formatRow90
getQueryInfo90
showInitialSettings90
formatRow90
getCampaignMixins89
updateBannerGroupStateHook72
renderMagicWord72
__construct72
handleAddCampaignPost72
geoMultiSelectorTree72
getParamsAndSetState72
getCellAttrs72
updateCampaignMixins56
setNumericCampaignSetting56
campaignLogs56
onRegistration56
execute56
processSaveBannerAction56
execute56
getBody56
formatRow56
formatRow56
testSetChange56
cloneBanner42
toHtml42
getDependencies42
getCountriesList42
showList42
execute42
showChanges42
getAvailableLanguages30
getCampaignBanners30
getDbKey30
getContents30
update30
execute30
outputListOfNotices30
listCountriesRegions30
getInputHTML30
getJsNotice30
showInitialSettings30
testBooleanBannerChange30
isUsingGroupReview20
getFromApi20
loadBasicSettings20
getActiveCampaignsAndBanners20
updateProjects20
updateProjectLanguages20
updateCountries20
updateRegions20
initCentralNotice20
onCanonicalNamespaces20
loadPhp20
getPreloadJsSnippets20
execute20
prioritySelector20
bucketDropdown20
ensureBanner20
showBannerEditor20
getRowClass20
testTextBannerChange20
testBooleanChange20
getTypeText20
getQueryInfo20
savePriorityLanguageData13
addCampaign12
filterAndAllocate12
addTag12
getKeys12
getDefinitions12
getPreloadJs12
getAvailableDevices12
setBooleanCampaignSetting12
ensureTypes12
doUpdate12
addCascadingRestrictionRight12
onGetPreferences12
getResourceLoaderModules12
renderMagicWord12
dateSelector12
addNoticeForm12
weightDropdown12
numBucketsDropdown12
languageMultiSelector12
makeShortList12
createRows12
sendHeaders12
generateBannerListForm12
generateCdnPurgeSection12
getTemplateBannerDropdownItems12
getNavigationBar12
getQueryInfo12
__construct12
getQueryInfo12
isFieldSortable12
showChanges12
getBannerStats12
getQueryInfo12
getHistoricalCampaigns9
populatePriorityLanguageData8
makePossibleBanners8
saveMixinData8
populateBasicData7
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
onMakeGlobalVariablesScript6
onResourceLoaderGetConfigVars6
onResourceLoaderRegisterModules6
getRegionsList6
__construct6
onUserMergeAccountFields6
sanitizeText6
__construct6
timeSelector6
createSelector6
getDateTime6
displayCampaignWarnings6
makeNoticeMixinControlName6
addTemplatesForm6
projectMultiSelector6
makeSummaryField6
paddedRange6
listToArray6
outputHeader6
getTable6
showBannerList6
setFilterFromUrl6
getFilterUrlParamAsArray6
getBannerPreviewEditLinks6
getDateValue6
setHideCookie6
setP3P6
execute6
sendHeaders6
doQuery6
getFieldNames6
getStartBody6
getEndBody6
getDefaultSort6
isWithinLimit6
extractResultInfo6
getTableClass6
testPriorityChange6
testPercentageChange6
testTextChange6
testTypeChange6
getQueryInfo6
getStartBody6
formatRow6
getStartBody6
bucketDropdown6
formatRow6
getStartBody6
getEndBody6
saveBodyContent5
protectBannerContent5
setDevices5
setMixins4
removeBanner4
populateMixinData4
save4
exists4
getLoggedInStatusFromString4
updateNoticeDate4
getChoices3
removeCampaign3
newFromName3
getName2
sanitizeText2
fromName2