Imagify_Abstract_Attachment D

Total Complexity 156
Dependencies 2
Dependents 0
Total lines 1,227
Lines of code 406
Logical lines of code 244
Comment lines 625
Methods 57
Properties 12

Methods 57

Method Rating Maintainability Complexity Lines of code
get_unoptimized_sizes()
B
43 19 42
resize()
A
45 14 37
get_original_size()
A
56 9 18
get_optimized_size()
S
58 8 15
__construct()
S
57 7 16
get_optimized_sizes_count()
S
58 6 15
get_row()
S
62 5 13
get_file_type()
S
55 4 22
get_editor_methods()
S
59 3 16
get_backup_path()
S
65 4 10
get_extension()
S
63 3 11
get_size_data()
S
63 3 11
get_stats_data()
S
64 3 11
get_context()
S
65 3 9
get_saving_percent()
S
66 3 8
update_row()
S
68 3 7
delete_row()
S
69 3 7
is_exceeded()
S
67 3 8
get_overall_saving_percent()
S
65 3 8
delete_running_status()
S
75 2 4
get_registered_sizes()
S
69 2 7
delete_backup()
S
72 2 6
has_required_metadata()
S
71 2 6
is_pdf()
S
69 2 7
is_image()
S
68 2 7
get_backup_url()
S
71 2 6
delete_imagify_data()
S
67 2 8
get_optimized_error()
S
68 2 7
get_editor()
S
66 2 9
set_running_status()
S
73 2 4
is_running()
S
74 2 4
restore()
S
100 1 0
reoptimize_thumbnails()
S
100 1 0
get_mime_type()
S
81 1 3
get_original_url()
S
100 1 0
optimize()
S
100 1 0
get_original_path()
S
100 1 0
get_id()
S
82 1 3
is_valid()
S
81 1 3
get_row_db_instance()
S
79 1 3
invalidate_row()
S
77 1 4
optimize_missing_thumbnails()
S
100 1 0
update_metadata_size()
S
100 1 0
fill_data()
S
100 1 0
get_raw_backup_path()
S
100 1 0
has_error()
S
80 1 3
has_backup()
S
80 1 3
get_data()
S
100 1 0
is_optimized()
S
80 1 3
is_already_optimized()
S
80 1 3
get_optimization_level()
S
100 1 0
get_status()
S
100 1 0
get_dimensions()
S
72 1 6
get_optimization_level_label()
S
79 1 3
is_mime_type_supported()
S
80 1 3
is_extension_supported()
S
80 1 3
reset_row_cache()
S
77 1 4