BelboonAdvertiserTrackingPlugin D

Total Complexity 142
Dependencies 2
Dependents 0
Total lines 784
Lines of code 540
Logical lines of code 301
Comment lines 70
Methods 56
Properties 2

Methods 56

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