AdfoxlyPlacesController D

Total Complexity 226
Dependencies 11
Dependents 6
Total lines 895
Lines of code 522
Logical lines of code 325
Comment lines 190
Methods 30
Properties 10

Methods 30

Method Rating Maintainability Complexity Lines of code
validateAdInPlace()
B
44 23 42
validateCountry()
B
47 19 33
edit()
B
42 18 45
__construct()
A
46 14 35
validateTag()
A
49 14 32
validateCategory()
A
49 14 31
verifyPopupCookie()
A
56 14 15
validateCampaignDays()
A
49 12 29
validateOnlyAdmins()
A
51 11 28
validateDevice()
A
51 11 27
validateCampaignDate()
A
54 11 19
validatePostOrPage()
A
50 10 30
renderPlace()
A
48 7 34
getIpLocation()
S
61 8 11
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