Spai_Widget B

Total Complexity 91
Dependencies 4
Dependents 2
Total lines 448
Lines of code 304
Logical lines of code 180
Comment lines 42
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
prepareDataToWidget()
A
45 9 43
update()
A
61 10 10
setCountPosts()
A
56 8 17
getRelatedData()
S
52 7 23
sendImpression()
S
49 6 32
getIp()
S
62 7 11
setMaxAdsCount()
S
59 6 14
widget()
S
56 4 19
widgetPrefix()
S
56 4 17
getPostId()
S
66 4 8
getContent()
S
60 3 13
__construct()
S
58 2 16
getRelatedAds()
S
67 3 7
getImpId()
S
68 3 7
getSpaiInstance()
S
67 3 8
widgetAsHtml()
S
58 1 16
getRelatedPosts()
S
78 2 3
form()
S
66 2 8
setHash()
S
63 2 10
widgetSuffix()
S
82 1 3
setAdsNotifierHtml()
S
72 1 6
setPostId()
S
81 1 3
injectInstanceJs()
S
70 1 5
injectPostIdJs()
S
71 1 5