Wpadcenter_Public C

Total Complexity 118
Dependencies 3
Dependents 8
Total lines 856
Lines of code 572
Logical lines of code 308
Comment lines 204
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
display_single_ad()
C
30 23 117
wpadcenter_init()
B
40 17 59
wpadcenter_template_redirect()
A
47 16 32
wpadcenter_get_root_domain_info()
A
44 11 43
display_adgroup_ads()
A
39 8 72
wpadcenter_set_clicks()
A
50 9 24
display_random_ad()
S
43 3 55
__construct()
S
60 4 14
wpadcenter_adgroup_shortcode()
S
51 2 29
wpadcenter_check_exclude_roles()
S
60 3 13
wpadcenter_random_ad_shortcode()
S
53 2 25
wpadcenter_ad_shortcode()
S
54 2 23
wpadcenter_output_body_post()
S
63 3 10
wpadcenter_output_footer_post()
S
63 3 10
wpadcenter_output_header_post()
S
63 3 10
wpadcenter_output_header_global()
S
69 2 7
wpadcenter_output_body_global()
S
69 2 7
wpadcenter_output_footer_global()
S
69 2 7
enqueue_styles()
S
76 1 3
enqueue_scripts()
S
76 1 3
wpadcenter_register_gutenberg_scripts()
S
66 1 9