BelboonAdvertiserTrackingPlugin D

Total Complexity 129
Dependencies 2
Dependents 0
Total lines 854
Lines of code 569
Logical lines of code 266
Comment lines 70
Methods 53
Properties 2

Methods 53

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