-
Home
-
AI Engine
-
3.0.9 (latest)
-
Code
-
Classes
- Meow_MWAI_Services_UsageStats
Total Complexity |
66 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
338 |
Lines of code |
265 |
Logical lines of code |
166 |
Comment lines |
38 |
Methods |
9 |
Properties |
3 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
record_tokens_usage() |
A |
40 |
13 |
70 |
estimate_tokens() |
A |
43 |
14 |
46 |
record_images_usage() |
A |
43 |
13 |
56 |
record_audio_usage() |
A |
47 |
9 |
42 |
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 |