-
Home
-
AI Engine
-
2.7.7
-
Code
-
Classes
- Meow_MWAI_Engines_OpenRouter
Total Complexity |
36 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
227 |
Lines of code |
148 |
Logical lines of code |
78 |
Comment lines |
37 |
Methods |
12 |
Properties |
1 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
retrieve_models() |
B |
37 |
17 |
71 |
get_supported_models() |
S |
54 |
6 |
20 |
handle_tokens_usage() |
S |
59 |
3 |
15 |
get_price() |
S |
74 |
2 |
4 |
build_headers() |
S |
62 |
1 |
11 |
__construct() |
S |
79 |
1 |
3 |
set_environment() |
S |
76 |
1 |
4 |
build_url() |
S |
74 |
1 |
4 |
build_body() |
S |
69 |
1 |
6 |
get_service_name() |
S |
82 |
1 |
3 |
get_models() |
S |
80 |
1 |
3 |
truncate_float() |
S |
74 |
1 |
4 |