Meow_MWAI_Engines_Anthropic B

Total Complexity 80
Dependencies 6
Dependents 2
Total lines 405
Lines of code 322
Logical lines of code 159
Comment lines 35
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
run_completion_query()
B
33 21 101
build_body()
B
35 20 89
stream_data_handler()
A
50 13 26
build_messages()
S
48 6 37
replaceEmptyArrayWithObject()
S
63 4 11
handle_tokens_usage()
S
63 4 10
build_url()
S
63 3 10
build_headers()
S
63 1 11
__construct()
S
79 1 3
reset_stream()
S
72 1 6
set_environment()
S
76 1 4
final_checks()
S
91 1 2
get_service_name()
S
82 1 3
get_models()
S
79 1 3
get_models_static()
S
81 1 3
get_price()
S
79 1 3