Meow_MWAI_Engines_Google A

Total Complexity 65
Dependencies 3
Dependents 1
Total lines 442
Lines of code 327
Logical lines of code 180
Comment lines 53
Methods 14
Properties 7

Methods 14

Method Rating Maintainability Complexity Lines of code
run_completion_query()
B
34 15 91
build_messages()
A
42 8 61
retrieve_models()
A
43 8 48
run_query()
S
49 7 30
check_for_error()
S
54 5 20
stream_data_handler()
S
61 5 11
build_options()
S
57 3 17
build_headers()
S
62 3 12
handle_tokens_usage()
S
69 3 6
handle_response_errors()
S
64 3 9
set_environment()
S
61 2 12
__construct()
S
76 1 4
get_models()
S
80 1 3
get_price()
S
82 1 3