-
Home
-
SPAI – Similar posts AI Plugin
-
1.6.1
-
Code
-
Classes
- Spai_Widget
Total Complexity |
102 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
462 |
Lines of code |
336 |
Logical lines of code |
224 |
Comment lines |
33 |
Methods |
23 |
Properties |
8 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
form() |
B |
41 |
16 |
61 |
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 |
widgetPrefix() |
S |
58 |
4 |
13 |
getPostId() |
S |
66 |
4 |
8 |
getContent() |
S |
60 |
3 |
13 |
__construct() |
S |
58 |
2 |
16 |
getImpId() |
S |
68 |
3 |
7 |
getTemplateId() |
S |
66 |
3 |
9 |
getDisplayType() |
S |
66 |
3 |
9 |
getShowOn() |
S |
66 |
3 |
9 |
getRelatedAds() |
S |
67 |
3 |
7 |
widget() |
S |
62 |
2 |
12 |
widgetAsHtml() |
S |
57 |
1 |
17 |
setHash() |
S |
63 |
2 |
10 |
getRelatedPosts() |
S |
78 |
2 |
3 |
widgetSuffix() |
S |
82 |
1 |
3 |
setAdsNotifierHtml() |
S |
72 |
1 |
6 |
injectJs() |
S |
70 |
1 |
5 |