SISANU_Popupate_Posts D

Total Complexity 350
Dependencies 3
Dependents 0
Total lines 2,612
Lines of code 1,995
Logical lines of code 1,030
Comment lines 467
Methods 59
Properties 11

Methods 59

Method Rating Maintainability Complexity Lines of code
spp_save_settings()
D
21
56 179
execute_add_random_posts()
D
19
53 212
populate_posts_settings()
D
19
15 349
make_image_from_url()
B
35 17 85
replace_text_tags()
B
33 12 111
spp_max_tax_listing()
A
41 13 54
compute_taxonomies_terms()
A
45 11 43
assess_create_taxonomy_terms()
A
52 10 23
spp_max_meta_listing()
A
47 9 33
display_groups()
A
44 8 48
filter_images_ids()
A
54 8 21
get_text_elements()
S
37 3 86
load_assets()
S
43 5 54
get_plugin_settings()
S
37 3 82
deactivate_plugin()
S
54 7 20
get_post_meta_keys()
S
49 6 29
get_random_tags()
S
52 6 25
get_random_string()
S
52 6 23
spp_show_plugin_images()
S
53 6 22
set_local_images_from_options()
S
56 6 18
plugin_admin_notices()
S
42 3 58
select_random_image()
S
55 5 20
compute_post_meta()
S
57 5 15
get_random_title()
S
52 4 24
get_allowed_taxonomies()
S
61 4 12
spp_validate_nonce()
S
62 4 11
filter_post_meta()
S
48 2 38
cleanup_plugin_posts()
S
55 3 21
spp_cleanup_terms_slugs()
S
59 3 15
get_allowed_post_types()
S
64 4 9
get_random_description()
S
58 3 14
maybe_reset_cache()
S
63 3 11
init()
S
52 2 24
get_local_images()
S
55 2 20
show_donate_text()
S
57 2 18
filter_acf_fields()
S
58 2 17
sanitize_max_value()
S
69 3 6
spp_populate()
S
69 3 7
spp_pattern_test()
S
64 3 9
trim_endings()
S
60 2 12
spp_cleanup_terms_ids()
S
61 2 12
get_instance()
S
71 2 6
has_pattern()
S
78 2 3
spp_is_valide_date()
S
68 2 7
plugin_admin_notices_cleanup()
S
71 2 6
get_allowed_post_statuses()
S
59 1 15
plugin_ver_check()
S
65 2 8
get_max_meta()
S
71 2 5
get_max_tax()
S
71 2 5
spp_current_user_can()
S
68 2 7
plugin_action_links()
S
67 1 7
activate_plugin()
S
73 1 5
get_random_number()
S
78 1 3
spp_images_mention()
S
78 1 3
load_plugin_settings()
S
73 1 6
load_textdomain()
S
77 1 3
admin_menu()
S
64 1 10
reset_spp_meta_list()
S
80 1 3
__construct()
S
82 1 3