-
Home
-
AI Engine
-
2.5.6
-
Code
-
Classes
- Meow_MWAI_Engines_OpenRouter
Total Complexity |
33 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
183 |
Lines of code |
146 |
Logical lines of code |
81 |
Comment lines |
12 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
retrieve_models() |
A |
39 |
13 |
61 |
handle_tokens_usage() |
A |
45 |
10 |
39 |
get_price() |
S |
68 |
2 |
7 |
build_headers() |
S |
61 |
1 |
12 |
__construct() |
S |
79 |
1 |
3 |
set_environment() |
S |
76 |
1 |
4 |
build_url() |
S |
72 |
1 |
5 |
build_body() |
S |
72 |
1 |
5 |
truncate_float() |
S |
74 |
1 |
4 |
get_service_name() |
S |
82 |
1 |
3 |
get_models() |
S |
80 |
1 |
3 |