Analysis Results: https://github.com/kojix2/tiktoken-c

2026-06-13 05:53

Lines of Code by Language

Code, Comments, and Blank Lines Ratio

Language Files Code Comments Blanks Total
C
3 196 7 32 235
File Code Comments Blanks Total
./examples/count_tokens.c 28 4 4 36
./examples/count_chat_tokens.c 30 3 8 41
./test/run_tests.c 138 0 20 158
C Header
1 81 1 40 122
File Code Comments Blanks Total
./tiktoken.h 81 1 40 122
JSON
1 7 0 1 8
File Code Comments Blanks Total
./renovate.json 7 0 1 8
Markdown
1 0 71 40 111
File Code Comments Blanks Total
./README.md 0 71 40 111
Rust
4 1818 13 144 1975
File Code Comments Blanks Total
./src/corebpe.rs 161 3 21 185
./src/alloc.rs 39 0 3 42
./src/utils.rs 40 0 7 47
./src/lib.rs 1578 10 113 1701
Shell
1 7 1 4 12
File Code Comments Blanks Total
./test/test.sh 7 1 4 12
Plain Text
1 0 17 4 21
File Code Comments Blanks Total
./LICENSE.txt 0 17 4 21
TOML
1 30 0 5 35
File Code Comments Blanks Total
./Cargo.toml 30 0 5 35
Total 13 2139 110 270 2519

README Badges

Add these badges to your README.md to showcase your code statistics:

Lines of Code GitHub
Top Language GitHub
Languages GitHub
Code to Comment Ratio GitHub
Note: These badges are dynamic and will automatically reflect the latest analysis of your repository. For efficiency, analysis results are cached for 24 hours. If you've made changes to your repository and want to update the badge data, you can run a new analysis after the cache period expires.
GitHub Badge: Using GitHub-specific badge format. This URL format is optimized for GitHub repositories.