Smush\Core\Modules\Resize A

Total Complexity 68
Dependencies 2
Dependents 1
Total lines 415
Lines of code 183
Logical lines of code 116
Comment lines 162
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
should_resize()
B
44 20 39
auto_resize()
A
45 14 40
perform_resize()
A
49 9 33
initialize()
A
55 10 16
maybe_unlink()
A
53 8 23
try_gd_fallback()
S
62 2 13
file_name()
S
72 2 6
init()
S
75 1 4
maybe_disable_module()
S
75 1 4
replace_original_image()
S
72 1 5