Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

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

Project Risks

Method CRAP
handleNoticeDetailPost1122
formatValue930
changes420
generateBannerEditForm420
processBannerList380
outputNoticeDetail272
fetchChoices210
execute210
processEditBanner210
handleNoticePostFromList156
execute156
noticeDetailForm132
campaignTypeSelector132
assignedTemplatesForm110
showChanges110
testPriorityChange110
onBeforePageDisplay110
formatRow90
getQueryInfo90
execute90
formatRow90
showInitialSettings90
getCampaignMixins81
renderMagicWord72
getDb72
handleAddCampaignPost72
updateBannerGroupStateHook72
getParamsAndSetState72
getCellAttrs72
onRegistration72
campaignLogs56
onSkinTemplateNavigation__Universal56
processSaveBannerAction56
updateCampaignMixins56
setNumericCampaignSetting56
execute56
getBody56
testSetChange56
formatRow56
formatRow56
getDependencies42
bucketDropdown42
geoMultiSelectorTree42
showList42
__construct42
cloneBanner42
execute42
execute42
toHtml42
savePriorityLanguageData36
showLog30
getJsNotice30
outputListOfNotices30
listCountriesRegions30
execute30
getInputHTML30
getCountriesList30
onMakeGlobalVariablesScript30
testBooleanBannerChange30
initCentralNotice30
getAvailableLanguages30
showInitialSettings30
getActiveCampaignsAndBanners30
doUpdate30
update30
getDbKey30
getContents30
numBucketsDropdown20
languageMultiSelector20
onResourceLoaderGetConfigVars20
showBannerEditor20
onCanonicalNamespaces20
getBannerPreviewEditLinks20
testTextBannerChange20
testBooleanChange20
getRowClass20
prioritySelector20
isUsingGroupReview20
setBannerDeviceTargets20
updateRegions20
updateCountries20
ensureBanner20
getCampaignBanners20
getQueryInfo20
getPreloadJsSnippets20
getTypeText20
updateNoticeDate20
loadPhp20
getFromApi20
updateProjects20
updateProjectLanguages20
loadBasicSettings20
populatePriorityLanguageData16
addCampaign12
projectMultiSelector12
filterAndAllocate12
isFieldSortable12
getTemplateBannerDropdownItems12
dateSelector12
getAvailableDevices12
getQueryInfo12
getDefinitions12
addNoticeForm12
weightDropdown12
getQueryInfo12
getPreloadJs12
getNavigationBar12
getQueryInfo12
makeShortList12
addTag12
sendHeaders12
getNoticeName12
setBooleanCampaignSetting12
generateBannerListForm12
createRows12
getKeys12
showChanges12
ensureTypes12
__construct12
setFilterFromUrl12
addCascadingRestrictionRight12
onGetPreferences12
generateCdnPurgeSection12
getResourceLoaderModules12
renderMagicWord12
execute12
getHistoricalCampaigns11
makePossibleBanners8
saveMixinData8
saveBodyContent7
addBanner7
processAfterCampaignChange7
removeBanner6
populateBasicData6
makeNoticeMixinControlName6
getDefaultSort6
getHistoricalBanner6
getEndBody6
getStartBody6
getFieldNames6
doQuery6
toHtml6
sanitize6
getTranslateGroupName6
registerGroupHook6
getLanguagesInState6
getResourceLoaderHtml6
displayCampaignWarnings6
execute6
isWithinLimit6
getTableClass6
extractResultInfo6
getQueryInfo6
getStartBody6
formatRow6
bucketDropdown6
getStartBody6
formatRow6
getStartBody6
testTypeChange6
setHideCookie6
testTextChange6
testPercentageChange6
getAllUsedCategories6
getCampaignNames6
invalidateCache6
archive6
setP3P6
sendHeaders6
getDateValue6
sanitizeText6
getTable6
getRegionsList6
__construct6
outputHeader6
listToArray6
onUserMergeAccountFields6
getCNSessionVar6
paddedRange6
getBuckets6
makeSummaryField6
sanitizeText6
__construct6
addTemplatesForm6
timeSelector6
createSelector6
getDateTime6
setType6
onResourceLoaderRegisterModules6
isGeotargeted6
getPriority6
getScript6
onLoadExtensionSchemaUpdates6
doOnSchemaUpdatesPopulateKnownDevices6
getDevicesAssociatedWithBanner6
__construct6
getId6
getName6
getStartTime6
getEndTime6
getFilterUrlParamAsArray6
getEndBody6
isEnabled6
isLocked6
isArchived6
showBannerList6
save5
protectBannerContent5
setDevices5
setMixins4
processSettingsForHook4
populateMixinData4
getLoggedInStatusFromString4
getChoices3
exists3
newFromName3
removeCampaign3
getName2
sanitizeText2
fromName2