Spai_Widget B

Total Complexity 100
Dependencies 2
Dependents 2
Total lines 466
Lines of code 338
Logical lines of code 229
Comment lines 38
Methods 23
Properties 8

Methods 23

Method Rating Maintainability Complexity Lines of code
form()
B
39 17 66
prepareDataToWidget()
A
45 9 43
update()
A
61 10 10
sendImpression()
A
53 8 21
setCountPosts()
A
56 8 17
getRelatedData()
S
52 7 23
setMaxAdsCount()
S
59 6 14
widget()
S
56 4 19
getPostId()
S
66 4 8
widgetPrefix()
S
57 3 15
getContent()
S
60 3 13
__construct()
S
58 2 16
getImpId()
S
68 3 7
getSpaiInstance()
S
67 3 8
getRelatedAds()
S
67 3 7
widgetAsHtml()
S
58 1 16
getRelatedPosts()
S
78 2 3
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