SB_Instagram_Feed D

Total Complexity 309
Dependencies 8
Dependents 6
Total lines 1,793
Lines of code 994
Logical lines of code 622
Comment lines 522
Methods 53
Properties 18

Methods 53

Method Rating Maintainability Complexity Lines of code
add_remote_posts()
D
18
62 217
get_the_feed_html()
D
31 42 90
merge_posts()
D
31 38 116
get_resized_images_source_set()
B
36 16 86
set_remote_header_data()
B
42 18 49
set_cron_cache()
A
46 16 35
should_use_pagination()
A
50 12 27
cache_feed_data()
A
50 8 27
set_post_data_from_cache()
A
54 8 19
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
cache_header_data()
S
61 4 12
need_posts()
S
61 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
update_last_requested()
S
58 2 16
set_header_data_from_cache()
S
66 3 8
get_first_user()
S
65 3 9
posts_loop()
S
60 2 13
maybe_set_header_data_from_backup()
S
63 2 11
__construct()
S
55 1 19
should_use_backup()
S
79 2 3
should_cache_error()
S
66 2 9
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
filter_posts()
S
82 1 3
handle_no_posts_found()
S
63 1 10
get_image_ids_post_set()
S
82 1 3
add_other_atts()
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
set_header_data()
S
81 1 3
should_update_last_requested()
S
79 1 3
get_header_data()
S
82 1 3
get_different_connected_account()
S
82 1 3