# TokenAwareRateLimiter

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 4 of 191 | 97% | 3 of 42 | 92% | 3 | 31 | 1 | 37 | 0 | 9
getTpmLimit(String) |  | 87% |  | 83% | 1 | 5 | 1 | 6 | 0 | 1
estimateTokens(String) |  | 100% |  | 100% | 0 | 5 | 0 | 7 | 0 | 1
cleanupIdleCounters() |  | 100% |  | 100% | 0 | 4 | 0 | 11 | 0 | 1
isCJK(char) |  | 100% |  | 90% | 2 | 11 | 0 | 1 | 0 | 1
tryConsume(String, String, int) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
refund(String, int) |  | 100% |  | 100% | 0 | 2 | 0 | 4 | 0 | 1
TokenAwareRateLimiter(TranslationLimitProperties) |  | 100% |  | n/a | 0 | 1 | 0 | 4 | 0 | 1
lambda$tryConsume$0(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1