Meow_MWAI_Engines_Replicate D

Total Complexity 157
Dependencies 10
Dependents 1
Total lines 818
Lines of code 655
Logical lines of code 398
Comment lines 73
Methods 19
Properties 10

Methods 19

Method Rating Maintainability Complexity Lines of code
build_body()
C
30 28 113
run_image_query()
B
35 22 77
run_completion_query()
B
35 19 84
execute()
B
38 16 64
retrieve_models()
A
37 14 68
run_query()
A
42 13 49
generate_resolutions()
A
44 10 40
build_messages()
S
48 6 40
build_url()
S
53 7 24
build_headers()
S
56 5 19
build_form_body()
S
55 4 20
build_options()
S
55 3 19
handle_response_errors()
S
69 3 6
try_decode_error()
S
68 2 7
reset_stream()
S
64 1 11
get_models()
S
80 1 3
get_price()
S
82 1 3
set_environment()
S
76 1 4
__construct()
S
76 1 4