BelboonAdvertiserTrackingPlugin D

Total Complexity 163
Dependencies 2
Dependents 0
Total lines 942
Lines of code 656
Logical lines of code 367
Comment lines 77
Methods 60
Properties 2

Methods 60

Method Rating Maintainability Complexity Lines of code
containerTagIntegrationFooter()
A
38 13 76
getDataFromAPI()
A
49 9 31
getConversionTarget()
A
58 9 15
generateTrackingUrl()
A
48 8 30
initPlugin()
S
48 7 29
checkoutIntegration()
S
50 6 31
sendNewCustmerRequest()
S
51 6 28
getTrackingCat()
S
54 6 22
collectData()
S
43 4 48
parseUrlParams()
S
55 6 18
getClickId()
S
65 5 9
getApiTrackingCategories()
S
59 4 14
checkoutIntegrationFooter()
S
61 4 12
trackByKeyParam()
S
61 4 12
showAdminNotice()
S
63 4 11
useBaseketTracking()
S
65 4 9
getHirachicalProductCatChain()
S
59 3 14
addDebugToHead()
S
55 2 21
getAdminPage()
S
66 3 9
setAdminMenu()
S
68 3 6
useContainerTag()
S
65 3 9
getTrackingIsActive()
S
65 3 9
getView()
S
61 2 12
registerSettings()
S
53 1 25
getCatMappingPage()
S
59 1 16
isNewCustomer()
S
71 2 6
getTrackingCategoryByProductCategoryId()
S
70 2 6
getApiKey()
S
69 2 7
getMid()
S
69 2 7
getAdvertiserId()
S
69 2 7
showDebug()
S
70 2 6
trackingIsAcitve()
S
78 2 3
updateCheck()
S
71 2 6
useSession()
S
92 1 1
getPath()
S
82 1 3
loadTextdomain()
S
78 1 3
addWeeklyCronJobSchedule()
S
69 1 7
getOrdersByUserId()
S
74 1 5
updateCategoryMapping()
S
80 1 3
pingBelboonApi()
S
81 1 3
unserialize()
S
80 1 3
serialize()
S
80 1 3
setWpdb()
S
77 1 4
getWpdb()
S
82 1 3
setPath()
S
77 1 4
doServer2ServerCall()
S
75 1 4
addPluginSettingsLink()
S
68 1 7
useCookies()
S
92 1 1
getPixelUrl()
S
75 1 4
adminEnqueueScripts()
S
77 1 3
getCurrentUrl()
S
73 1 5
getTrackingDomain()
S
75 1 4
getCategoryMapping()
S
76 1 4
adminEnqueueStyles()
S
77 1 3
getApiResponse()
S
76 1 4
isApiKeyValid()
S
75 1 4
getPixelVersion()
S
92 1 1
getSiteId()
S
92 1 1
getGdpr()
S
92 1 1
__construct()
S
77 1 4