SISANU_Popupate_Posts D

Total Complexity 297
Dependencies 3
Dependents 0
Total lines 2,295
Lines of code 1,711
Logical lines of code 873
Comment lines 439
Methods 57
Properties 10

Methods 57

Method Rating Maintainability Complexity Lines of code
execute_add_random_posts()
D
20
49 195
spp_save_settings()
D
32 33 91
populate_posts_settings()
C
22
13 285
make_image_from_url()
B
35 17 85
replace_text_tags()
A
34 12 105
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
load_assets()
S
43 5 53
deactivate_plugin()
S
55 7 19
get_post_meta_keys()
S
49 6 29
get_text_elements()
S
38 2 86
get_random_string()
S
52 6 23
get_random_tags()
S
53 6 23
set_local_images_from_options()
S
57 6 17
spp_show_plugin_images()
S
54 5 21
select_random_image()
S
55 5 20
compute_post_meta()
S
57 5 15
plugin_admin_notices()
S
43 2 57
get_plugin_settings()
S
39 1 69
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_allowed_taxonomies()
S
64 4 9
get_random_description()
S
58 3 14
maybe_reset_cache()
S
63 3 11
init()
S
52 2 23
get_local_images()
S
56 2 19
filter_acf_fields()
S
58 2 17
spp_pattern_test()
S
64 3 9
spp_populate()
S
69 3 7
sanitize_max_value()
S
69 3 6
get_random_title()
S
58 2 15
trim_endings()
S
60 2 12
spp_cleanup_terms_ids()
S
61 2 12
show_donate_text()
S
58 1 16
get_max_tax()
S
71 2 5
plugin_admin_notices_cleanup()
S
71 2 6
plugin_ver_check()
S
65 2 8
spp_current_user_can()
S
68 2 7
get_instance()
S
71 2 6
get_max_meta()
S
71 2 5
spp_is_valide_date()
S
68 2 7
has_pattern()
S
78 2 3
get_allowed_post_statuses()
S
61 1 12
admin_menu()
S
64 1 10
__construct()
S
82 1 3
load_plugin_settings()
S
73 1 6
spp_images_mention()
S
78 1 3
plugin_action_links()
S
67 1 7
activate_plugin()
S
75 1 4
get_random_number()
S
78 1 3
reset_spp_meta_list()
S
80 1 3
load_textdomain()
S
77 1 3