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

2026-06-29 16:54

Lines of Code by Language

Code, Comments, and Blank Lines Ratio

Language Files Code Comments Blanks Total
Dockerfile
1 11 2 4 17
File Code Comments Blanks Total
./scripts/c2ffi/Dockerfile 11 2 4 17
JSON
1 6 0 0 6
File Code Comments Blanks Total
./renovate.json 6 0 0 6
Markdown
6 0 456 131 587
File Code Comments Blanks Total
./README.md 0 115 75 190
./lib/hts/ffi_ext/README.md 0 6 2 8
./scripts/README.md 0 7 3 10
./scripts/c2ffi/README.md 0 100 23 123
./TUTORIAL.md 0 225 27 252
./test/fixtures/README.md 0 3 1 4
Rakefile
1 43 5 10 58
File Code Comments Blanks Total
./Rakefile 43 5 10 58
Ruby
70 10342 1331 2351 14024
File Code Comments Blanks Total
./examples/bam-write.rb 65 33 21 119
./examples/tagstat.rb 130 1 25 156
./examples/bcf.rb 15 1 3 19
./examples/bam.rb 18 1 3 22
./examples/tabix.rb 6 4 4 14
./examples/snp_pileup.rb 151 31 34 216
./examples/bam-filter.rb 72 8 13 93
./examples/base_mod.rb 46 11 13 70
./lib/hts/libhts.rb 33 7 7 47
./lib/hts/ffi_ext/struct.rb 13 27 5 45
./lib/hts/ffi_ext/pointer.rb 16 1 1 18
./lib/hts/version.rb 3 1 1 5
./lib/hts/bcf.rb 382 15 103 500
./lib/hts/bam.rb 293 58 72 423
./lib/hts/tabix.rb 127 3 32 162
./lib/hts/faidx.rb 154 1 38 193
./lib/hts/hts.rb 103 4 25 132
./lib/hts/bcf/header.rb 371 5 66 442
./lib/hts/bcf/errors.rb 24 1 2 27
./lib/hts/bcf/record.rb 116 8 26 150
./lib/hts/bcf/format.rb 399 13 91 503
./lib/hts/bcf/info.rb 291 49 46 386
./lib/hts/bcf/header_record.rb 40 1 8 49
./lib/hts/libhts/bgzf.rb 127 41 31 199
./lib/hts/libhts/thread_pool.rb 110 2 27 139
./lib/hts/libhts/tbx_funcs.rb 25 1 6 32
./lib/hts/libhts/vcf.rb 367 92 98 557
./lib/hts/libhts/vcf_funcs.rb 244 50 59 353
./lib/hts/libhts/hfile.rb 74 18 17 109
./lib/hts/libhts/constants.rb 551 32 75 658
./lib/hts/libhts/cram.rb 332 56 83 471
./lib/hts/libhts/tbx.rb 59 6 14 79
./lib/hts/libhts/sam_funcs.rb 106 21 28 155
./lib/hts/libhts/fai.rb 99 23 24 146
./lib/hts/libhts/hts.rb 314 84 79 477
./lib/hts/libhts/kfunc.rb 28 4 6 38
./lib/hts/libhts/sam.rb 520 110 130 760
./lib/hts/bam/header.rb 346 21 76 443
./lib/hts/bam/auxi.rb 320 76 82 478
./lib/hts/bam/cigar.rb 60 7 12 79
./lib/hts/bam/flag.rb 68 22 17 107
./lib/hts/bam/pileup.rb 135 32 34 201
./lib/hts/bam/record.rb 246 72 62 380
./lib/hts/bam/mpileup.rb 136 17 22 175
./lib/hts/bam/header_record.rb 9 1 1 11
./lib/hts/bam/base_mod.rb 195 86 62 343
./lib/htslib.rb 46 3 11 60
./scripts/func_diff.rb 46 2 13 61
./scripts/c2ffi/func2rb.rb 12 2 5 19
./scripts/c2ffi/struct2rb.rb 20 2 7 29
./test/bam_test.rb 515 26 119 660
./test/hts_test.rb 70 1 14 85
./test/tagstat_example_test.rb 35 1 8 44
./test/tabix_test.rb 63 2 11 76
./test/faidx_test.rb 105 1 22 128
./test/test_helper.rb 11 1 2 14
./test/header_test.rb 108 8 33 149
./test/bcf_test.rb 332 28 86 446
./test/bcf/record_test.rb 112 3 23 138
./test/bcf/info_test.rb 112 8 20 140
./test/bcf/header_test.rb 166 1 43 210
./test/bcf/format_test.rb 319 25 63 407
./test/bam/base_mod_test.rb 272 24 60 356
./test/bam/flag_test.rb 64 13 14 91
./test/bam/record_test.rb 238 5 50 293
./test/bam/pileup_test.rb 88 10 11 109
./test/bam/cigar_test.rb 55 1 12 68
./test/bam/aux_test.rb 95 1 22 118
./test/bam/header_test.rb 52 1 12 65
./test/bam/mpileup_test.rb 67 4 6 77
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 81 10403 1811 2500 14714

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.