ImgSEO_Structured_Data D

Total Complexity 193
Dependencies 3
Dependents 3
Total lines 1,278
Lines of code 771
Logical lines of code 351
Comment lines 332
Methods 33
Properties 6

Methods 33

Method Rating Maintainability Complexity Lines of code
get_images_in_current_page()
B
37 18 84
ajax_generate_structured_data()
B
40 17 61
extract_images_from_content()
A
44 15 45
generate_image_schema_from_data()
A
44 12 45
build_schema_from_cached_data()
A
46 11 37
get_images_in_current_page_legacy()
A
52 11 24
add_dom_analysis_script()
A
38 4 126
add_structured_data_to_page()
A
50 10 29
create_generic_image_schema()
A
50 10 28
should_add_structured_data()
A
58 9 18
generate_image_schema()
A
56 8 18
get_rendered_page_content()
S
52 7 25
get_database_content()
S
58 7 15
get_featured_images_from_query()
S
58 6 16
validate_schema()
S
58 6 15
get_page_content_from_dom()
S
59 5 15
get_image_data_optimized()
S
55 4 20
__construct()
S
62 4 12
find_attachment_by_url()
S
54 3 23
get_fallback_images()
S
55 3 19
get_attachment_id_optimized()
S
64 3 11
get_legacy_stats()
S
52 2 26
get_attachment_id_from_url()
S
64 3 11
get_instance()
S
71 2 6
get_structured_data_stats()
S
72 2 6
get_detailed_stats()
S
72 2 6
get_content_type_stats()
S
72 2 6
get_problematic_images()
S
72 2 6
init_hooks()
S
70 1 6
is_structured_data_enabled()
S
79 1 3
should_include_thumbnails()
S
79 1 3
should_include_author()
S
79 1 3
get_max_images_per_page()
S
77 1 3