Updraft_Smush_Task S

Total Complexity 42
Dependencies 3
Dependents 0
Total lines 429
Lines of code 230
Logical lines of code 149
Comment lines 112
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
run()
A
38 13 68
complete()
S
45 4 41
validate_file()
S
57 4 16
backup_original_image()
S
56 3 16
save_optimised_image()
S
63 3 11
fail()
S
58 2 15
post_to_remote_server()
S
65 2 9
set_current_stage()
S
68 2 7
get_current_stage()
S
73 2 5
is_downloaded_image_buffer_mime_type_valid()
S
66 2 7
get_allowed_stages()
S
62 1 11
initialise()
S
73 1 5
process_server_response()
S
77 1 4
get_features()
S
69 1 7
get_default_options()
S
67 1 8