SB_Instagram_Feed D

Total Complexity 333
Dependencies 11
Dependents 6
Total lines 1,861
Lines of code 1,026
Logical lines of code 649
Comment lines 540
Methods 56
Properties 21

Methods 56

Method Rating Maintainability Complexity Lines of code
add_remote_posts()
D
18
62 217
merge_posts()
D
31 38 116
get_the_feed_html()
C
35 28 73
filter_posts()
B
43 22 42
get_resized_images_source_set()
B
36 19 79
get_feed_container_css_classes()
B
48 18 31
set_cron_cache()
A
47 16 34
set_remote_header_data()
A
45 15 38
should_use_pagination()
A
50 12 27
cache_feed_data()
A
52 8 25
set_post_data_from_cache()
A
55 8 18
maybe_set_post_data_from_backup()
S
56 5 18
sort_posts()
S
58 5 15
get_ajax_page_load_html()
S
52 4 23
need_header()
S
64 5 9
need_posts()
S
61 4 11
cache_header_data()
S
63 4 11
remove_duplicate_posts()
S
57 3 17
need_to_start_cron_job()
S
77 4 3
should_merge_after()
S
60 3 15
can_get_more_posts()
S
67 4 7
get_the_items_html()
S
57 2 18
get_first_user()
S
65 3 9
posts_loop()
S
60 2 13
maybe_set_header_data_from_backup()
S
63 2 11
update_last_requested()
S
61 2 11
__construct()
S
55 1 19
get_account_term()
S
69 2 7
trim_posts_to_max()
S
68 2 7
set_header_data_from_cache()
S
68 2 7
should_cache_error()
S
66 2 9
should_use_backup()
S
79 2 3
add_other_atts()
S
82 1 3
clear_expired_access_token_notice()
S
78 1 3
feed_is_complete()
S
82 1 3
set_cache()
S
68 1 7
handle_no_posts_found()
S
63 1 10
can_try_another_request()
S
82 1 3
get_different_connected_account()
S
82 1 3
get_post_data()
S
82 1 3
set_resized_images()
S
81 1 3
get_report()
S
82 1 3
add_report()
S
80 1 3
make_api_connection()
S
79 1 3
get_cached_feed_error()
S
82 1 3
set_pages_created()
S
81 1 3
get_next_pages()
S
82 1 3
get_feed_id()
S
79 1 3
get_resized_images()
S
82 1 3
set_post_data()
S
81 1 3
get_image_ids_post_set()
S
82 1 3
get_header_data()
S
82 1 3
set_header_data()
S
81 1 3
regular_header_cache_exists()
S
80 1 3
regular_cache_exists()
S
80 1 3
should_update_last_requested()
S
79 1 3