Imagify_NGG_Attachment C

Total Complexity 106
Dependencies 7
Dependents 0
Total lines 1,000
Lines of code 474
Logical lines of code 254
Comment lines 373
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
restore()
C
29 21 135
fill_data()
B
39 18 65
optimize()
A
39 14 64
optimize_thumbnails()
A
48 8 32
__construct()
A
50 8 27
optimize_new_thumbnail()
S
47 5 36
get_image_sizes()
S
49 4 34
get_file_type()
S
60 3 14
get_dimensions()
S
69 3 6
has_required_metadata()
S
69 3 7
update_metadata_size()
S
63 2 11
get_status()
S
74 2 4
delete_imagify_data()
S
72 2 6
get_original_path()
S
72 2 6
get_optimization_level()
S
74 2 4
get_data()
S
75 2 4
get_backup_url()
S
70 2 6
get_raw_backup_path()
S
71 2 6
get_original_url()
S
72 2 6
reoptimize_thumbnails()
S
98 1 1