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

2026-08-18 18:19

Lines of Code by Language

Code, Comments, and Blank Lines Ratio

Language Files Code Comments Blanks Total
C
5 1827 7 92 1926
C Header
1 8 0 3 11
File Code Comments Blanks Total
./ext/htslib_native/htslib_native.h 8 0 3 11
JSON
1 6 0 0 6
File Code Comments Blanks Total
./renovate.json 6 0 0 6
Markdown
4 0 361 100 461
File Code Comments Blanks Total
./TUTORIAL.md 0 218 26 244
./README.md 0 122 68 190
./test/fixtures/README.md 0 3 1 4
./benchmark/README.md 0 18 5 23
Rakefile
1 37 4 12 53
File Code Comments Blanks Total
./Rakefile 37 4 12 53
Ruby
56 7226 490 1622 9338
File Code Comments Blanks Total
./lib/hts/hts.rb 33 3 8 44
./lib/hts/bam.rb 337 61 85 483
./lib/hts/bcf.rb 267 1 58 326
./lib/hts/tabix.rb 157 7 43 207
./lib/hts/version.rb 3 1 1 5
./lib/hts/faidx.rb 105 1 28 134
./lib/hts/bcf/errors.rb 25 1 2 28
./lib/hts/bcf/info.rb 113 1 24 138
./lib/hts/bcf/format.rb 314 4 84 402
./lib/hts/bcf/header_record.rb 17 1 5 23
./lib/hts/bcf/record.rb 81 2 26 109
./lib/hts/bcf/header.rb 296 4 57 357
./lib/hts/native.rb 10 2 1 13
./lib/hts/bam/flag.rb 73 9 17 99
./lib/hts/bam/pileup.rb 142 1 33 176
./lib/hts/bam/header_record.rb 9 1 1 11
./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/base_mod.rb 171 84 52 307
./lib/hts/bam/mpileup.rb 163 3 35 201
./lib/hts/bam/cigar.rb 24 1 8 33
./lib/htslib.rb 10 1 3 14
./examples/bam.rb 18 1 3 22
./examples/tagstat.rb 130 1 25 156
./examples/bam-filter.rb 72 8 13 93
./examples/bcf.rb 15 1 3 19
./examples/tabix.rb 6 4 4 14
./examples/snp_pileup.rb 151 31 34 216
./examples/bam-write.rb 65 33 21 119
./examples/base_mod.rb 46 11 13 70
./ext/htslib_native/extconf.rb 33 1 7 41
./test/faidx_test.rb 104 1 22 127
./test/header_test.rb 108 8 33 149
./test/native_lifecycle_test.rb 48 1 11 60
./test/tagstat_example_test.rb 36 1 8 45
./test/tabix_test.rb 86 2 16 104
./test/bam_test.rb 533 26 125 684
./test/bcf/record_test.rb 128 3 25 156
./test/bcf/info_test.rb 112 8 20 140
./test/bcf/header_test.rb 171 1 44 216
./test/bcf/format_test.rb 314 25 64 403
./test/test_helper.rb 22 1 3 26
./test/performance_plan_test.rb 200 10 31 241
./test/bam/base_mod_test.rb 272 24 60 356
./test/bam/record_test.rb 238 5 50 293
./test/bam/header_test.rb 52 1 12 65
./test/bam/pileup_test.rb 156 10 16 182
./test/bam/record_build_test.rb 108 1 15 124
./test/bam/flag_test.rb 64 13 14 91
./test/bam/cigar_test.rb 55 1 12 68
./test/bam/aux_test.rb 100 1 23 124
./test/bam/mpileup_test.rb 166 4 11 181
./test/bcf_test.rb 342 28 88 458
./test/hts_test.rb 17 1 5 23
./benchmark/performance_plan.rb 153 9 18 180
SVG
1 1 0 0 1
File Code Comments Blanks Total
./diagram.svg 1 0 0 1
Plain Text
1 0 17 4 21
File Code Comments Blanks Total
./LICENSE.txt 0 17 4 21
Total 70 9105 879 1833 11817

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.