ImgSEO_Universal_Scanner D

Total Complexity 146
Dependencies 6
Dependents 2
Total lines 2,269
Lines of code 689
Logical lines of code 332
Comment lines 444
Methods 37
Properties 6

Methods 37

Method Rating Maintainability Complexity Lines of code
extract_images_from_custom_fields()
A
45 13 39
scan_homepage_content()
A
46 10 37
extract_images_from_content()
A
48 10 36
scan_single_post()
A
39 7 75
scan_single_widget()
A
45 8 46
extract_images_from_json()
A
50 9 27
extract_images_from_widget()
S
54 7 22
scan_theme_locations()
S
49 5 38
get_featured_image()
S
53 6 22
ajax_scan_content()
S
55 6 18
scan_content_type()
S
57 6 17
update_scan_status()
S
46 4 39
parse_img_tag()
S
55 5 19
scan_widgets_for_homepage()
S
59 5 14
extract_images_from_post()
S
52 4 25
scan_homepage()
S
49 3 34
extract_background_images()
S
56 4 18
scan_widgets()
S
62 4 12
should_pause_scan()
S
61 3 12
scan_entire_site()
S
54 2 23
get_widget_data()
S
64 3 9
is_valid_image_url()
S
64 3 8
scan_custom_post_types()
S
60 2 14
get_instance()
S
71 2 6
set_scan_limits()
S
70 2 6
parse_size()
S
65 2 8
__construct()
S
69 1 7
init_scan_config()
S
63 1 10
init_hooks()
S
71 1 5
scan_all_posts()
S
67 1 8
scan_all_pages()
S
67 1 8
is_json()
S
76 1 4
init_scan_stats()
S
65 1 10
mark_scan_completed()
S
76 1 4
run_scheduled_scan()
S
82 1 3
get_scan_stats()
S
80 1 3
get_last_scan_time()
S
79 1 3