-
Home
-
AI Engine
-
3.1.9
-
Code
-
Classes
- Meow_MWAI_Services_UsageStats
| Total Complexity |
109 |
| Dependencies |
3 |
| Dependents |
1 |
| Total lines |
474 |
| Lines of code |
387 |
| Logical lines of code |
246 |
| Comment lines |
47 |
| Methods |
11 |
| Properties |
3 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| record_tokens_usage() |
C |
35 |
22 |
96 |
| record_images_usage() |
B |
39 |
19 |
68 |
| record_videos_usage() |
B |
39 |
19 |
68 |
| estimate_tokens() |
A |
43 |
14 |
46 |
| record_audio_usage() |
A |
47 |
9 |
42 |
| get_model_info() |
A |
57 |
9 |
16 |
| get_tiktoken_encoder() |
S |
54 |
5 |
21 |
| fallback_estimate_tokens() |
S |
61 |
5 |
11 |
| cleanup_old_monthly_data() |
S |
66 |
3 |
8 |
| cleanup_old_daily_data() |
S |
66 |
3 |
8 |
| __construct() |
S |
81 |
1 |
3 |