Imagify_Auto_Optimization A

Total Complexity 64
Dependencies 0
Dependents 1
Total lines 639
Lines of code 222
Logical lines of code 141
Comment lines 317
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
store_ids_to_optimize()
A
45 13 44
do_auto_optimization()
S
50 7 26
prevent_auto_optimization_when_recovering_from_upload_failure()
S
55 7 20
maybe_do_auto_optimization_after_recovering_from_upload_failure()
S
55 5 21
do_auto_optimization_after_meta_update()
S
62 4 12
maybe_store_generate_step()
S
63 4 11
init()
S
55 2 18
remove_hooks()
S
57 2 16
store_upload_ids()
S
72 3 5
allow_optimization()
S
65 3 9
unset_optimization()
S
71 2 6
set_step()
S
71 2 6
unset_step()
S
71 2 6
prevent_optimization()
S
68 2 7
is_optimization_prevented()
S
77 2 3
unset_steps()
S
80 1 3
has_step()
S
78 1 3
prevent_optimization_internally()
S
79 1 3
allow_optimization_internally()
S
79 1 3