Spai_Widget B

Total Complexity 87
Dependencies 5
Dependents 2
Total lines 425
Lines of code 291
Logical lines of code 178
Comment lines 38
Methods 23
Properties 8

Methods 23

Method Rating Maintainability Complexity Lines of code
prepareDataToWidget()
A
45 9 43
sendImpression()
A
49 9 30
update()
A
61 10 10
setCountPosts()
A
56 8 17
getRelatedData()
S
52 7 23
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