-
Home
-
AI Engine
-
3.1.1
-
Code
-
Classes
- Meow_MWAI_Engines_OpenRouter
| Total Complexity |
48 |
| Dependencies |
4 |
| Dependents |
1 |
| Total lines |
291 |
| Lines of code |
197 |
| Logical lines of code |
100 |
| Comment lines |
47 |
| Methods |
13 |
| Properties |
1 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| retrieve_models() |
B |
37 |
17 |
71 |
| handle_tokens_usage() |
A |
54 |
8 |
22 |
| connection_check() |
S |
48 |
5 |
36 |
| get_supported_models() |
S |
54 |
6 |
20 |
| build_headers() |
S |
57 |
3 |
17 |
| get_price() |
S |
74 |
2 |
4 |
| __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 |