-
Home
-
Advanced Ads – Ad Manager & AdSense
-
1.23.1
-
Code
-
Classes
- Advanced_Ads_Group
Total Complexity |
97 |
Dependencies |
8 |
Dependents |
6 |
Total lines |
644 |
Lines of code |
298 |
Logical lines of code |
192 |
Comment lines |
225 |
Methods |
19 |
Properties |
15 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
output() |
B |
40 |
17 |
54 |
get_ordered_ad_ids() |
A |
49 |
12 |
29 |
create_wrapper() |
A |
49 |
12 |
28 |
load_additional_attributes() |
A |
55 |
9 |
18 |
shuffle_ordered_ads() |
S |
55 |
5 |
19 |
load_all_ads() |
S |
51 |
4 |
27 |
save_ad_weights() |
S |
62 |
5 |
10 |
get_random_ad_by_weight() |
S |
61 |
4 |
13 |
get_ad_weights() |
S |
61 |
4 |
13 |
load() |
S |
59 |
3 |
14 |
update_ad_weights() |
S |
61 |
3 |
13 |
sanitize_ad_weights() |
S |
63 |
3 |
11 |
delete_ad_weights() |
S |
68 |
3 |
7 |
__construct() |
S |
66 |
3 |
8 |
shuffle_ads() |
S |
65 |
3 |
9 |
add_post_ids() |
S |
69 |
2 |
7 |
get_all_ads() |
S |
71 |
2 |
6 |
get_max_ad_weight() |
S |
71 |
2 |
5 |
save() |
S |
67 |
1 |
7 |