Java
Java copied to clipboard
feat: Add TokenBucket new algorithm with Junit tests
- [x] I have read CONTRIBUTING.md.
- [x] This pull request is all my own work -- I have not plagiarized it.
- [x] All filenames are in PascalCase.
- [x] All functions and variable names follow Java naming conventions.
- [x] All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
- [x] All new code is formatted with
clang-format -i --style=file path/to/your/file.java
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 70.15%. Comparing base (
9dbdaf6) to head (0894399).
Additional details and impacted files
@@ Coverage Diff @@
## master #5840 +/- ##
============================================
+ Coverage 70.12% 70.15% +0.02%
- Complexity 4749 4753 +4
============================================
Files 633 634 +1
Lines 17279 17295 +16
Branches 3326 3327 +1
============================================
+ Hits 12117 12133 +16
Misses 4705 4705
Partials 457 457
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.