SB_Instagram_Feed D

Total Complexity 289
Dependencies 7
Dependents 6
Total lines 1,699
Lines of code 917
Logical lines of code 580
Comment lines 517
Methods 53
Properties 18

Methods 53

Method Rating Maintainability Complexity Lines of code
add_remote_posts()
D
22
50 176
get_the_feed_html()
D
31 42 89
merge_posts()
D
31 38 116
get_resized_images_source_set()
B
38 15 70
set_cron_cache()
A
47 16 34
set_remote_header_data()
A
45 14 40
should_use_pagination()
A
50 12 27
cache_feed_data()
S
51 7 26
set_post_data_from_cache()
S
55 7 18
clear_expired_access_token_notice()
S
59 6 13
maybe_set_post_data_from_backup()
S
56 5 18
sort_posts()
S
58 5 15
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
need_header()
S
72 4 4
should_merge_after()
S
60 3 15
can_get_more_posts()
S
67 4 7
get_the_items_html()
S
57 2 18
get_ajax_page_load_html()
S
55 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
should_cache_error()
S
66 2 9
set_header_data_from_cache()
S
68 2 7
should_use_backup()
S
79 2 3
get_account_term()
S
69 2 7
trim_posts_to_max()
S
68 2 7
get_post_data()
S
82 1 3
set_pages_created()
S
81 1 3
can_try_another_request()
S
82 1 3
get_cached_feed_error()
S
82 1 3
get_next_pages()
S
82 1 3
get_resized_images()
S
82 1 3
set_post_data()
S
81 1 3
set_resized_images()
S
81 1 3
feed_is_complete()
S
82 1 3
add_other_atts()
S
82 1 3
handle_no_posts_found()
S
63 1 10
filter_posts()
S
82 1 3
get_image_ids_post_set()
S
82 1 3
get_report()
S
82 1 3
add_report()
S
80 1 3
regular_cache_exists()
S
76 1 4
regular_header_cache_exists()
S
76 1 4
make_api_connection()
S
79 1 3
should_update_last_requested()
S
79 1 3
set_header_data()
S
81 1 3
get_header_data()
S
82 1 3
get_different_connected_account()
S
82 1 3