AltTextLab_Attachment D

Total Complexity 128
Dependencies 8
Dependents 2
Total lines 771
Lines of code 491
Logical lines of code 272
Comment lines 115
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
is_attachment_eligible()
A
45 15 36
query_attachments_for_bulk_alt()
A
41 10 56
get_filtered_images_count()
A
47 10 34
ajax_single_generate()
A
48 10 33
alttextlab_bulk_generate_for_image()
A
47 9 36
prepare_api_options()
A
50 9 31
filter_media_library_query_by_alt()
A
50 9 26
generate_alt()
A
48 8 32
alttextlab_bulk_generate()
A
45 7 43
validate_image_for_generation()
S
54 7 19
action_single_attachment_generate_alt()
S
59 7 14
apply_alt_text_to_attachment()
S
57 5 17
call_api_with_retry()
S
57 4 16
ajax_is_attachment_eligible()
S
55 3 20
log_error()
S
61 3 13
ajax_edit_history()
S
57 2 16
add_attachment()
S
71 2 6
render_media_alt_filter_dropdown()
S
62 2 10
bulk_select_action_handler()
S
64 2 9
__construct()
S
68 1 7
add_bulk_select_action()
S
72 1 5
get_all_images_count()
S
70 1 6
get_images_without_alt_text_count()
S
70 1 6