Spai_Widget B

Total Complexity 85
Dependencies 3
Dependents 2
Total lines 406
Lines of code 269
Logical lines of code 164
Comment lines 47
Methods 23
Properties 8

Methods 23

Method Rating Maintainability Complexity Lines of code
prepareDataToWidget()
A
45 9 43
update()
A
61 10 10
setCountPosts()
A
56 8 17
getRelatedData()
S
53 7 22
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
62 3 11
__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