Analysis Results: https://github.com/kojix2/ruby-htslib

2026-10-06 01:11

Lines of Code by Language

Code, Comments, and Blank Lines Ratio

Language ↕ Files ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
▶ C
6 2217 33 117 2367
▶ C Header
1 8 0 3 11
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./ext/htslib_native/htslib_native.h 8 0 3 11
▶ Crystal
1 114 15 13 142
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./benchmark/bench_cr.cr 114 15 13 142
▶ JSON
1 6 0 0 6
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./renovate.json 6 0 0 6
▶ Makefile
1 37 0 8 45
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./paper/Makefile 37 0 8 45
▶ Markdown
5 0 451 125 576
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./test/fixtures/README.md 0 3 1 4
./benchmark/README.md 0 17 3 20
./paper/ruby-htslib.ja.md 0 145 27 172
./paper/ruby-htslib.md 0 162 26 188
./README.md 0 124 68 192
▶ Python
1 109 1 15 125
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./benchmark/aggregate.py 109 1 15 125
▶ Rakefile
1 37 4 12 53
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./Rakefile 37 4 12 53
▶ Ruby
64 7725 546 1737 10008
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./test/open_error_test.rb 34 1 7 42
./test/bam_test.rb 540 26 127 693
./test/hts_test.rb 17 1 5 23
./test/bam/aux_test.rb 100 1 23 124
./test/bam/pileup_test.rb 156 10 16 182
./test/bam/record_test.rb 238 5 50 293
./test/bam/flag_test.rb 69 13 15 97
./test/bam/record_build_test.rb 129 1 21 151
./test/bam/cigar_test.rb 55 1 12 68
./test/bam/base_mod_test.rb 273 24 60 357
./test/bam/header_test.rb 52 1 12 65
./test/bam/mpileup_test.rb 166 4 11 181
./test/bam/read_error_test.rb 25 1 8 34
./test/bcf/info_test.rb 118 8 23 149
./test/bcf/record_test.rb 156 3 31 190
./test/bcf/format_test.rb 327 25 67 419
./test/bcf/header_test.rb 176 1 44 221
./test/tagstat_example_test.rb 36 1 8 45
./test/header_test.rb 108 8 33 149
./test/test_helper.rb 22 1 3 26
./test/tabix_test.rb 86 2 16 104
./test/faidx_test.rb 104 1 22 127
./test/performance_plan_test.rb 200 10 31 241
./test/bcf_test.rb 345 28 89 462
./test/native_lifecycle_test.rb 95 1 21 117
./benchmark/gen_vcf.rb 38 7 6 51
./benchmark/bench_ruby.rb 103 16 13 132
./benchmark/gen_sam.rb 34 9 6 49
./benchmark/performance_plan.rb 153 9 18 180
./ext/htslib_native/extconf.rb 33 1 7 41
./lib/hts/bam.rb 373 64 95 532
./lib/hts/native.rb 10 2 1 13
./lib/hts/bam/base_mod.rb 172 84 52 308
./lib/hts/bam/record.rb 259 4 80 343
./lib/hts/bam/header.rb 321 20 75 416
./lib/hts/bam/auxi.rb 175 1 47 223
./lib/hts/bam/flag.rb 76 7 18 101
./lib/hts/bam/mpileup.rb 163 3 35 201
./lib/hts/bam/cigar.rb 24 1 8 33
./lib/hts/bam/pileup.rb 142 1 33 176
./lib/hts/bam/header_record.rb 9 1 1 11
./lib/hts/faidx.rb 106 1 29 136
./lib/hts/tabix.rb 168 6 46 220
./lib/hts/hts.rb 33 3 8 44
./lib/hts/version.rb 3 1 1 5
./lib/hts/bcf/info.rb 114 1 24 139
./lib/hts/bcf/errors.rb 28 1 2 31
./lib/hts/bcf/record.rb 87 4 31 122
./lib/hts/bcf/header.rb 298 4 57 359
./lib/hts/bcf/format.rb 320 4 85 409
./lib/hts/bcf/header_record.rb 17 1 5 23
./lib/hts/bcf.rb 289 3 65 357
./lib/htslib.rb 10 1 3 14
./examples/bam.rb 18 1 3 22
./examples/base_mod.rb 46 11 13 70
./examples/faidx.rb 11 6 5 22
./examples/tabix.rb 6 4 4 14
./examples/tagstat.rb 130 1 25 156
./examples/bam-write.rb 65 33 21 119
./examples/bam-query.rb 8 6 4 18
./examples/snp_pileup.rb 151 31 34 216
./examples/bam-filter.rb 72 8 13 93
./examples/bcf.rb 15 1 3 19
./examples/bcf-write.rb 18 6 6 30
▶ Shell
1 65 1 16 82
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./benchmark/run_all.sh 65 1 16 82
▶ Plain Text
1 0 17 4 21
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./LICENSE.txt 0 17 4 21
Total 83 10318 1068 2050 13436

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.