SISANU_Popupate_Posts D

Total Complexity 222
Dependencies 3
Dependents 0
Total lines 1,684
Lines of code 1,243
Logical lines of code 652
Comment lines 349
Methods 41
Properties 10

Methods 41

Method Rating Maintainability Complexity Lines of code
execute_add_random_posts()
D
20
52 177
spp_save_settings()
C
33 31 85
populate_posts_settings()
C
23
18 248
make_image_from_url()
B
35 17 85
get_post_meta_keys()
A
39 7 70
assess_create_taxonomy_terms()
A
53 10 22
load_assets()
S
43 5 53
deactivate_plugin()
S
55 7 19
set_local_images_from_options()
S
57 6 17
select_random_image()
S
55 5 20
spp_show_plugin_images()
S
57 5 15
plugin_admin_notices()
S
43 2 57
get_text_elements()
S
44 2 54
get_plugin_settings()
S
41 1 63
spp_validate_nonce()
S
62 4 11
cleanup_plugin_posts()
S
55 3 21
get_allowed_taxonomies()
S
64 4 9
get_allowed_post_types()
S
64 4 9
get_random_description()
S
58 3 14
get_random_tags()
S
59 3 14
get_local_images()
S
56 2 19
init()
S
55 2 18
spp_populate()
S
69 3 7
get_random_title()
S
58 2 15
show_donate_text()
S
58 1 16
plugin_admin_notices_cleanup()
S
71 2 6
plugin_ver_check()
S
65 2 8
get_instance()
S
71 2 6
spp_is_valide_date()
S
68 2 7
spp_cleanup_terms_slugs()
S
63 2 10
spp_cleanup_terms_ids()
S
63 2 10
spp_current_user_can()
S
68 2 7
get_allowed_post_statuses()
S
61 1 12
reset_spp_meta_list()
S
80 1 3
load_textdomain()
S
77 1 3
load_plugin_settings()
S
73 1 6
plugin_action_links()
S
67 1 7
activate_plugin()
S
75 1 4
__construct()
S
82 1 3
spp_images_mention()
S
78 1 3
admin_menu()
S
64 1 10