AdfoxlyPlacesController D

Total Complexity 216
Dependencies 11
Dependents 6
Total lines 855
Lines of code 514
Logical lines of code 310
Comment lines 190
Methods 30
Properties 10

Methods 30

Method Rating Maintainability Complexity Lines of code
validateCountry()
B
46 19 35
edit()
B
42 18 49
validateTag()
A
47 14 36
__construct()
A
46 14 35
validateCategory()
A
48 14 35
validateAdInPlace()
A
51 14 25
verifyPopupCookie()
A
56 14 15
validateCampaignDays()
A
49 12 29
validateDevice()
A
51 11 27
validateOnlyAdmins()
A
53 11 22
validateCampaignDate()
A
54 11 19
validatePostOrPage()
A
49 10 34
getIpLocation()
S
61 8 11
renderPlace()
S
49 6 31
validateUserViews()
S
56 6 16
remove()
S
61 6 11
renderDashboardPlaces()
S
57 2 16
verifyPlaceID()
S
68 3 7
getStickyTopPlaceID()
S
69 3 6
getStickyBottomPlaceID()
S
69 3 6
getStickyLeftPlaceID()
S
69 3 6
getStickyRightPlaceID()
S
69 3 6
getPopupPlaceID()
S
68 3 7
validateStatus()
S
68 2 7
setVisitor()
S
80 1 3
getCityFromIP()
S
75 1 4
getIpLocationJSON()
S
80 1 3
setContextAdminURL()
S
79 1 3
setContextNonce()
S
79 1 3
addAdInArrayPlace()
S
69 1 7