---
Fuzzer filename: '/src/htslib/test/fuzz/hts_open_fuzzer.c'
All functions:
  Function list name: All functions
  Elements:
    - functionName:    hts_close_or_abort
      functionSourceFile: '/src/htslib/test/fuzz/hts_open_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 40
      functionLinenumberEnd: 44
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          26
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - abort
        - hts_close
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'test/fuzz/hts_open_fuzzer.c:41,9'
          Dst:             hts_close
        - Src:             'test/fuzz/hts_open_fuzzer.c:42,9'
          Dst:             abort
    - functionName:    abort
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    27
      BranchProfiles:  []
      Callsites:       []
    - functionName:    view_vcf
      functionSourceFile: '/src/htslib/test/fuzz/hts_open_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 121
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          151
      EdgeCount:       34
      CyclomaticComplexity: 9
      functionsReached:
        - abort
        - bcf_destroy
        - bcf_hdr_destroy
        - bcf_hdr_read
        - bcf_hdr_write
        - bcf_init
        - bcf_read
        - bcf_write
        - hclose
        - hopen
        - hts_close
        - hts_close_or_abort
        - hts_hopen
        - hts_open
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'test/fuzz/hts_open_fuzzer.c:124,9'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:128,22'
          Dst:             hopen
        - Src:             'test/fuzz/hts_open_fuzzer.c:134,19'
          Dst:             hts_hopen
        - Src:             'test/fuzz/hts_open_fuzzer.c:136,13'
          Dst:             hclose
        - Src:             'test/fuzz/hts_open_fuzzer.c:137,13'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:141,20'
          Dst:             hts_open
        - Src:             'test/fuzz/hts_open_fuzzer.c:143,9'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:145,22'
          Dst:             bcf_hdr_read
        - Src:             'test/fuzz/hts_open_fuzzer.c:147,9'
          Dst:             hts_close_or_abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:148,9'
          Dst:             hts_close
        - Src:             'test/fuzz/hts_open_fuzzer.c:152,9'
          Dst:             bcf_hdr_write
        - Src:             'test/fuzz/hts_open_fuzzer.c:155,19'
          Dst:             bcf_init
        - Src:             'test/fuzz/hts_open_fuzzer.c:159,12'
          Dst:             bcf_read
        - Src:             'test/fuzz/hts_open_fuzzer.c:160,13'
          Dst:             bcf_write
        - Src:             'test/fuzz/hts_open_fuzzer.c:163,5'
          Dst:             bcf_destroy
        - Src:             'test/fuzz/hts_open_fuzzer.c:166,5'
          Dst:             bcf_hdr_destroy
        - Src:             'test/fuzz/hts_open_fuzzer.c:167,5'
          Dst:             hts_close_or_abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:168,5'
          Dst:             hts_close
    - functionName:    view_sam
      functionSourceFile: '/src/htslib/test/fuzz/hts_open_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          180
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - abort
        - bam_destroy1
        - bam_init1
        - hclose
        - hopen
        - hts_close
        - hts_close_or_abort
        - hts_hopen
        - hts_open
        - sam_hdr_count_lines
        - sam_hdr_destroy
        - sam_hdr_read
        - sam_hdr_write
        - sam_read1
        - sam_write1
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'test/fuzz/hts_open_fuzzer.c:50,9'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:54,22'
          Dst:             hopen
        - Src:             'test/fuzz/hts_open_fuzzer.c:60,19'
          Dst:             hts_hopen
        - Src:             'test/fuzz/hts_open_fuzzer.c:62,13'
          Dst:             hclose
        - Src:             'test/fuzz/hts_open_fuzzer.c:63,13'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:67,20'
          Dst:             hts_open
        - Src:             'test/fuzz/hts_open_fuzzer.c:69,9'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:86,22'
          Dst:             sam_hdr_read
        - Src:             'test/fuzz/hts_open_fuzzer.c:89,13'
          Dst:             hts_close_or_abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:91,13'
          Dst:             hts_close
        - Src:             'test/fuzz/hts_open_fuzzer.c:92,9'
          Dst:             hts_close
        - Src:             'test/fuzz/hts_open_fuzzer.c:97,12'
          Dst:             sam_hdr_count_lines
        - Src:             'test/fuzz/hts_open_fuzzer.c:99,9'
          Dst:             sam_hdr_write
        - Src:             'test/fuzz/hts_open_fuzzer.c:102,17'
          Dst:             bam_init1
        - Src:             'test/fuzz/hts_open_fuzzer.c:106,12'
          Dst:             sam_read1
        - Src:             'test/fuzz/hts_open_fuzzer.c:107,13'
          Dst:             sam_write1
        - Src:             'test/fuzz/hts_open_fuzzer.c:110,5'
          Dst:             bam_destroy1
        - Src:             'test/fuzz/hts_open_fuzzer.c:113,5'
          Dst:             sam_hdr_destroy
        - Src:             'test/fuzz/hts_open_fuzzer.c:115,9'
          Dst:             hts_close_or_abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:117,9'
          Dst:             hts_close
        - Src:             'test/fuzz/hts_open_fuzzer.c:118,5'
          Dst:             hts_close
    - functionName:    LLVMFuzzerTestOneInput
      functionSourceFile: '/src/htslib/test/fuzz/hts_open_fuzzer.c'
      linkageType:     externalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 213
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          111
      EdgeCount:       17
      CyclomaticComplexity: 3
      functionsReached:
        - abort
        - hclose
        - hopen
        - hts_close
        - hts_hopen
        - view_sam
        - view_vcf
      functionUses:    0
      BranchProfiles:
        - Branch String:   'test/fuzz/hts_open_fuzzer.c:199,5'
          Branch Sides:    []
      Callsites:
        - Src:             'test/fuzz/hts_open_fuzzer.c:176,9'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:180,15'
          Dst:             hopen
        - Src:             'test/fuzz/hts_open_fuzzer.c:186,24'
          Dst:             hts_hopen
        - Src:             'test/fuzz/hts_open_fuzzer.c:188,13'
          Dst:             hclose
        - Src:             'test/fuzz/hts_open_fuzzer.c:189,13'
          Dst:             abort
        - Src:             'test/fuzz/hts_open_fuzzer.c:194,5'
          Dst:             hts_close
        - Src:             'test/fuzz/hts_open_fuzzer.c:201,13'
          Dst:             view_sam
        - Src:             'test/fuzz/hts_open_fuzzer.c:202,13'
          Dst:             view_sam
        - Src:             'test/fuzz/hts_open_fuzzer.c:203,13'
          Dst:             view_sam
        - Src:             'test/fuzz/hts_open_fuzzer.c:206,13'
          Dst:             view_vcf
        - Src:             'test/fuzz/hts_open_fuzzer.c:207,13'
          Dst:             view_vcf
    - functionName:    ks_clear
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    __errno_location
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    427
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_clear_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hrecs_remove_hash_entry
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 414
      functionLinenumberEnd: 491
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         89
      ICount:          595
      EdgeCount:       115
      CyclomaticComplexity: 28
      functionsReached:
        - TYPEKEY
        - __assert_fail
        - kh_del_m_s2i
        - kh_get_m_s2i
        - sam_hrecs_remove_ref_altnames
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:423,17'
          Dst:             TYPEKEY
        - Src:             'header.c:430,17'
          Dst:             __assert_fail
        - Src:             'header.c:433,17'
          Dst:             __assert_fail
        - Src:             'header.c:440,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:447,21'
          Dst:             sam_hrecs_remove_ref_altnames
        - Src:             'header.c:448,17'
          Dst:             kh_del_m_s2i
        - Src:             'header.c:463,17'
          Dst:             TYPEKEY
        - Src:             'header.c:468,17'
          Dst:             __assert_fail
        - Src:             'header.c:470,21'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:475,21'
          Dst:             kh_del_m_s2i
    - functionName:    TYPEKEY
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 61
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          22
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    29
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __assert_fail
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    117
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_get_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    23
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:169,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             './header.h:169,1'
          Dst:             strcmp
    - functionName:    sam_hrecs_remove_ref_altnames
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 135
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          139
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - kh_del_m_s2i
        - kh_get_m_s2i
        - kputsn
        - ks_clear
        - kstrtok
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:125,18'
          Dst:             kstrtok
        - Src:             'header.c:126,38'
          Dst:             ks_clear
        - Src:             'header.c:126,9'
          Dst:             kputsn
        - Src:             'header.c:127,21'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:130,16'
          Dst:             strcmp
        - Src:             'header.c:131,13'
          Dst:             kh_del_m_s2i
        - Src:             'header.c:125,59'
          Dst:             kstrtok
    - functionName:    kh_del_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    strcmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    248
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    realloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    154
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_del_sam_hrecs_t
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputc_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:270,6'
          Dst:             ks_resize
    - functionName:    sam_hrecs_add_ref_altnames
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 114
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          134
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - hts_log
        - kh_put_m_s2i
        - kstrtok
        - string_ndup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:96,18'
          Dst:             kstrtok
        - Src:             'header.c:100,22'
          Dst:             string_ndup
        - Src:             'header.c:104,21'
          Dst:             kh_put_m_s2i
        - Src:             'header.c:110,13'
          Dst:             hts_log
        - Src:             'header.c:96,59'
          Dst:             kstrtok
    - functionName:    kh_put_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_m_s2i
        - strcmp
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:169,1'
          Dst:             kh_resize_m_s2i
        - Src:             './header.h:169,1'
          Dst:             kh_resize_m_s2i
        - Src:             './header.h:169,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             './header.h:169,1'
          Dst:             strcmp
    - functionName:    kh_resize_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:169,1'
          Dst:             __errno_location
        - Src:             './header.h:169,1'
          Dst:             realloc
        - Src:             './header.h:169,1'
          Dst:             realloc
        - Src:             './header.h:169,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             './header.h:169,1'
          Dst:             realloc
        - Src:             './header.h:169,1'
          Dst:             realloc
    - functionName:    sam_hrecs_update
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2992
      functionLinenumberEnd: 2998
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_hrecs_vupdate
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2996,11'
          Dst:             sam_hrecs_vupdate
    - functionName:    sam_hrecs_vupdate
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2941
      functionLinenumberEnd: 2980
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          203
      EdgeCount:       41
      CyclomaticComplexity: 12
      functionsReached:
        - hts_add_sat2
        - pool_alloc
        - sam_hrecs_find_key
        - snprintf
        - string_alloc
        - strlen
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2954,15'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:2956,25'
          Dst:             pool_alloc
        - Src:             'header.c:2966,24'
          Dst:             strlen
        - Src:             'header.c:2967,45'
          Dst:             hts_add_sat2
        - Src:             'header.c:2967,15'
          Dst:             string_alloc
        - Src:             'header.c:2971,13'
          Dst:             snprintf
    - functionName:    sam_hrecs_find_key
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3013
      functionLinenumberEnd: 3030
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          109
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strlen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    120
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    snprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    37
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_initialize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputuw
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 287
      functionLinenumberEnd: 369
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          169
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:320,13'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:350,9'
          Dst:             ks_resize
    - functionName:    kh_resize_sam_hrecs_t
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          585
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:168,1'
          Dst:             __errno_location
        - Src:             './header.h:168,1'
          Dst:             realloc
        - Src:             './header.h:168,1'
          Dst:             realloc
        - Src:             './header.h:168,1'
          Dst:             realloc
        - Src:             './header.h:168,1'
          Dst:             realloc
    - functionName:    sam_hrecs_free_tags
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 695
      functionLinenumberEnd: 702
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          54
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - pool_free
        - sam_hrecs_free_tags
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:699,9'
          Dst:             sam_hrecs_free_tags
        - Src:             'header.c:701,5'
          Dst:             pool_free
    - functionName:    sam_hrecs_global_list_add
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 503
      functionLinenumberEnd: 530
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          131
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - TYPEKEY
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:504,31'
          Dst:             TYPEKEY
    - functionName:    parse_noncomment_line
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 829
      functionLinenumberEnd: 884
      functionDepth:   0
      returnType:      size_t
      argCount:        7
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          364
      EdgeCount:       74
      CyclomaticComplexity: 21
      functionsReached:
        - TYPEKEY
        - pool_alloc
        - sam_hrecs_error
        - string_ndup
        - warn_if_known_stderr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:832,33'
          Dst:             TYPEKEY
        - Src:             'header.c:842,13'
          Dst:             sam_hrecs_error
        - Src:             'header.c:843,13'
          Dst:             warn_if_known_stderr
        - Src:             'header.c:853,13'
          Dst:             sam_hrecs_error
        - Src:             'header.c:854,13'
          Dst:             warn_if_known_stderr
        - Src:             'header.c:866,23'
          Dst:             pool_alloc
        - Src:             'header.c:868,22'
          Dst:             string_ndup
    - functionName:    sam_hrecs_error
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 66
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          75
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - hts_log
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:65,5'
          Dst:             hts_log
    - functionName:    warn_if_known_stderr
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 789
      functionLinenumberEnd: 797
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          68
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - kmemmem
        - known_stderr
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:791,9'
          Dst:             kmemmem
        - Src:             'header.c:792,9'
          Dst:             known_stderr
        - Src:             'header.c:793,14'
          Dst:             kmemmem
        - Src:             'header.c:794,9'
          Dst:             known_stderr
        - Src:             'header.c:795,14'
          Dst:             kmemmem
        - Src:             'header.c:796,9'
          Dst:             known_stderr
    - functionName:    known_stderr
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 784
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_log
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:782,5'
          Dst:             hts_log
        - Src:             'header.c:783,5'
          Dst:             hts_log
    - functionName:    parse_comment_line
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 802
      functionLinenumberEnd: 823
      functionDepth:   0
      returnType:      size_t
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          148
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - pool_alloc
        - sam_hrecs_error
        - string_ndup
        - warn_if_known_stderr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:807,9'
          Dst:             sam_hrecs_error
        - Src:             'header.c:808,9'
          Dst:             warn_if_known_stderr
        - Src:             'header.c:815,33'
          Dst:             pool_alloc
        - Src:             'header.c:817,18'
          Dst:             string_ndup
    - functionName:    kh_put_sam_hrecs_t
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          423
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_sam_hrecs_t
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:168,1'
          Dst:             kh_resize_sam_hrecs_t
        - Src:             './header.h:168,1'
          Dst:             kh_resize_sam_hrecs_t
    - functionName:    sam_hrecs_add
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 682
      functionLinenumberEnd: 688
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_hrecs_vadd
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:686,11'
          Dst:             sam_hrecs_vadd
    - functionName:    sam_hrecs_vadd
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 553
      functionLinenumberEnd: 679
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          698
      EdgeCount:       132
      CyclomaticComplexity: 33
      functionsReached:
        - TYPEKEY
        - __assert_fail
        - hts_add_sat2
        - kh_put_sam_hrecs_t
        - pool_alloc
        - sam_hrecs_find_type_id
        - sam_hrecs_global_list_add
        - sam_hrecs_update_hashes
        - sam_hrecs_vupdate
        - snprintf
        - string_alloc
        - string_ndup
        - strlen
        - strncmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:558,24'
          Dst:             TYPEKEY
        - Src:             'header.c:560,10'
          Dst:             strncmp
        - Src:             'header.c:560,46'
          Dst:             sam_hrecs_find_type_id
        - Src:             'header.c:561,16'
          Dst:             sam_hrecs_vupdate
        - Src:             'header.c:563,20'
          Dst:             pool_alloc
        - Src:             'header.c:565,9'
          Dst:             kh_put_sam_hrecs_t
        - Src:             'header.c:576,9'
          Dst:             __assert_fail
        - Src:             'header.c:590,5'
          Dst:             sam_hrecs_global_list_add
        - Src:             'header.c:593,5'
          Dst:             __assert_fail
        - Src:             'header.c:594,5'
          Dst:             __assert_fail
        - Src:             'header.c:595,5'
          Dst:             __assert_fail
        - Src:             'header.c:596,5'
          Dst:             __assert_fail
        - Src:             'header.c:605,13'
          Dst:             strncmp
        - Src:             'header.c:610,23'
          Dst:             pool_alloc
        - Src:             'header.c:613,13'
          Dst:             strncmp
        - Src:             'header.c:614,30'
          Dst:             strlen
        - Src:             'header.c:615,49'
          Dst:             hts_add_sat2
        - Src:             'header.c:615,19'
          Dst:             string_alloc
        - Src:             'header.c:616,25'
          Dst:             snprintf
        - Src:             'header.c:620,26'
          Dst:             strlen
        - Src:             'header.c:621,26'
          Dst:             string_ndup
        - Src:             'header.c:642,13'
          Dst:             strncmp
        - Src:             'header.c:645,23'
          Dst:             pool_alloc
        - Src:             'header.c:648,13'
          Dst:             strncmp
        - Src:             'header.c:649,30'
          Dst:             strlen
        - Src:             'header.c:650,49'
          Dst:             hts_add_sat2
        - Src:             'header.c:650,19'
          Dst:             string_alloc
        - Src:             'header.c:651,25'
          Dst:             snprintf
        - Src:             'header.c:655,26'
          Dst:             strlen
        - Src:             'header.c:656,26'
          Dst:             string_ndup
        - Src:             'header.c:670,46'
          Dst:             TYPEKEY
        - Src:             'header.c:670,15'
          Dst:             sam_hrecs_update_hashes
        - Src:             'header.c:673,10'
          Dst:             strncmp
    - functionName:    strncmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    89
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hrecs_find_type_id
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2868
      functionLinenumberEnd: 2929
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         78
      ICount:          502
      EdgeCount:       107
      CyclomaticComplexity: 31
      functionsReached:
        - TYPEKEY
        - kh_get_m_s2i
        - kh_get_sam_hrecs_t
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2881,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2889,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2897,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2904,9'
          Dst:             TYPEKEY
        - Src:             'header.c:2904,9'
          Dst:             kh_get_sam_hrecs_t
    - functionName:    sam_hrecs_update_hashes
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 144
      functionLinenumberEnd: 412
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         197
      ICount:          1587
      EdgeCount:       263
      CyclomaticComplexity: 68
      functionsReached:
        - TYPEKEY
        - __assert_fail
        - hts_log
        - hts_realloc_p
        - kh_get_m_s2i
        - kh_put_m_s2i
        - sam_hrecs_add_ref_altnames
        - sam_hrecs_find_key
        - sam_hrecs_update
        - snprintf
        - strcmp
        - strtoll
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:146,17'
          Dst:             TYPEKEY
        - Src:             'header.c:157,17'
          Dst:             __assert_fail
        - Src:             'header.c:160,17'
          Dst:             __assert_fail
        - Src:             'header.c:162,23'
          Dst:             strtoll
        - Src:             'header.c:167,17'
          Dst:             __assert_fail
        - Src:             'header.c:174,13'
          Dst:             hts_log
        - Src:             'header.c:179,13'
          Dst:             hts_log
        - Src:             'header.c:185,13'
          Dst:             hts_log
        - Src:             'header.c:191,13'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:203,21'
          Dst:             snprintf
        - Src:             'header.c:205,25'
          Dst:             sam_hrecs_update
        - Src:             'header.c:209,21'
          Dst:             sam_hrecs_add_ref_altnames
        - Src:             'header.c:223,47'
          Dst:             strcmp
        - Src:             'header.c:227,21'
          Dst:             sam_hrecs_add_ref_altnames
        - Src:             'header.c:237,17'
          Dst:             strcmp
        - Src:             'header.c:238,17'
          Dst:             hts_log
        - Src:             'header.c:246,13'
          Dst:             hts_log
        - Src:             'header.c:252,38'
          Dst:             hts_realloc_p
        - Src:             'header.c:263,13'
          Dst:             kh_put_m_s2i
        - Src:             'header.c:267,13'
          Dst:             sam_hrecs_add_ref_altnames
        - Src:             'header.c:276,17'
          Dst:             TYPEKEY
        - Src:             'header.c:277,31'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:282,13'
          Dst:             hts_log
        - Src:             'header.c:285,9'
          Dst:             __assert_fail
        - Src:             'header.c:288,13'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:291,13'
          Dst:             __assert_fail
        - Src:             'header.c:293,17'
          Dst:             hts_log
        - Src:             'header.c:304,37'
          Dst:             hts_realloc_p
        - Src:             'header.c:316,13'
          Dst:             kh_put_m_s2i
        - Src:             'header.c:324,17'
          Dst:             TYPEKEY
        - Src:             'header.c:331,22'
          Dst:             hts_realloc_p
        - Src:             'header.c:349,21'
          Dst:             __assert_fail
        - Src:             'header.c:353,21'
          Dst:             hts_log
        - Src:             'header.c:358,21'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:388,17'
          Dst:             kh_put_m_s2i
        - Src:             'header.c:400,26'
          Dst:             hts_realloc_p
    - functionName:    strtoll
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    13
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    kh_get_sam_hrecs_t
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          155
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hdr_remove_tag_all
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3185
      functionLinenumberEnd: 3219
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          158
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - TYPEKEY
        - kh_get_sam_hrecs_t
        - sam_hdr_fill_hrecs
        - sam_hrecs_remove_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:3196,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:3201,9'
          Dst:             TYPEKEY
        - Src:             'header.c:3201,9'
          Dst:             kh_get_sam_hrecs_t
        - Src:             'header.c:3209,20'
          Dst:             sam_hrecs_remove_key
    - functionName:    sam_hdr_fill_hrecs
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1290
      functionLinenumberEnd: 1322
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         29
      ICount:          154
      EdgeCount:       40
      CyclomaticComplexity: 13
      functionsReached:
        - add_stub_ref_sq_lines
        - rebuild_target_arrays
        - sam_hrecs_free
        - sam_hrecs_new
        - sam_hrecs_parse_lines
        - sam_hrecs_refs_from_targets_array
      functionUses:    22
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1291,26'
          Dst:             sam_hrecs_new
        - Src:             'header.c:1297,13'
          Dst:             sam_hrecs_refs_from_targets_array
        - Src:             'header.c:1298,13'
          Dst:             sam_hrecs_free
        - Src:             'header.c:1305,13'
          Dst:             sam_hrecs_parse_lines
        - Src:             'header.c:1306,13'
          Dst:             sam_hrecs_free
        - Src:             'header.c:1311,9'
          Dst:             add_stub_ref_sq_lines
        - Src:             'header.c:1312,9'
          Dst:             sam_hrecs_free
        - Src:             'header.c:1318,37'
          Dst:             rebuild_target_arrays
    - functionName:    sam_hrecs_remove_key
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3034
      functionLinenumberEnd: 3062
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          190
      EdgeCount:       38
      CyclomaticComplexity: 10
      functionsReached:
        - TYPEKEY
        - __assert_fail
        - kh_get_m_s2i
        - pool_free
        - sam_hrecs_find_key
        - sam_hrecs_remove_ref_altnames
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:3038,11'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:3042,23'
          Dst:             TYPEKEY
        - Src:             'header.c:3043,9'
          Dst:             __assert_fail
        - Src:             'header.c:3044,34'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:3046,13'
          Dst:             __assert_fail
        - Src:             'header.c:3047,25'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:3049,17'
          Dst:             sam_hrecs_remove_ref_altnames
        - Src:             'header.c:3058,5'
          Dst:             pool_free
    - functionName:    sam_hrecs_new
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2734
      functionLinenumberEnd: 2797
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         35
      ICount:          226
      EdgeCount:       48
      CyclomaticComplexity: 15
      functionsReached:
        - calloc
        - kh_destroy_sam_hrecs_t
        - kh_init_m_s2i
        - kh_init_sam_hrecs_t
        - pool_create
        - pool_destroy
        - sam_hrecs_init_type_order
        - string_pool_create
        - string_pool_destroy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2735,26'
          Dst:             calloc
        - Src:             'header.c:2740,16'
          Dst:             kh_init_sam_hrecs_t
        - Src:             'header.c:2749,29'
          Dst:             kh_init_m_s2i
        - Src:             'header.c:2756,28'
          Dst:             kh_init_m_s2i
        - Src:             'header.c:2764,28'
          Dst:             kh_init_m_s2i
        - Src:             'header.c:2767,29'
          Dst:             pool_create
        - Src:             'header.c:2770,30'
          Dst:             pool_create
        - Src:             'header.c:2773,29'
          Dst:             string_pool_create
        - Src:             'header.c:2776,9'
          Dst:             sam_hrecs_init_type_order
        - Src:             'header.c:2783,9'
          Dst:             kh_destroy_sam_hrecs_t
        - Src:             'header.c:2786,9'
          Dst:             pool_destroy
        - Src:             'header.c:2789,9'
          Dst:             pool_destroy
        - Src:             'header.c:2792,9'
          Dst:             string_pool_destroy
    - functionName:    sam_hrecs_refs_from_targets_array
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1183
      functionLinenumberEnd: 1252
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         48
      ICount:          397
      EdgeCount:       64
      CyclomaticComplexity: 18
      functionsReached:
        - __errno_location
        - hts_log
        - hts_realloc_p
        - kh_del_m_s2i
        - kh_get_m_s2i
        - kh_get_s2i
        - kh_grow_to_fit_m_s2i
        - kh_put_m_s2i
        - strerror
        - string_dup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1193,9'
          Dst:             hts_log
        - Src:             'header.c:1198,34'
          Dst:             hts_realloc_p
        - Src:             'header.c:1207,9'
          Dst:             kh_grow_to_fit_m_s2i
        - Src:             'header.c:1213,32'
          Dst:             string_dup
        - Src:             'header.c:1219,17'
          Dst:             kh_get_s2i
        - Src:             'header.c:1227,13'
          Dst:             kh_put_m_s2i
        - Src:             'header.c:1230,13'
          Dst:             hts_log
        - Src:             'header.c:1242,9'
          Dst:             __errno_location
        - Src:             'header.c:1242,9'
          Dst:             strerror
        - Src:             'header.c:1242,9'
          Dst:             hts_log
        - Src:             'header.c:1246,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:1247,46'
          Dst:             kh_del_m_s2i
    - functionName:    sam_hrecs_free
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2814
      functionLinenumberEnd: 2858
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          244
      EdgeCount:       59
      CyclomaticComplexity: 16
      functionsReached:
        - kh_destroy_m_s2i
        - kh_destroy_sam_hrecs_t
        - pool_destroy
        - string_pool_destroy
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2819,9'
          Dst:             kh_destroy_sam_hrecs_t
        - Src:             'header.c:2822,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'header.c:2828,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'header.c:2834,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'header.c:2843,9'
          Dst:             pool_destroy
        - Src:             'header.c:2846,9'
          Dst:             pool_destroy
        - Src:             'header.c:2849,9'
          Dst:             string_pool_destroy
    - functionName:    sam_hrecs_parse_lines
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 996
      functionLinenumberEnd: 1068
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          314
      EdgeCount:       75
      CyclomaticComplexity: 21
      functionsReached:
        - TYPEKEY
        - hts_realloc_p
        - kh_grow_to_fit_m_s2i
        - sam_hrecs_error
        - sam_hrecs_parse_single_line
        - sam_hrecs_update_hashes
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1003,15'
          Dst:             strlen
        - Src:             'header.c:1007,9'
          Dst:             sam_hrecs_error
        - Src:             'header.c:1018,18'
          Dst:             sam_hrecs_parse_single_line
        - Src:             'header.c:1030,29'
          Dst:             TYPEKEY
        - Src:             'header.c:1045,16'
          Dst:             kh_grow_to_fit_m_s2i
        - Src:             'header.c:1049,38'
          Dst:             hts_realloc_p
        - Src:             'header.c:1063,23'
          Dst:             sam_hrecs_update_hashes
    - functionName:    add_stub_ref_sq_lines
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1267
      functionLinenumberEnd: 1288
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          119
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - hts_log
        - sam_hrecs_add
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1273,13'
          Dst:             snprintf
        - Src:             'header.c:1274,17'
          Dst:             sam_hrecs_add
        - Src:             'header.c:1281,17'
          Dst:             hts_log
    - functionName:    rebuild_target_arrays
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1154
      functionLinenumberEnd: 1167
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          71
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sam_hdr_update_target_arrays
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1162,9'
          Dst:             sam_hdr_update_target_arrays
    - functionName:    sam_hdr_update_target_arrays
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1075
      functionLinenumberEnd: 1152
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          436
      EdgeCount:       82
      CyclomaticComplexity: 23
      functionsReached:
        - hts_realloc_p
        - kh_del_s2i
        - kh_get_s2i
        - kh_init_s2i
        - kh_put_s2i
        - strcmp
        - strdup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1084,28'
          Dst:             hts_realloc_p
        - Src:             'header.c:1089,30'
          Dst:             hts_realloc_p
        - Src:             'header.c:1104,16'
          Dst:             strcmp
        - Src:             'header.c:1107,34'
          Dst:             strdup
        - Src:             'header.c:1118,17'
          Dst:             kh_get_s2i
        - Src:             'header.c:1120,17'
          Dst:             kh_del_s2i
        - Src:             'header.c:1126,51'
          Dst:             kh_init_s2i
        - Src:             'header.c:1132,21'
          Dst:             kh_put_s2i
        - Src:             'header.c:1143,17'
          Dst:             kh_get_s2i
        - Src:             'header.c:1145,17'
          Dst:             kh_del_s2i
    - functionName:    strdup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    29
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hrecs_parse_single_line
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 912
      functionLinenumberEnd: 992
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          290
      EdgeCount:       49
      CyclomaticComplexity: 14
      functionsReached:
        - TYPEKEY
        - __assert_fail
        - isalpha_c
        - kh_put_sam_hrecs_t
        - parse_comment_line
        - parse_noncomment_line
        - pool_alloc
        - pool_free
        - sam_hrecs_error
        - sam_hrecs_free_tags
        - sam_hrecs_global_list_add
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:920,9'
          Dst:             sam_hrecs_error
        - Src:             'header.c:925,10'
          Dst:             isalpha_c
        - Src:             'header.c:925,32'
          Dst:             isalpha_c
        - Src:             'header.c:926,9'
          Dst:             sam_hrecs_error
        - Src:             'header.c:930,12'
          Dst:             TYPEKEY
        - Src:             'header.c:936,20'
          Dst:             pool_alloc
        - Src:             'header.c:941,9'
          Dst:             kh_put_sam_hrecs_t
        - Src:             'header.c:948,17'
          Dst:             TYPEKEY
        - Src:             'header.c:950,20'
          Dst:             parse_comment_line
        - Src:             'header.c:957,20'
          Dst:             parse_noncomment_line
        - Src:             'header.c:965,5'
          Dst:             sam_hrecs_global_list_add
        - Src:             'header.c:972,9'
          Dst:             __assert_fail
        - Src:             'header.c:989,5'
          Dst:             sam_hrecs_free_tags
        - Src:             'header.c:990,5'
          Dst:             pool_free
    - functionName:    kh_grow_to_fit_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          193
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - kh_resize_m_s2i
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:169,1'
          Dst:             kh_resize_m_s2i
        - Src:             './header.h:169,1'
          Dst:             kh_resize_m_s2i
    - functionName:    isalpha_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:170,46'
          Dst:             __ctype_b_loc
    - functionName:    __ctype_b_loc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    53
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_sam_hrecs_t
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    48
      BranchProfiles:  []
      Callsites:       []
    - functionName:    calloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    137
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_init_sam_hrecs_t
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:168,1'
          Dst:             calloc
    - functionName:    kh_init_m_s2i
      functionSourceFile: '/src/htslib/./header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './header.h:169,1'
          Dst:             calloc
    - functionName:    sam_hrecs_init_type_order
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          89
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:76,29'
          Dst:             calloc
    - functionName:    sam_hrecs_group_order
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3156
      functionLinenumberEnd: 3175
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          127
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - TYPEKEY
        - kh_get_sam_hrecs_t
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:3161,9'
          Dst:             TYPEKEY
        - Src:             'header.c:3161,9'
          Dst:             kh_get_sam_hrecs_t
        - Src:             'header.c:3167,21'
          Dst:             strcmp
        - Src:             'header.c:3169,26'
          Dst:             strcmp
    - functionName:    sam_hrecs_sort_order
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3130
      functionLinenumberEnd: 3153
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          159
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - TYPEKEY
        - hts_log
        - kh_get_sam_hrecs_t
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:3135,9'
          Dst:             TYPEKEY
        - Src:             'header.c:3135,9'
          Dst:             kh_get_sam_hrecs_t
        - Src:             'header.c:3141,21'
          Dst:             strcmp
        - Src:             'header.c:3143,26'
          Dst:             strcmp
        - Src:             'header.c:3145,26'
          Dst:             strcmp
        - Src:             'header.c:3147,26'
          Dst:             strcmp
        - Src:             'header.c:3148,21'
          Dst:             hts_log
    - functionName:    sam_hrecs_find_rg
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3070
      functionLinenumberEnd: 3074
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          54
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_get_m_s2i
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:3071,17'
          Dst:             kh_get_m_s2i
    - functionName:    sam_hdr_incr_ref
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2719
      functionLinenumberEnd: 2723
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          22
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    sam_hdr_add_pg
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2614
      functionLinenumberEnd: 2712
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         94
      ICount:          545
      EdgeCount:       127
      CyclomaticComplexity: 35
      functionsReached:
        - __assert_fail
        - hts_log
        - hts_malloc_p
        - kh_get_m_s2i
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hdr_link_pg
        - sam_hdr_pg_id
        - sam_hrecs_vadd
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2622,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2628,9'
          Dst:             sam_hdr_link_pg
        - Src:             'header.c:2629,9'
          Dst:             hts_log
        - Src:             'header.c:2639,13'
          Dst:             strcmp
        - Src:             'header.c:2641,18'
          Dst:             strcmp
        - Src:             'header.c:2643,18'
          Dst:             strcmp
        - Src:             'header.c:2649,21'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2651,13'
          Dst:             hts_log
        - Src:             'header.c:2657,21'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2659,13'
          Dst:             hts_log
        - Src:             'header.c:2667,20'
          Dst:             hts_malloc_p
        - Src:             'header.c:2676,46'
          Dst:             sam_hdr_pg_id
        - Src:             'header.c:2681,13'
          Dst:             __assert_fail
        - Src:             'header.c:2683,23'
          Dst:             sam_hrecs_vadd
        - Src:             'header.c:2696,42'
          Dst:             sam_hdr_pg_id
        - Src:             'header.c:2700,19'
          Dst:             sam_hrecs_vadd
        - Src:             'header.c:2709,5'
          Dst:             redact_header_text
    - functionName:    sam_hdr_link_pg
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2469
      functionLinenumberEnd: 2554
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         64
      ICount:          473
      EdgeCount:       85
      CyclomaticComplexity: 23
      functionsReached:
        - __assert_fail
        - calloc
        - hts_log
        - hts_realloc_p
        - kh_get_m_s2i
        - redact_header_text
        - sam_hdr_fill_hrecs
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2477,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2486,18'
          Dst:             hts_realloc_p
        - Src:             'header.c:2490,23'
          Dst:             calloc
        - Src:             'header.c:2501,9'
          Dst:             __assert_fail
        - Src:             'header.c:2511,13'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2514,13'
          Dst:             hts_log
        - Src:             'header.c:2521,13'
          Dst:             hts_log
        - Src:             'header.c:2550,5'
          Dst:             redact_header_text
    - functionName:    sam_hdr_pg_id
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2562
      functionLinenumberEnd: 2596
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          190
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - hts_add_sat2
        - kh_get_m_s2i
        - realloc
        - sam_hdr_fill_hrecs
        - snprintf
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2570,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2575,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2579,16'
          Dst:             strlen
        - Src:             'header.c:2583,36'
          Dst:             hts_add_sat2
        - Src:             'header.c:2582,28'
          Dst:             realloc
        - Src:             'header.c:2591,9'
          Dst:             snprintf
        - Src:             'header.c:2592,13'
          Dst:             kh_get_m_s2i
    - functionName:    redact_header_text
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1531
      functionLinenumberEnd: 1536
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached:
        - __assert_fail
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1532,5'
          Dst:             __assert_fail
    - functionName:    sam_hdr_tid2len
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2429
      functionLinenumberEnd: 2454
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          155
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - kh_get_s2i
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2443,29'
          Dst:             kh_get_s2i
    - functionName:    sam_hdr_tid2name
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2413
      functionLinenumberEnd: 2427
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          87
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hdr_name2tid
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2393
      functionLinenumberEnd: 2411
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          100
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - kh_get_m_s2i
        - sam_hdr_fill_hrecs
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2401,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2409,9'
          Dst:             kh_get_m_s2i
    - functionName:    sam_hrecs_rebuild_lines
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 759
      functionLinenumberEnd: 776
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          80
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - build_header_line
        - kputc
        - kputsn
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:763,16'
          Dst:             kputsn
        - Src:             'header.c:767,13'
          Dst:             build_header_line
        - Src:             'header.c:769,13'
          Dst:             kputc
    - functionName:    build_header_line
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 744
      functionLinenumberEnd: 756
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          93
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - kputc_
        - kputsn
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:749,11'
          Dst:             kputc_
        - Src:             'header.c:750,11'
          Dst:             kputsn
        - Src:             'header.c:752,15'
          Dst:             kputc_
        - Src:             'header.c:753,15'
          Dst:             kputsn
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    sam_hdr_remove_tag_id
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2350
      functionLinenumberEnd: 2370
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          123
      EdgeCount:       31
      CyclomaticComplexity: 10
      functionsReached:
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_type_id
        - sam_hrecs_remove_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2356,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2361,27'
          Dst:             sam_hrecs_find_type_id
        - Src:             'header.c:2365,15'
          Dst:             sam_hrecs_remove_key
        - Src:             'header.c:2367,9'
          Dst:             redact_header_text
    - functionName:    sam_hdr_find_tag_pos
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2319
      functionLinenumberEnd: 2344
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          149
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - kputsn
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_key
        - sam_hrecs_find_type_pos
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2325,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2330,27'
          Dst:             sam_hrecs_find_type_pos
        - Src:             'header.c:2334,27'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:2339,9'
          Dst:             kputsn
    - functionName:    sam_hrecs_find_type_pos
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1548
      functionLinenumberEnd: 1575
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          231
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - sam_hrecs_find_type_id
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1563,19'
          Dst:             sam_hrecs_find_type_id
    - functionName:    sam_hdr_find_tag_id
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2288
      functionLinenumberEnd: 2313
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          152
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - kputsn
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_key
        - sam_hrecs_find_type_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2294,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2299,27'
          Dst:             sam_hrecs_find_type_id
        - Src:             'header.c:2303,27'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:2308,9'
          Dst:             kputsn
    - functionName:    sam_hdr_line_name
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2238
      functionLinenumberEnd: 2279
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          201
      EdgeCount:       46
      CyclomaticComplexity: 12
      functionsReached:
        - hts_log
        - sam_hdr_fill_hrecs
      functionUses:    0
      BranchProfiles:
        - Branch String:   'header.c:2249,5'
          Branch Sides:    []
      Callsites:
        - Src:             'header.c:2244,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2255,13'
          Dst:             hts_log
        - Src:             'header.c:2263,13'
          Dst:             hts_log
        - Src:             'header.c:2271,13'
          Dst:             hts_log
        - Src:             'header.c:2275,9'
          Dst:             hts_log
    - functionName:    sam_hdr_line_index
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2188
      functionLinenumberEnd: 2234
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          234
      EdgeCount:       49
      CyclomaticComplexity: 12
      functionsReached:
        - hts_log
        - kh_get_m_s2i
        - sam_hdr_fill_hrecs
      functionUses:    0
      BranchProfiles:
        - Branch String:   'header.c:2201,5'
          Branch Sides:    []
      Callsites:
        - Src:             'header.c:2194,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2204,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2208,13'
          Dst:             hts_log
        - Src:             'header.c:2213,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2217,13'
          Dst:             hts_log
        - Src:             'header.c:2222,17'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:2226,13'
          Dst:             hts_log
        - Src:             'header.c:2230,9'
          Dst:             hts_log
    - functionName:    sam_hdr_count_lines
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2143
      functionLinenumberEnd: 2184
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          187
      EdgeCount:       43
      CyclomaticComplexity: 11
      functionsReached:
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_type_id
      functionUses:    1
      BranchProfiles:
        - Branch String:   'header.c:2156,5'
          Branch Sides:    []
      Callsites:
        - Src:             'header.c:2151,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2173,16'
          Dst:             sam_hrecs_find_type_id
    - functionName:    kh_get_rm
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:45,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'header.c:45,1'
          Dst:             strcmp
    - functionName:    sam_hdr_remove_lines
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2071
      functionLinenumberEnd: 2141
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          352
      EdgeCount:       81
      CyclomaticComplexity: 24
      functionsReached:
        - TYPEKEY
        - hts_log
        - kh_get_rm
        - kh_get_sam_hrecs_t
        - rebuild_hash
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hdr_remove_except
        - sam_hrecs_find_key
        - sam_hrecs_remove_line
        - strncmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2078,16'
          Dst:             sam_hdr_remove_except
        - Src:             'header.c:2083,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2088,17'
          Dst:             TYPEKEY
        - Src:             'header.c:2088,17'
          Dst:             kh_get_sam_hrecs_t
        - Src:             'header.c:2094,9'
          Dst:             hts_log
        - Src:             'header.c:2101,31'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:2103,16'
          Dst:             kh_get_rm
        - Src:             'header.c:2107,23'
          Dst:             sam_hrecs_remove_line
        - Src:             'header.c:2117,28'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:2119,12'
          Dst:             kh_get_rm
        - Src:             'header.c:2123,19'
          Dst:             sam_hrecs_remove_line
        - Src:             'header.c:2131,10'
          Dst:             strncmp
        - Src:             'header.c:2131,43'
          Dst:             strncmp
        - Src:             'header.c:2132,13'
          Dst:             rebuild_hash
        - Src:             'header.c:2138,9'
          Dst:             redact_header_text
    - functionName:    sam_hdr_remove_except
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2015
      functionLinenumberEnd: 2069
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          263
      EdgeCount:       61
      CyclomaticComplexity: 18
      functionsReached:
        - TYPEKEY
        - hts_log
        - kh_get_sam_hrecs_t
        - rebuild_hash
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_type_id
        - sam_hrecs_remove_line
        - strncmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2021,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:2029,10'
          Dst:             strncmp
        - Src:             'header.c:2029,37'
          Dst:             strncmp
        - Src:             'header.c:2030,9'
          Dst:             hts_log
        - Src:             'header.c:2034,35'
          Dst:             sam_hrecs_find_type_id
        - Src:             'header.c:2036,21'
          Dst:             TYPEKEY
        - Src:             'header.c:2036,21'
          Dst:             kh_get_sam_hrecs_t
        - Src:             'header.c:2049,16'
          Dst:             sam_hrecs_remove_line
        - Src:             'header.c:2053,16'
          Dst:             sam_hrecs_remove_line
        - Src:             'header.c:2059,10'
          Dst:             strncmp
        - Src:             'header.c:2059,43'
          Dst:             strncmp
        - Src:             'header.c:2060,13'
          Dst:             rebuild_hash
        - Src:             'header.c:2066,9'
          Dst:             redact_header_text
    - functionName:    sam_hrecs_remove_line
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 704
      functionLinenumberEnd: 741
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          242
      EdgeCount:       48
      CyclomaticComplexity: 14
      functionsReached:
        - TYPEKEY
        - kh_del_sam_hrecs_t
        - kh_get_sam_hrecs_t
        - pool_free
        - sam_hrecs_free_tags
        - sam_hrecs_remove_hash_entry
        - strncmp
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:708,23'
          Dst:             TYPEKEY
        - Src:             'header.c:709,17'
          Dst:             kh_get_sam_hrecs_t
        - Src:             'header.c:723,9'
          Dst:             kh_del_sam_hrecs_t
        - Src:             'header.c:732,26'
          Dst:             strncmp
        - Src:             'header.c:732,58'
          Dst:             strncmp
        - Src:             'header.c:733,9'
          Dst:             sam_hrecs_remove_hash_entry
        - Src:             'header.c:735,5'
          Dst:             sam_hrecs_free_tags
        - Src:             'header.c:736,5'
          Dst:             pool_free
    - functionName:    rebuild_hash
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1984
      functionLinenumberEnd: 2013
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          123
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - TYPEKEY
        - hts_log
        - kh_clear_m_s2i
        - kh_get_sam_hrecs_t
        - sam_hrecs_update_hashes
        - strncmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1988,9'
          Dst:             strncmp
        - Src:             'header.c:1990,9'
          Dst:             kh_clear_m_s2i
        - Src:             'header.c:1991,16'
          Dst:             strncmp
        - Src:             'header.c:1993,9'
          Dst:             kh_clear_m_s2i
        - Src:             'header.c:1996,9'
          Dst:             TYPEKEY
        - Src:             'header.c:1996,9'
          Dst:             kh_get_sam_hrecs_t
        - Src:             'header.c:2003,48'
          Dst:             TYPEKEY
        - Src:             'header.c:2003,17'
          Dst:             sam_hrecs_update_hashes
        - Src:             'header.c:2004,17'
          Dst:             hts_log
    - functionName:    check_for_name_update
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1871
      functionLinenumberEnd: 1908
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          242
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - TYPEKEY
        - __assert_fail
        - kh_get_m_s2i
        - sam_hrecs_find_key
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1879,29'
          Dst:             TYPEKEY
        - Src:             'header.c:1881,29'
          Dst:             TYPEKEY
        - Src:             'header.c:1883,29'
          Dst:             TYPEKEY
        - Src:             'header.c:1892,11'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:1895,5'
          Dst:             __assert_fail
        - Src:             'header.c:1901,13'
          Dst:             strcmp
        - Src:             'header.c:1902,13'
          Dst:             strcmp
        - Src:             'header.c:1903,13'
          Dst:             kh_get_m_s2i
    - functionName:    sam_hdr_update_line
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1911
      functionLinenumberEnd: 1982
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          311
      EdgeCount:       64
      CyclomaticComplexity: 17
      functionsReached:
        - TYPEKEY
        - __assert_fail
        - check_for_name_update
        - hts_log
        - kh_del_m_s2i
        - kh_get_m_s2i
        - kh_put_m_s2i
        - rebuild_target_arrays
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_key
        - sam_hrecs_find_type_id
        - sam_hrecs_update_hashes
        - sam_hrecs_vupdate
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1917,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:1923,27'
          Dst:             sam_hrecs_find_type_id
        - Src:             'header.c:1932,14'
          Dst:             check_for_name_update
        - Src:             'header.c:1936,9'
          Dst:             hts_log
        - Src:             'header.c:1940,23'
          Dst:             TYPEKEY
        - Src:             'header.c:1940,40'
          Dst:             TYPEKEY
        - Src:             'header.c:1942,9'
          Dst:             hts_log
        - Src:             'header.c:1946,11'
          Dst:             sam_hrecs_vupdate
        - Src:             'header.c:1957,21'
          Dst:             kh_get_m_s2i
        - Src:             'header.c:1958,35'
          Dst:             sam_hrecs_find_key
        - Src:             'header.c:1960,9'
          Dst:             __assert_fail
        - Src:             'header.c:1961,9'
          Dst:             __assert_fail
        - Src:             'header.c:1962,9'
          Dst:             __assert_fail
        - Src:             'header.c:1964,9'
          Dst:             kh_del_m_s2i
        - Src:             'header.c:1965,13'
          Dst:             kh_put_m_s2i
        - Src:             'header.c:1967,13'
          Dst:             hts_log
        - Src:             'header.c:1973,42'
          Dst:             TYPEKEY
        - Src:             'header.c:1973,11'
          Dst:             sam_hrecs_update_hashes
        - Src:             'header.c:1976,15'
          Dst:             rebuild_target_arrays
        - Src:             'header.c:1979,9'
          Dst:             redact_header_text
    - functionName:    sam_hdr_remove_line_pos
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1823
      functionLinenumberEnd: 1854
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          155
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - hts_log
        - rebuild_target_arrays
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_type_pos
        - sam_hrecs_remove_line
        - strncmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1829,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:1834,10'
          Dst:             strncmp
        - Src:             'header.c:1835,9'
          Dst:             hts_log
        - Src:             'header.c:1839,35'
          Dst:             sam_hrecs_find_type_pos
        - Src:             'header.c:1844,15'
          Dst:             sam_hrecs_remove_line
        - Src:             'header.c:1846,41'
          Dst:             rebuild_target_arrays
        - Src:             'header.c:1850,13'
          Dst:             redact_header_text
    - functionName:    sam_hdr_remove_line_id
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1784
      functionLinenumberEnd: 1814
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          150
      EdgeCount:       39
      CyclomaticComplexity: 12
      functionsReached:
        - hts_log
        - rebuild_target_arrays
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_type_id
        - sam_hrecs_remove_line
        - strncmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1790,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:1795,10'
          Dst:             strncmp
        - Src:             'header.c:1796,9'
          Dst:             hts_log
        - Src:             'header.c:1800,35'
          Dst:             sam_hrecs_find_type_id
        - Src:             'header.c:1804,15'
          Dst:             sam_hrecs_remove_line
        - Src:             'header.c:1806,41'
          Dst:             rebuild_target_arrays
        - Src:             'header.c:1810,13'
          Dst:             redact_header_text
    - functionName:    sam_hdr_find_line_pos
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1751
      functionLinenumberEnd: 1772
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          99
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - build_header_line
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_type_pos
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1757,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:1762,27'
          Dst:             sam_hrecs_find_type_pos
        - Src:             'header.c:1767,9'
          Dst:             build_header_line
    - functionName:    sam_hdr_find_line_id
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1727
      functionLinenumberEnd: 1748
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          102
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - build_header_line
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_type_id
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1733,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:1738,27'
          Dst:             sam_hrecs_find_type_id
        - Src:             'header.c:1743,9'
          Dst:             build_header_line
    - functionName:    sam_hdr_add_line
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1693
      functionLinenumberEnd: 1719
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          125
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - rebuild_target_arrays
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hrecs_vadd
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1701,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:1707,15'
          Dst:             sam_hrecs_vadd
        - Src:             'header.c:1711,41'
          Dst:             rebuild_target_arrays
        - Src:             'header.c:1715,13'
          Dst:             redact_header_text
    - functionName:    sam_hdr_add_lines
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1658
      functionLinenumberEnd: 1683
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          130
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - rebuild_target_arrays
        - redact_header_text
        - sam_hdr_fill_hrecs
        - sam_hrecs_parse_lines
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1668,13'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'header.c:1673,9'
          Dst:             sam_hrecs_parse_lines
        - Src:             'header.c:1676,37'
          Dst:             rebuild_target_arrays
        - Src:             'header.c:1680,5'
          Dst:             redact_header_text
    - functionName:    ks_len
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 205
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hrecs_rebuild_text
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2377
      functionLinenumberEnd: 2387
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          65
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - kputsn
        - sam_hrecs_rebuild_lines
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:2381,16'
          Dst:             kputsn
        - Src:             'header.c:2383,9'
          Dst:             sam_hrecs_rebuild_lines
    - functionName:    sam_hdr_nref
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1593
      functionLinenumberEnd: 1598
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          40
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hdr_str
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1586
      functionLinenumberEnd: 1591
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          41
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sam_hdr_rebuild
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1587,22'
          Dst:             sam_hdr_rebuild
    - functionName:    sam_hdr_rebuild
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1605
      functionLinenumberEnd: 1644
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          136
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - hts_log
        - ks_free
        - ks_len
        - ks_release
        - rebuild_target_arrays
        - sam_hdr_link_pg
        - sam_hrecs_rebuild_text
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1614,13'
          Dst:             rebuild_target_arrays
        - Src:             'header.c:1615,13'
          Dst:             hts_log
        - Src:             'header.c:1624,31'
          Dst:             sam_hdr_link_pg
        - Src:             'header.c:1625,9'
          Dst:             hts_log
        - Src:             'header.c:1630,9'
          Dst:             sam_hrecs_rebuild_text
        - Src:             'header.c:1631,9'
          Dst:             ks_free
        - Src:             'header.c:1632,9'
          Dst:             hts_log
        - Src:             'header.c:1640,18'
          Dst:             ks_len
        - Src:             'header.c:1641,16'
          Dst:             ks_release
    - functionName:    ks_free
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_initialize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:238,9'
          Dst:             ks_initialize
    - functionName:    ks_release
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hdr_length
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1579
      functionLinenumberEnd: 1584
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          41
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sam_hdr_rebuild
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1580,22'
          Dst:             sam_hdr_rebuild
    - functionName:    kputll
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 385
      functionLinenumberEnd: 443
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          177
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - kputuw
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:388,9'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:398,9'
          Dst:             kputuw
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    valid_sam_header_type
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1326
      functionLinenumberEnd: 1340
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          127
      EdgeCount:       22
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'header.c:1328,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sam_hdr_build_from_sam_file
      functionSourceFile: '/src/htslib/header.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1354
      functionLinenumberEnd: 1522
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         110
      ICount:          703
      EdgeCount:       151
      CyclomaticComplexity: 43
      functionsReached:
        - TYPEKEY
        - bgzf_peek
        - hclose
        - hopen
        - hpeek
        - hts_getline
        - hts_log
        - hts_realloc_p
        - isalpha_c
        - kh_grow_to_fit_m_s2i
        - khgetline
        - kputc
        - kputll
        - kputs
        - kputsn
        - ks_free
        - ks_release
        - sam_hdr_update_target_arrays
        - sam_hrecs_error
        - sam_hrecs_new
        - sam_hrecs_parse_single_line
        - sam_hrecs_update_hashes
        - strchr
        - strncmp
        - strstr
        - strtoll
        - valid_sam_header_type
        - warn_if_known_stderr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'header.c:1360,26'
          Dst:             sam_hrecs_new
        - Src:             'header.c:1369,36'
          Dst:             hts_getline
        - Src:             'header.c:1377,17'
          Dst:             isalpha_c
        - Src:             'header.c:1377,46'
          Dst:             isalpha_c
        - Src:             'header.c:1378,13'
          Dst:             sam_hrecs_error
        - Src:             'header.c:1383,32'
          Dst:             strncmp
        - Src:             'header.c:1386,13'
          Dst:             kputc
        - Src:             'header.c:1389,14'
          Dst:             valid_sam_header_type
        - Src:             'header.c:1390,13'
          Dst:             hts_log
        - Src:             'header.c:1391,13'
          Dst:             warn_if_known_stderr
        - Src:             'header.c:1395,18'
          Dst:             sam_hrecs_parse_single_line
        - Src:             'header.c:1400,29'
          Dst:             TYPEKEY
        - Src:             'header.c:1406,13'
          Dst:             kputsn
        - Src:             'header.c:1409,13'
          Dst:             kputc
        - Src:             'header.c:1413,22'
          Dst:             bgzf_peek
        - Src:             'header.c:1416,28'
          Dst:             hpeek
        - Src:             'header.c:1434,26'
          Dst:             strstr
        - Src:             'header.c:1438,20'
          Dst:             hopen
        - Src:             'header.c:1443,28'
          Dst:             khgetline
        - Src:             'header.c:1444,25'
          Dst:             strchr
        - Src:             'header.c:1452,18'
          Dst:             strtoll
        - Src:             'header.c:1454,18'
          Dst:             kputs
        - Src:             'header.c:1455,18'
          Dst:             kputsn
        - Src:             'header.c:1456,18'
          Dst:             kputs
        - Src:             'header.c:1457,18'
          Dst:             kputll
        - Src:             'header.c:1458,18'
          Dst:             kputc
        - Src:             'header.c:1462,22'
          Dst:             sam_hrecs_parse_single_line
        - Src:             'header.c:1474,9'
          Dst:             ks_free
        - Src:             'header.c:1475,13'
          Dst:             hclose
        - Src:             'header.c:1476,13'
          Dst:             hts_log
        - Src:             'header.c:1486,13'
          Dst:             kh_grow_to_fit_m_s2i
        - Src:             'header.c:1490,38'
          Dst:             hts_realloc_p
        - Src:             'header.c:1504,23'
          Dst:             sam_hrecs_update_hashes
        - Src:             'header.c:1510,9'
          Dst:             kputsn
        - Src:             'header.c:1512,17'
          Dst:             ks_release
        - Src:             'header.c:1514,9'
          Dst:             sam_hdr_update_target_arrays
        - Src:             'header.c:1520,5'
          Dst:             ks_free
    - functionName:    strstr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    29
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strchr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    83
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    kh_get_scheme_string
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 972
      functionLinenumberEnd: 972
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:972,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hfile.c:972,1'
          Dst:             strcmp
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    isalnum_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:169,46'
          Dst:             __ctype_b_loc
    - functionName:    hopen_unknown_scheme
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1169
      functionLinenumberEnd: 1172
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          43
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hopen_fd
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1170,17'
          Dst:             hopen_fd
        - Src:             'hfile.c:1171,23'
          Dst:             __errno_location
        - Src:             'hfile.c:1171,40'
          Dst:             __errno_location
    - functionName:    hopen_fd
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 665
      functionLinenumberEnd: 683
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          97
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - blksize
        - close
        - hfile_destroy
        - hfile_init
        - hfile_oflags
        - open
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:667,29'
          Dst:             hfile_oflags
        - Src:             'hfile.c:667,14'
          Dst:             open
        - Src:             'hfile.c:670,59'
          Dst:             blksize
        - Src:             'hfile.c:670,23'
          Dst:             hfile_init
        - Src:             'hfile.c:680,31'
          Dst:             __errno_location
        - Src:             'hfile.c:680,45'
          Dst:             close
        - Src:             'hfile.c:680,56'
          Dst:             __errno_location
        - Src:             'hfile.c:681,5'
          Dst:             hfile_destroy
    - functionName:    hfile_oflags
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 774
      functionLinenumberEnd: 796
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          83
      EdgeCount:       25
      CyclomaticComplexity: 14
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hfile.c:778,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    open
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    blksize
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 649
      functionLinenumberEnd: 662
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          45
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fstat
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:652,9'
          Dst:             fstat
    - functionName:    hfile_init
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 139
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          156
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - hfile_destroy
        - posix_memalign
        - strchr
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:114,9'
          Dst:             strchr
        - Src:             'hfile.c:118,9'
          Dst:             posix_memalign
        - Src:             'hfile.c:131,21'
          Dst:             strchr
        - Src:             'hfile.c:131,44'
          Dst:             strchr
        - Src:             'hfile.c:137,5'
          Dst:             hfile_destroy
    - functionName:    close
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hfile_destroy
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 164
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:165,16'
          Dst:             __errno_location
        - Src:             'hfile.c:168,5'
          Dst:             __errno_location
    - functionName:    fd_read
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 558
      functionLinenumberEnd: 565
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          79
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - read
        - recv
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:562,28'
          Dst:             recv
        - Src:             'hfile.c:563,28'
          Dst:             read
        - Src:             'hfile.c:564,23'
          Dst:             __errno_location
    - functionName:    fd_write
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 569
      functionLinenumberEnd: 588
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          79
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - send
        - write
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:573,29'
          Dst:             send
        - Src:             'hfile.c:574,28'
          Dst:             write
        - Src:             'hfile.c:575,23'
          Dst:             __errno_location
    - functionName:    fd_seek
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 592
      functionLinenumberEnd: 604
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - lseek
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:604,12'
          Dst:             lseek
    - functionName:    fd_flush
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 608
      functionLinenumberEnd: 622
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          83
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - fdatasync
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:613,15'
          Dst:             fdatasync
        - Src:             'hfile.c:620,25'
          Dst:             __errno_location
        - Src:             'hfile.c:620,44'
          Dst:             __errno_location
        - Src:             'hfile.c:621,25'
          Dst:             __errno_location
    - functionName:    fd_close
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 626
      functionLinenumberEnd: 641
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          68
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - close
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:637,15'
          Dst:             close
        - Src:             'hfile.c:639,25'
          Dst:             __errno_location
    - functionName:    fdatasync
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    lseek
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - int
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    send
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    write
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    recv
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    read
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    posix_memalign
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fstat
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hpreload
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 689
      functionLinenumberEnd: 724
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          141
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - hclose
        - hclose_abruptly
        - hfile_init_fixed
        - hread
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:697,23'
          Dst:             realloc
        - Src:             'hfile.c:702,15'
          Dst:             hread
        - Src:             'hfile.c:710,14'
          Dst:             hfile_init_fixed
        - Src:             'hfile.c:714,9'
          Dst:             hclose
        - Src:             'hfile.c:715,9'
          Dst:             hclose_abruptly
        - Src:             'hfile.c:722,5'
          Dst:             hclose_abruptly
    - functionName:    hread
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    hfile_init_fixed
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 143
      functionLinenumberEnd: 158
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          113
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - strchr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:154,21'
          Dst:             strchr
        - Src:             'hfile.c:154,44'
          Dst:             strchr
    - functionName:    hclose
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 504
      functionLinenumberEnd: 518
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          102
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - hfile_destroy
        - hflush
        - writebuffer_is_nonempty
      functionUses:    27
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:507,9'
          Dst:             writebuffer_is_nonempty
        - Src:             'hfile.c:507,40'
          Dst:             hflush
        - Src:             'hfile.c:509,47'
          Dst:             __errno_location
        - Src:             'hfile.c:510,9'
          Dst:             hfile_destroy
        - Src:             'hfile.c:514,9'
          Dst:             __errno_location
    - functionName:    hclose_abruptly
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 521
      functionLinenumberEnd: 528
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          56
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hfile_destroy
      functionUses:    21
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:522,16'
          Dst:             __errno_location
        - Src:             'hfile.c:526,5'
          Dst:             hfile_destroy
        - Src:             'hfile.c:527,5'
          Dst:             __errno_location
    - functionName:    writebuffer_is_nonempty
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hflush
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 391
      functionLinenumberEnd: 397
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - flush_buffer
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:392,9'
          Dst:             flush_buffer
        - Src:             'hfile.c:394,59'
          Dst:             __errno_location
    - functionName:    flush_buffer
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 377
      functionLinenumberEnd: 388
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          85
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:381,38'
          Dst:             __errno_location
    - functionName:    mem_seek
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 811
      functionLinenumberEnd: 813
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:812,5'
          Dst:             __errno_location
    - functionName:    mem_close
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 817
      functionLinenumberEnd: 818
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hread2
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 332
      functionLinenumberEnd: 372
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          269
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - refill_buffer
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:341,38'
          Dst:             __errno_location
        - Src:             'hfile.c:360,23'
          Dst:             refill_buffer
    - functionName:    refill_buffer
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 201
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          192
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:195,38'
          Dst:             __errno_location
    - functionName:    tolower_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 179
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tolower
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:179,47'
          Dst:             tolower
    - functionName:    tolower
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cmp_prefix
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 827
      functionLinenumberEnd: 833
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          54
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - tolower_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:829,13'
          Dst:             tolower_c
    - functionName:    hfile_exit
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1009
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          13
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hfile_shutdown
        - pthread_mutex_destroy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1007,5'
          Dst:             hfile_shutdown
        - Src:             'hfile.c:1008,5'
          Dst:             pthread_mutex_destroy
    - functionName:    hfile_shutdown
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 984
      functionLinenumberEnd: 1003
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          67
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - kh_destroy_scheme_string
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:985,5'
          Dst:             pthread_mutex_lock
        - Src:             'hfile.c:988,9'
          Dst:             kh_destroy_scheme_string
        - Src:             'hfile.c:1002,5'
          Dst:             pthread_mutex_unlock
    - functionName:    pthread_mutex_destroy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_mutex_lock
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    127
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_scheme_string
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 972
      functionLinenumberEnd: 972
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_mutex_unlock
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    177
      BranchProfiles:  []
      Callsites:       []
    - functionName:    init_add_plugin
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1081
      functionLinenumberEnd: 1105
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          85
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - hts_log
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1084,9'
          Dst:             hts_log
        - Src:             'hfile.c:1096,9'
          Dst:             hts_log
        - Src:             'hfile.c:1101,5'
          Dst:             hts_log
    - functionName:    kh_init_scheme_string
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 972
      functionLinenumberEnd: 972
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:972,1'
          Dst:             calloc
    - functionName:    is_preload_url_remote
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 726
      functionLinenumberEnd: 727
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hisremote
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:727,12'
          Dst:             hisremote
    - functionName:    hisremote
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1346
      functionLinenumberEnd: 1348
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - find_scheme_handler
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1347,50'
          Dst:             find_scheme_handler
    - functionName:    find_scheme_handler
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1177
      functionLinenumberEnd: 1203
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         34
      ICount:          193
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached:
        - isalnum_c
        - kh_get_scheme_string
        - load_hfile_plugins
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - tolower_c
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1185,13'
          Dst:             isalnum_c
        - Src:             'hfile.c:1186,25'
          Dst:             tolower_c
        - Src:             'hfile.c:1194,5'
          Dst:             pthread_mutex_lock
        - Src:             'hfile.c:1195,21'
          Dst:             load_hfile_plugins
        - Src:             'hfile.c:1196,9'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile.c:1199,5'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile.c:1201,17'
          Dst:             kh_get_scheme_string
    - functionName:    load_hfile_plugins
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1112
      functionLinenumberEnd: 1162
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - atexit
        - hfile_add_scheme_handler
        - hfile_exit
        - hfile_plugin_init_crypt4gh_needed
        - hfile_plugin_init_gcs
        - hfile_plugin_init_libcurl
        - hfile_plugin_init_mem
        - hfile_plugin_init_s3
        - init_add_plugin
        - kh_init_scheme_string
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1118,15'
          Dst:             kh_init_scheme_string
        - Src:             'hfile.c:1122,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile.c:1123,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile.c:1124,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile.c:1125,5'
          Dst:             init_add_plugin
        - Src:             'hfile.c:1125,5'
          Dst:             hfile_plugin_init_mem
        - Src:             'hfile.c:1126,5'
          Dst:             init_add_plugin
        - Src:             'hfile.c:1126,5'
          Dst:             hfile_plugin_init_crypt4gh_needed
        - Src:             'hfile.c:1145,5'
          Dst:             init_add_plugin
        - Src:             'hfile.c:1145,5'
          Dst:             hfile_plugin_init_libcurl
        - Src:             'hfile.c:1148,5'
          Dst:             init_add_plugin
        - Src:             'hfile.c:1148,5'
          Dst:             hfile_plugin_init_gcs
        - Src:             'hfile.c:1151,5'
          Dst:             init_add_plugin
        - Src:             'hfile.c:1151,5'
          Dst:             hfile_plugin_init_s3
        - Src:             'hfile.c:1159,12'
          Dst:             atexit
        - Src:             'hfile.c:1159,12'
          Dst:             hfile_exit
    - functionName:    hfile_always_local
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1340
      functionLinenumberEnd: 1340
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hfile_add_scheme_handler
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1056
      functionLinenumberEnd: 1077
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          113
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - hts_log
        - kh_put_scheme_string
        - priority
        - strerror
        - try_exe_add_scheme_handler
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1059,9'
          Dst:             hts_log
        - Src:             'hfile.c:1063,13'
          Dst:             try_exe_add_scheme_handler
        - Src:             'hfile.c:1064,13'
          Dst:             hts_log
        - Src:             'hfile.c:1068,17'
          Dst:             kh_put_scheme_string
        - Src:             'hfile.c:1070,9'
          Dst:             __errno_location
        - Src:             'hfile.c:1070,9'
          Dst:             strerror
        - Src:             'hfile.c:1070,9'
          Dst:             hts_log
        - Src:             'hfile.c:1074,19'
          Dst:             priority
        - Src:             'hfile.c:1074,39'
          Dst:             priority
    - functionName:    hfile_plugin_init_mem
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 921
      functionLinenumberEnd: 927
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hfile_add_scheme_handler
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:926,5'
          Dst:             hfile_add_scheme_handler
    - functionName:    hfile_plugin_init_crypt4gh_needed
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 957
      functionLinenumberEnd: 962
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hfile_add_scheme_handler
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:961,5'
          Dst:             hfile_add_scheme_handler
    - functionName:    atexit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    crypt4gh_needed
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 936
      functionLinenumberEnd: 953
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - hts_log
        - strncmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:937,21'
          Dst:             strncmp
        - Src:             'hfile.c:944,5'
          Dst:             hts_log
        - Src:             'hfile.c:952,5'
          Dst:             __errno_location
    - functionName:    hopen_not_supported
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 915
      functionLinenumberEnd: 917
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:916,5'
          Dst:             __errno_location
    - functionName:    hfile_always_remote
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1343
      functionLinenumberEnd: 1343
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hopenv_mem
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 879
      functionLinenumberEnd: 892
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          97
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - create_hfile_mem
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:886,15'
          Dst:             create_hfile_mem
    - functionName:    create_hfile_mem
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 836
      functionLinenumberEnd: 843
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hfile_init_fixed
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:837,35'
          Dst:             hfile_init_fixed
    - functionName:    hopen_preload
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 730
      functionLinenumberEnd: 732
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hopen
        - hpreload
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:731,17'
          Dst:             hopen
        - Src:             'hfile.c:732,17'
          Dst:             hpreload
    - functionName:    hopen
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1318
      functionLinenumberEnd: 1337
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          103
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - find_scheme_handler
        - hopen_fd
        - hopen_fd_stdinout
        - strchr
        - strcmp
      functionUses:    32
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1319,50'
          Dst:             find_scheme_handler
        - Src:             'hfile.c:1321,13'
          Dst:             strchr
        - Src:             'hfile.c:1335,14'
          Dst:             strcmp
        - Src:             'hfile.c:1335,46'
          Dst:             hopen_fd_stdinout
        - Src:             'hfile.c:1336,17'
          Dst:             hopen_fd
    - functionName:    hopen_fd_stdinout
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 762
      functionLinenumberEnd: 769
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hdopen
        - snprintf
        - strchr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:763,15'
          Dst:             strchr
        - Src:             'hfile.c:765,5'
          Dst:             snprintf
        - Src:             'hfile.c:769,12'
          Dst:             hdopen
    - functionName:    hdopen
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 736
      functionLinenumberEnd: 745
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          73
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - blksize
        - hfile_init
        - strchr
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:737,68'
          Dst:             blksize
        - Src:             'hfile.c:737,32'
          Dst:             hfile_init
        - Src:             'hfile.c:741,22'
          Dst:             strchr
        - Src:             'hfile.c:742,22'
          Dst:             strchr
    - functionName:    hopen_fd_fileuri
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 748
      functionLinenumberEnd: 759
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          54
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hopen_fd
        - strncmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:749,9'
          Dst:             strncmp
        - Src:             'hfile.c:750,14'
          Dst:             strncmp
        - Src:             'hfile.c:751,12'
          Dst:             __errno_location
        - Src:             'hfile.c:758,12'
          Dst:             hopen_fd
    - functionName:    try_exe_add_scheme_handler
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1048
      functionLinenumberEnd: 1049
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_put_scheme_string
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 972
      functionLinenumberEnd: 972
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_scheme_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:972,1'
          Dst:             kh_resize_scheme_string
        - Src:             'hfile.c:972,1'
          Dst:             kh_resize_scheme_string
        - Src:             'hfile.c:972,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hfile.c:972,1'
          Dst:             strcmp
    - functionName:    priority
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1012
      functionLinenumberEnd: 1013
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_scheme_string
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 972
      functionLinenumberEnd: 972
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:972,1'
          Dst:             __errno_location
        - Src:             'hfile.c:972,1'
          Dst:             realloc
        - Src:             'hfile.c:972,1'
          Dst:             realloc
        - Src:             'hfile.c:972,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hfile.c:972,1'
          Dst:             realloc
        - Src:             'hfile.c:972,1'
          Dst:             realloc
    - functionName:    hopen_mem
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 846
      functionLinenumberEnd: 876
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          137
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - cmp_prefix
        - create_hfile_mem
        - hts_base64_decoded_length
        - hts_decode_base64
        - hts_decode_percent
        - strchr
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:849,32'
          Dst:             strchr
        - Src:             'hfile.c:850,26'
          Dst:             __errno_location
        - Src:             'hfile.c:854,9'
          Dst:             strchr
        - Src:             'hfile.c:854,38'
          Dst:             __errno_location
        - Src:             'hfile.c:856,29'
          Dst:             cmp_prefix
        - Src:             'hfile.c:857,42'
          Dst:             strlen
        - Src:             'hfile.c:857,16'
          Dst:             hts_base64_decoded_length
        - Src:             'hfile.c:860,9'
          Dst:             hts_decode_base64
        - Src:             'hfile.c:863,16'
          Dst:             strlen
        - Src:             'hfile.c:866,9'
          Dst:             hts_decode_percent
        - Src:             'hfile.c:870,15'
          Dst:             create_hfile_mem
    - functionName:    knet_close
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1461
      functionLinenumberEnd: 1464
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hclose
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1462,13'
          Dst:             hclose
    - functionName:    knet_seek
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1453
      functionLinenumberEnd: 1457
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hseek
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1454,15'
          Dst:             hseek
    - functionName:    hseek
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 447
      functionLinenumberEnd: 501
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          307
      EdgeCount:       55
      CyclomaticComplexity: 17
      functionsReached:
        - __errno_location
        - flush_buffer
        - htell
        - writebuffer_is_nonempty
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:450,9'
          Dst:             writebuffer_is_nonempty
        - Src:             'hfile.c:451,19'
          Dst:             flush_buffer
        - Src:             'hfile.c:455,14'
          Dst:             htell
        - Src:             'hfile.c:464,29'
          Dst:             __errno_location
        - Src:             'hfile.c:476,29'
          Dst:             __errno_location
        - Src:             'hfile.c:493,36'
          Dst:             __errno_location
    - functionName:    htell
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 156
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          19
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    knet_read
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1446
      functionLinenumberEnd: 1449
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hread
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1447,17'
          Dst:             hread
    - functionName:    knet_dopen
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1434
      functionLinenumberEnd: 1443
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - hdopen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1435,20'
          Dst:             calloc
        - Src:             'hfile.c:1437,20'
          Dst:             hdopen
    - functionName:    knet_open
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1417
      functionLinenumberEnd: 1431
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          70
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - hopen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1418,20'
          Dst:             calloc
        - Src:             'hfile.c:1420,20'
          Dst:             hopen
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    strip_extension
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1354
      functionLinenumberEnd: 1362
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          55
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    haddextension
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1366
      functionLinenumberEnd: 1386
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          141
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - find_scheme_handler
        - kputs
        - kputsn
        - strchr
        - strcspn
        - strip_extension
        - strncmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1369,9'
          Dst:             find_scheme_handler
        - Src:             'hfile.c:1372,33'
          Dst:             strncmp
        - Src:             'hfile.c:1372,66'
          Dst:             strncmp
        - Src:             'hfile.c:1372,105'
          Dst:             strncmp
        - Src:             'hfile.c:1372,146'
          Dst:             strcspn
        - Src:             'hfile.c:1372,172'
          Dst:             strcspn
        - Src:             'hfile.c:1376,20'
          Dst:             strchr
        - Src:             'hfile.c:1379,20'
          Dst:             strip_extension
        - Src:             'hfile.c:1382,9'
          Dst:             kputsn
        - Src:             'hfile.c:1383,9'
          Dst:             kputs
        - Src:             'hfile.c:1384,9'
          Dst:             kputs
    - functionName:    strcspn
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hfile_has_plugin
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1295
      functionLinenumberEnd: 1311
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          71
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - load_hfile_plugins
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1296,5'
          Dst:             pthread_mutex_lock
        - Src:             'hfile.c:1297,21'
          Dst:             load_hfile_plugins
        - Src:             'hfile.c:1298,9'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile.c:1301,5'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile.c:1305,13'
          Dst:             strcmp
    - functionName:    hfile_list_plugins
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1259
      functionLinenumberEnd: 1284
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          120
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - load_hfile_plugins
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1260,5'
          Dst:             pthread_mutex_lock
        - Src:             'hfile.c:1261,21'
          Dst:             load_hfile_plugins
        - Src:             'hfile.c:1262,9'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile.c:1265,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hfile_list_schemes
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1220
      functionLinenumberEnd: 1248
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          160
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - load_hfile_plugins
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:1221,5'
          Dst:             pthread_mutex_lock
        - Src:             'hfile.c:1222,21'
          Dst:             load_hfile_plugins
        - Src:             'hfile.c:1223,9'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile.c:1226,5'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile.c:1236,23'
          Dst:             strcmp
    - functionName:    hfile_mem_steal_buffer
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 906
      functionLinenumberEnd: 910
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hfile_mem_get_buffer
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:907,17'
          Dst:             hfile_mem_get_buffer
    - functionName:    hfile_mem_get_buffer
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 894
      functionLinenumberEnd: 904
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          56
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:896,9'
          Dst:             __errno_location
    - functionName:    hputs2
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 442
      functionLinenumberEnd: 443
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hwrite2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:443,13'
          Dst:             hwrite2
    - functionName:    hwrite2
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 414
      functionLinenumberEnd: 437
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          128
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - flush_buffer
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:421,11'
          Dst:             flush_buffer
        - Src:             'hfile.c:427,38'
          Dst:             __errno_location
    - functionName:    hputc2
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 402
      functionLinenumberEnd: 406
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - flush_buffer
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:403,9'
          Dst:             flush_buffer
    - functionName:    hpeek
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 314
      functionLinenumberEnd: 326
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          96
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - refill_buffer
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:317,23'
          Dst:             refill_buffer
    - functionName:    hgets_wrapper
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 302
      functionLinenumberEnd: 303
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hgets
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:303,12'
          Dst:             hgets
    - functionName:    hgets
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 292
      functionLinenumberEnd: 298
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hgetln
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:294,25'
          Dst:             __errno_location
        - Src:             'hfile.c:297,12'
          Dst:             hgetln
    - functionName:    hgetln
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 198
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hgetdelim
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:198,12'
          Dst:             hgetdelim
    - functionName:    hgetdelim
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 242
      functionLinenumberEnd: 289
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          207
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - memchr
        - refill_buffer
        - writebuffer_is_nonempty
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:248,25'
          Dst:             __errno_location
        - Src:             'hfile.c:251,9'
          Dst:             writebuffer_is_nonempty
        - Src:             'hfile.c:252,25'
          Dst:             __errno_location
        - Src:             'hfile.c:263,17'
          Dst:             memchr
        - Src:             'hfile.c:282,15'
          Dst:             refill_buffer
    - functionName:    memchr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    khgetline
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 307
      functionLinenumberEnd: 311
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          41
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - hgets_wrapper
        - kgetline
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:310,12'
          Dst:             kgetline
        - Src:             'hfile.c:310,12'
          Dst:             hgets_wrapper
    - functionName:    hgetc2
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 237
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - refill_buffer
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:238,13'
          Dst:             refill_buffer
    - functionName:    hfile_set_blksize
      functionSourceFile: '/src/htslib/hfile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 213
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          138
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - realloc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile.c:224,29'
          Dst:             realloc
    - functionName:    swap_bins
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2748
      functionLinenumberEnd: 2754
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          50
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - ed_swap_8p
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2751,9'
          Dst:             ed_swap_8p
        - Src:             'hts.c:2752,9'
          Dst:             ed_swap_8p
    - functionName:    ed_swap_8p
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1616
      functionLinenumberEnd: 1618
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ed_swap_8
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts.h:1617,21'
          Dst:             ed_swap_8
    - functionName:    ed_swap_8
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1610
      functionLinenumberEnd: 1613
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          28
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    idx_read_core
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2934
      functionLinenumberEnd: 2996
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         97
      ICount:          598
      EdgeCount:       132
      CyclomaticComplexity: 37
      functionsReached:
        - bgzf_read
        - ed_is_big
        - ed_swap_4p
        - ed_swap_8p
        - hts_malloc_p
        - kh_init_bin
        - kh_put_bin
        - swap_bins
        - update_loff
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2936,13'
          Dst:             ed_is_big
        - Src:             'hts.c:2944,28'
          Dst:             kh_init_bin
        - Src:             'hts.c:2945,13'
          Dst:             bgzf_read
        - Src:             'hts.c:2946,20'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2950,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2951,24'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2952,17'
          Dst:             kh_put_bin
        - Src:             'hts.c:2957,21'
          Dst:             bgzf_read
        - Src:             'hts.c:2958,28'
          Dst:             ed_swap_8p
        - Src:             'hts.c:2960,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2961,24'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2965,23'
          Dst:             hts_malloc_p
        - Src:             'hts.c:2967,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2968,24'
          Dst:             swap_bins
        - Src:             'hts.c:2973,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2974,24'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2979,25'
          Dst:             hts_malloc_p
        - Src:             'hts.c:2981,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2982,51'
          Dst:             ed_swap_8p
        - Src:             'hts.c:2986,13'
          Dst:             update_loff
        - Src:             'hts.c:2989,9'
          Dst:             bgzf_read
        - Src:             'hts.c:2990,16'
          Dst:             ed_swap_8p
    - functionName:    ed_is_big
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1586
      functionLinenumberEnd: 1588
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_init_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2249
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2249,1'
          Dst:             calloc
    - functionName:    ed_swap_4p
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1605
      functionLinenumberEnd: 1607
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ed_swap_4
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts.h:1606,21'
          Dst:             ed_swap_4
    - functionName:    kh_put_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2249
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          423
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_bin
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2249,1'
          Dst:             kh_resize_bin
        - Src:             'hts.c:2249,1'
          Dst:             kh_resize_bin
    - functionName:    update_loff
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2440
      functionLinenumberEnd: 2468
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          229
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - hts_bin_bot
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2456,31'
          Dst:             hts_bin_bot
    - functionName:    hts_bin_bot
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1569
      functionLinenumberEnd: 1571
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          33
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_bin_level
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts.h:1570,13'
          Dst:             hts_bin_level
    - functionName:    hts_bin_level
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1543
      functionLinenumberEnd: 1546
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          32
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2249
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          580
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2249,1'
          Dst:             __errno_location
        - Src:             'hts.c:2249,1'
          Dst:             realloc
        - Src:             'hts.c:2249,1'
          Dst:             realloc
        - Src:             'hts.c:2249,1'
          Dst:             realloc
        - Src:             'hts.c:2249,1'
          Dst:             realloc
    - functionName:    ed_swap_4
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1600
      functionLinenumberEnd: 1602
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hwrite
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          166
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - hfile_set_blksize
        - hwrite2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:303,13'
          Dst:             hfile_set_blksize
        - Src:             './htslib/hfile.h:312,16'
          Dst:             hwrite2
        - Src:             './htslib/hfile.h:318,39'
          Dst:             hwrite2
    - functionName:    hread
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    add_to_interval
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3232
      functionLinenumberEnd: 3258
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          219
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - hts_realloc_ps
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3238,11'
          Dst:             hts_realloc_ps
    - functionName:    hts_realloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_prod_sat2
        - hts_realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:320,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:321,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:322,12'
          Dst:             hts_realloc
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    reg2intervals_wide
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3289
      functionLinenumberEnd: 3310
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - size_t
        - size_t
        - int
        - size_t
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          201
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - add_to_interval
        - hts_bin_level
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3297,21'
          Dst:             hts_bin_level
        - Src:             'hts.c:3304,23'
          Dst:             add_to_interval
    - functionName:    reg2intervals_narrow
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3265
      functionLinenumberEnd: 3282
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - size_t
        - size_t
        - int
        - size_t
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          159
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - add_to_interval
        - kh_get_bin
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3272,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3275,27'
          Dst:             add_to_interval
    - functionName:    kh_get_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2249
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          155
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __ks_insertsort__off_max
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2241
      functionLinenumberEnd: 2241
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          105
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_combsort__off_max
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2241
      functionLinenumberEnd: 2241
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          177
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - __ks_insertsort__off_max
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2241,1'
          Dst:             __ks_insertsort__off_max
    - functionName:    reg2bins_wide
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3173
      functionLinenumberEnd: 3191
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - size_t
        - size_t
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          198
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - __assert_fail
        - hts_bin_level
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3181,21'
          Dst:             hts_bin_level
        - Src:             'hts.c:3187,13'
          Dst:             __assert_fail
    - functionName:    reg2bins_narrow
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3156
      functionLinenumberEnd: 3169
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - size_t
        - size_t
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          155
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - __assert_fail
        - kh_get_bin
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3163,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3164,17'
          Dst:             __assert_fail
    - functionName:    need_idx_ugly_delay_hack
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2757
      functionLinenumberEnd: 2764
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          30
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idx_write_uint64
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2742
      functionLinenumberEnd: 2744
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_write
        - ed_is_big
        - ed_swap_8
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2743,9'
          Dst:             ed_is_big
        - Src:             'hts.c:2743,26'
          Dst:             ed_swap_8
        - Src:             'hts.c:2744,12'
          Dst:             bgzf_write
    - functionName:    idx_save_core
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2768
      functionLinenumberEnd: 2831
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          491
      EdgeCount:       115
      CyclomaticComplexity: 32
      functionsReached:
        - bgzf_write
        - idx_write_int32
        - idx_write_uint32
        - idx_write_uint64
        - le_to_u32
        - need_idx_ugly_delay_hack
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2778,42'
          Dst:             le_to_u32
        - Src:             'hts.c:2784,5'
          Dst:             idx_write_int32
        - Src:             'hts.c:2786,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2795,13'
          Dst:             idx_write_int32
        - Src:             'hts.c:2800,21'
          Dst:             idx_write_uint32
        - Src:             'hts.c:2801,45'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2803,21'
          Dst:             idx_write_int32
        - Src:             'hts.c:2806,25'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2807,25'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2813,13'
          Dst:             idx_write_int32
        - Src:             'hts.c:2815,17'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2819,10'
          Dst:             need_idx_ugly_delay_hack
        - Src:             'hts.c:2822,9'
          Dst:             idx_write_uint64
    - functionName:    le_to_u32
      functionSourceFile: '/src/htslib/./cram/../htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idx_write_int32
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2730
      functionLinenumberEnd: 2732
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_write
        - ed_is_big
        - ed_swap_4
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2731,9'
          Dst:             ed_is_big
        - Src:             'hts.c:2731,26'
          Dst:             ed_swap_4
        - Src:             'hts.c:2732,12'
          Dst:             bgzf_write
    - functionName:    idx_write_uint32
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2736
      functionLinenumberEnd: 2738
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_write
        - ed_is_big
        - ed_swap_4
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2737,9'
          Dst:             ed_is_big
        - Src:             'hts.c:2737,26'
          Dst:             ed_swap_4
        - Src:             'hts.c:2738,12'
          Dst:             bgzf_write
    - functionName:    __ks_insertsort__off
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2240
      functionLinenumberEnd: 2240
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          73
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_combsort__off
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2240
      functionLinenumberEnd: 2240
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          150
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - __ks_insertsort__off
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2240,1'
          Dst:             __ks_insertsort__off
    - functionName:    ks_introsort__off
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2240
      functionLinenumberEnd: 2240
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         69
      ICount:          462
      EdgeCount:       90
      CyclomaticComplexity: 23
      functionsReached:
        - __ks_insertsort__off
        - hts_malloc_ps
        - hts_prod_sat2
        - ks_combsort__off
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2240,1'
          Dst:             hts_prod_sat2
        - Src:             'hts.c:2240,1'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:2240,1'
          Dst:             ks_combsort__off
        - Src:             'hts.c:2240,1'
          Dst:             __ks_insertsort__off
    - functionName:    hts_malloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:146,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:147,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:148,12'
          Dst:             hts_malloc
    - functionName:    kh_del_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2249
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hgetln
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 198
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hgetdelim
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:198,12'
          Dst:             hgetdelim
    - functionName:    alternate_zeros
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 440
      functionLinenumberEnd: 444
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          39
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_hfile
      functionSourceFile: '/src/htslib/./cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 647
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputuw
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 287
      functionLinenumberEnd: 369
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          169
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:320,13'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:350,9'
          Dst:             ks_resize
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    get_severity_tag
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5180
      functionLinenumberEnd: 5197
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          43
      EdgeCount:       16
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:5181,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_get_log_level
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5175
      functionLinenumberEnd: 5176
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          5
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_set_log_level
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5170
      functionLinenumberEnd: 5172
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_free
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5165
      functionLinenumberEnd: 5167
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_lib_shutdown
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5161
      functionLinenumberEnd: 5163
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hfile_shutdown
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:5162,5'
          Dst:             hfile_shutdown
    - functionName:    hts_realloc_or_die
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5046
      functionLinenumberEnd: 5083
      functionDepth:   0
      returnType:      size_t
      argCount:        7
      argTypes:
        - size_t
        - size_t
        - size_t
        - size_t
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          210
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - exit
        - hts_log
        - realloc
        - strerror
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:5064,9'
          Dst:             __errno_location
        - Src:             'hts.c:5068,15'
          Dst:             realloc
        - Src:             'hts.c:5082,5'
          Dst:             __errno_location
        - Src:             'hts.c:5082,5'
          Dst:             strerror
        - Src:             'hts.c:5082,5'
          Dst:             hts_log
        - Src:             'hts.c:5083,5'
          Dst:             exit
    - functionName:    hts_log
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5200
      functionLinenumberEnd: 5214
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          54
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - fprintf
        - get_severity_tag
        - vfprintf
      functionUses:    632
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:5201,22'
          Dst:             __errno_location
        - Src:             'hts.c:5205,38'
          Dst:             get_severity_tag
        - Src:             'hts.c:5205,9'
          Dst:             fprintf
        - Src:             'hts.c:5208,9'
          Dst:             vfprintf
        - Src:             'hts.c:5211,9'
          Dst:             fprintf
        - Src:             'hts.c:5213,5'
          Dst:             __errno_location
    - functionName:    exit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    49
      BranchProfiles:  []
      Callsites:       []
    - functionName:    vfprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idx_read
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2999
      functionLinenumberEnd: 3068
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         72
      ICount:          409
      EdgeCount:       101
      CyclomaticComplexity: 31
      functionsReached:
        - __errno_location
        - bgzf_close
        - bgzf_open
        - bgzf_read
        - ed_is_big
        - ed_swap_4p
        - hts_idx_destroy
        - hts_idx_init
        - hts_malloc_ps
        - idx_read_core
        - le_to_u32
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3004,16'
          Dst:             bgzf_open
        - Src:             'hts.c:3006,13'
          Dst:             ed_is_big
        - Src:             'hts.c:3007,9'
          Dst:             bgzf_read
        - Src:             'hts.c:3009,9'
          Dst:             memcmp
        - Src:             'hts.c:3011,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3012,44'
          Dst:             ed_swap_4p
        - Src:             'hts.c:3015,25'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:3016,17'
          Dst:             bgzf_read
        - Src:             'hts.c:3020,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3021,20'
          Dst:             ed_swap_4p
        - Src:             'hts.c:3023,20'
          Dst:             hts_idx_init
        - Src:             'hts.c:3027,13'
          Dst:             idx_read_core
        - Src:             'hts.c:3029,14'
          Dst:             memcmp
        - Src:             'hts.c:3033,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3034,13'
          Dst:             le_to_u32
        - Src:             'hts.c:3036,20'
          Dst:             hts_idx_init
        - Src:             'hts.c:3037,13'
          Dst:             le_to_u32
        - Src:             'hts.c:3040,26'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:3045,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3048,13'
          Dst:             idx_read_core
        - Src:             'hts.c:3050,14'
          Dst:             memcmp
        - Src:             'hts.c:3052,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3053,20'
          Dst:             ed_swap_4p
        - Src:             'hts.c:3055,20'
          Dst:             hts_idx_init
        - Src:             'hts.c:3056,13'
          Dst:             idx_read_core
        - Src:             'hts.c:3058,12'
          Dst:             __errno_location
        - Src:             'hts.c:3060,5'
          Dst:             bgzf_close
        - Src:             'hts.c:3064,5'
          Dst:             bgzf_close
        - Src:             'hts.c:3065,5'
          Dst:             hts_idx_destroy
    - functionName:    memcmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    88
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_init
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2414
      functionLinenumberEnd: 2437
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - int
        - int
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          163
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2416,23'
          Dst:             calloc
        - Src:             'hts.c:2428,31'
          Dst:             calloc
        - Src:             'hts.c:2430,31'
          Dst:             calloc
    - functionName:    hts_idx_destroy
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2696
      functionLinenumberEnd: 2720
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          153
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - cram_index_free
        - kh_destroy_bin
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2704,9'
          Dst:             cram_index_free
        - Src:             'hts.c:2716,9'
          Dst:             kh_destroy_bin
    - functionName:    kh_destroy_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2249
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idx_test_and_fetch
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4632
      functionLinenumberEnd: 4745
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          494
      EdgeCount:       105
      CyclomaticComplexity: 31
      functionsReached:
        - __errno_location
        - access
        - calloc
        - hclose
        - hclose_abruptly
        - hisremote
        - hopen
        - hread
        - hts_detect_format2
        - hts_log
        - hts_open_tmpfile
        - hwrite
        - kputsn
        - ks_clear
        - rename
        - strcspn
        - strerror
        - strlen
        - strncmp
        - unlink
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4640,9'
          Dst:             hisremote
        - Src:             'hts.c:4645,20'
          Dst:             strncmp
        - Src:             'hts.c:4645,47'
          Dst:             strncmp
        - Src:             'hts.c:4645,80'
          Dst:             strncmp
        - Src:             'hts.c:4645,114'
          Dst:             strcspn
        - Src:             'hts.c:4645,134'
          Dst:             strcspn
        - Src:             'hts.c:4652,9'
          Dst:             kputsn
        - Src:             'hts.c:4653,13'
          Dst:             access
        - Src:             'hts.c:4662,27'
          Dst:             hopen
        - Src:             'hts.c:4663,13'
          Dst:             hts_log
        - Src:             'hts.c:4667,13'
          Dst:             hts_detect_format2
        - Src:             'hts.c:4668,13'
          Dst:             hts_log
        - Src:             'hts.c:4673,13'
          Dst:             hts_log
        - Src:             'hts.c:4678,29'
          Dst:             hts_open_tmpfile
        - Src:             'hts.c:4679,17'
          Dst:             hts_log
        - Src:             'hts.c:4682,13'
          Dst:             hts_log
        - Src:             'hts.c:4683,38'
          Dst:             calloc
        - Src:             'hts.c:4685,17'
          Dst:             __errno_location
        - Src:             'hts.c:4685,17'
          Dst:             strerror
        - Src:             'hts.c:4685,17'
          Dst:             hts_log
        - Src:             'hts.c:4688,25'
          Dst:             hread
        - Src:             'hts.c:4689,21'
          Dst:             hwrite
        - Src:             'hts.c:4690,21'
          Dst:             __errno_location
        - Src:             'hts.c:4690,21'
          Dst:             strerror
        - Src:             'hts.c:4690,21'
          Dst:             hts_log
        - Src:             'hts.c:4698,17'
          Dst:             hts_log
        - Src:             'hts.c:4701,17'
          Dst:             hclose
        - Src:             'hts.c:4702,17'
          Dst:             __errno_location
        - Src:             'hts.c:4702,17'
          Dst:             strerror
        - Src:             'hts.c:4702,17'
          Dst:             hts_log
        - Src:             'hts.c:4707,17'
          Dst:             rename
        - Src:             'hts.c:4708,17'
          Dst:             __errno_location
        - Src:             'hts.c:4708,17'
          Dst:             strerror
        - Src:             'hts.c:4708,17'
          Dst:             hts_log
        - Src:             'hts.c:4711,13'
          Dst:             ks_clear
        - Src:             'hts.c:4720,13'
          Dst:             hclose
        - Src:             'hts.c:4721,13'
          Dst:             hts_log
        - Src:             'hts.c:4729,26'
          Dst:             hopen
        - Src:             'hts.c:4730,9'
          Dst:             hclose_abruptly
        - Src:             'hts.c:4732,22'
          Dst:             strlen
        - Src:             'hts.c:4737,18'
          Dst:             __errno_location
        - Src:             'hts.c:4738,21'
          Dst:             hclose_abruptly
        - Src:             'hts.c:4739,19'
          Dst:             hclose_abruptly
        - Src:             'hts.c:4740,21'
          Dst:             unlink
        - Src:             'hts.c:4743,5'
          Dst:             __errno_location
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    access
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_detect_format2
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 558
      functionLinenumberEnd: 774
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         214
      ICount:          1184
      EdgeCount:       290
      CyclomaticComplexity: 78
      functionsReached:
        - cmp_nonblank
        - colmatch
        - decompress_peek_gz
        - decompress_peek_xz
        - find_file_extension
        - hpeek
        - is_fastaq
        - is_text_only
        - memcmp
        - parse_tabbed_text
        - parse_version
        - strcmp
        - strstr
        - tolower_c
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:562,19'
          Dst:             hpeek
        - Src:             'hts.c:577,17'
          Dst:             memcmp
        - Src:             'hts.c:579,22'
          Dst:             memcmp
        - Src:             'hts.c:585,15'
          Dst:             decompress_peek_gz
        - Src:             'hts.c:587,27'
          Dst:             memcmp
        - Src:             'hts.c:588,15'
          Dst:             memcmp
        - Src:             'hts.c:589,15'
          Dst:             memcmp
        - Src:             'hts.c:599,26'
          Dst:             memcmp
        - Src:             'hts.c:602,15'
          Dst:             decompress_peek_xz
        - Src:             'hts.c:608,26'
          Dst:             memcmp
        - Src:             'hts.c:613,15'
          Dst:             hpeek
        - Src:             'hts.c:627,18'
          Dst:             strcmp
        - Src:             'hts.c:629,13'
          Dst:             find_file_extension
        - Src:             'hts.c:630,43'
          Dst:             tolower_c
        - Src:             'hts.c:634,21'
          Dst:             memcmp
        - Src:             'hts.c:642,13'
          Dst:             memcmp
        - Src:             'hts.c:649,18'
          Dst:             memcmp
        - Src:             'hts.c:655,18'
          Dst:             memcmp
        - Src:             'hts.c:661,18'
          Dst:             memcmp
        - Src:             'hts.c:668,18'
          Dst:             memcmp
        - Src:             'hts.c:674,18'
          Dst:             memcmp
        - Src:             'hts.c:681,18'
          Dst:             strcmp
        - Src:             'hts.c:687,27'
          Dst:             memcmp
        - Src:             'hts.c:691,13'
          Dst:             parse_version
        - Src:             'hts.c:695,15'
          Dst:             memcmp
        - Src:             'hts.c:695,45'
          Dst:             memcmp
        - Src:             'hts.c:696,15'
          Dst:             memcmp
        - Src:             'hts.c:696,45'
          Dst:             memcmp
        - Src:             'hts.c:697,15'
          Dst:             memcmp
        - Src:             'hts.c:702,25'
          Dst:             memcmp
        - Src:             'hts.c:703,13'
          Dst:             parse_version
        - Src:             'hts.c:708,26'
          Dst:             memcmp
        - Src:             'hts.c:715,14'
          Dst:             cmp_nonblank
        - Src:             'hts.c:720,25'
          Dst:             memcmp
        - Src:             'hts.c:725,41'
          Dst:             is_fastaq
        - Src:             'hts.c:730,41'
          Dst:             is_fastaq
        - Src:             'hts.c:735,14'
          Dst:             parse_tabbed_text
        - Src:             'hts.c:740,13'
          Dst:             colmatch
        - Src:             'hts.c:747,46'
          Dst:             colmatch
        - Src:             'hts.c:752,18'
          Dst:             strstr
        - Src:             'hts.c:752,46'
          Dst:             colmatch
        - Src:             'hts.c:757,18'
          Dst:             strstr
        - Src:             'hts.c:757,46'
          Dst:             colmatch
        - Src:             'hts.c:762,18'
          Dst:             colmatch
        - Src:             'hts.c:770,9'
          Dst:             is_text_only
    - functionName:    hts_open_tmpfile
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1987
      functionLinenumberEnd: 2004
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          98
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - clock
        - getpid
        - hopen
        - ks_clear
        - ksprintf
        - time
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1988,21'
          Dst:             getpid
        - Src:             'hts.c:1995,34'
          Dst:             time
        - Src:             'hts.c:1995,60'
          Dst:             clock
        - Src:             'hts.c:1998,9'
          Dst:             ks_clear
        - Src:             'hts.c:1999,13'
          Dst:             ksprintf
        - Src:             'hts.c:2001,14'
          Dst:             hopen
        - Src:             'hts.c:2002,28'
          Dst:             __errno_location
    - functionName:    rename
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_clear
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    unlink
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    getpid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    time
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    clock
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decompress_peek_gz
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 316
      functionLinenumberEnd: 352
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          124
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - hpeek
        - inflate
        - inflateEnd
        - inflateInit2_
        - inflateReset
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:319,21'
          Dst:             hpeek
        - Src:             'hts.c:329,9'
          Dst:             inflateInit2_
        - Src:             'hts.c:334,15'
          Dst:             inflate
        - Src:             'hts.c:340,13'
          Dst:             inflateReset
        - Src:             'hts.c:349,5'
          Dst:             inflateEnd
    - functionName:    decompress_peek_xz
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 359
      functionLinenumberEnd: 383
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          90
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - hpeek
        - lzma_code
        - lzma_easy_decoder_memusage
        - lzma_end
        - lzma_stream_decoder
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:361,21'
          Dst:             hpeek
        - Src:             'hts.c:365,34'
          Dst:             lzma_easy_decoder_memusage
        - Src:             'hts.c:365,9'
          Dst:             lzma_stream_decoder
        - Src:             'hts.c:373,13'
          Dst:             lzma_code
        - Src:             'hts.c:375,9'
          Dst:             lzma_end
        - Src:             'hts.c:380,5'
          Dst:             lzma_end
    - functionName:    find_file_extension
      functionSourceFile: '/src/htslib/./hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         58
      ICount:          308
      EdgeCount:       79
      CyclomaticComplexity: 23
      functionsReached:
        - strlen
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_internal.h:142,30'
          Dst:             strstr
        - Src:             './hts_internal.h:144,30'
          Dst:             strlen
    - functionName:    tolower_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 179
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tolower
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:179,47'
          Dst:             tolower
    - functionName:    parse_version
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 391
      functionLinenumberEnd: 413
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          159
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - isdigit_c
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:398,29'
          Dst:             isdigit_c
        - Src:             'hts.c:405,37'
          Dst:             isdigit_c
    - functionName:    cmp_nonblank
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 417
      functionLinenumberEnd: 427
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          95
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - isspace_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:422,18'
          Dst:             isspace_c
    - functionName:    is_fastaq
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 460
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          146
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - is_text_only
        - memchr
        - toupper
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:461,32'
          Dst:             memchr
        - Src:             'hts.c:464,11'
          Dst:             is_text_only
        - Src:             'hts.c:472,53'
          Dst:             toupper
    - functionName:    parse_tabbed_text
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 488
      functionLinenumberEnd: 537
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          350
      EdgeCount:       92
      CyclomaticComplexity: 22
      functionsReached:
        - isdigit_c
        - strchr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:516,17'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:500,17'
          Dst:             isdigit_c
        - Src:             'hts.c:504,22'
          Dst:             strchr
        - Src:             'hts.c:504,62'
          Dst:             isdigit_c
    - functionName:    colmatch
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 542
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          88
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    is_text_only
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 430
      functionLinenumberEnd: 436
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          73
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    isdigit_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:171,46'
          Dst:             __ctype_b_loc
    - functionName:    toupper
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    isspace_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:176,46'
          Dst:             __ctype_b_loc
    - functionName:    lzma_easy_decoder_memusage
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    lzma_stream_decoder
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    lzma_code
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    lzma_end
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inflateInit2_
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inflate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inflateReset
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inflateEnd
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_load3
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4997
      functionLinenumberEnd: 5035
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          205
      EdgeCount:       50
      CyclomaticComplexity: 15
      functionsReached:
        - __errno_location
        - hisremote
        - hts_log
        - idx_find_and_load
        - idx_read
        - idx_test_and_fetch
        - stat
        - strdup
        - strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:5002,16'
          Dst:             idx_find_and_load
        - Src:             'hts.c:5006,21'
          Dst:             hisremote
        - Src:             'hts.c:5006,51'
          Dst:             hisremote
        - Src:             'hts.c:5008,14'
          Dst:             stat
        - Src:             'hts.c:5008,39'
          Dst:             stat
        - Src:             'hts.c:5011,13'
          Dst:             hts_log
        - Src:             'hts.c:5016,19'
          Dst:             idx_test_and_fetch
        - Src:             'hts.c:5018,27'
          Dst:             strdup
        - Src:             'hts.c:5026,22'
          Dst:             idx_read
        - Src:             'hts.c:5028,9'
          Dst:             __errno_location
        - Src:             'hts.c:5028,9'
          Dst:             __errno_location
        - Src:             'hts.c:5028,9'
          Dst:             __errno_location
        - Src:             'hts.c:5028,9'
          Dst:             strerror
        - Src:             'hts.c:5028,9'
          Dst:             hts_log
    - functionName:    idx_find_and_load
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4934
      functionLinenumberEnd: 4985
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          210
      EdgeCount:       46
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - hisremote
        - hts_idx_check_local
        - hts_idx_load3
        - hts_log
        - idx_filename
        - idx_read
        - strdup
        - strerror
        - strstr
      functionUses:    2
      BranchProfiles:
        - Branch String:   'hts.c:4956,17'
          Branch Sides:    []
        - Branch String:   'hts.c:4965,17'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:4935,31'
          Dst:             strstr
        - Src:             'hts.c:4940,21'
          Dst:             strdup
        - Src:             'hts.c:4942,13'
          Dst:             __errno_location
        - Src:             'hts.c:4942,13'
          Dst:             strerror
        - Src:             'hts.c:4942,13'
          Dst:             hts_log
        - Src:             'hts.c:4947,15'
          Dst:             hts_idx_load3
        - Src:             'hts.c:4952,9'
          Dst:             hts_idx_check_local
        - Src:             'hts.c:4952,54'
          Dst:             hisremote
        - Src:             'hts.c:4954,21'
          Dst:             idx_filename
        - Src:             'hts.c:4957,43'
          Dst:             idx_filename
        - Src:             'hts.c:4958,43'
          Dst:             idx_filename
        - Src:             'hts.c:4963,21'
          Dst:             idx_filename
        - Src:             'hts.c:4966,43'
          Dst:             idx_filename
        - Src:             'hts.c:4967,43'
          Dst:             idx_filename
        - Src:             'hts.c:4975,13'
          Dst:             hts_log
        - Src:             'hts.c:4980,15'
          Dst:             hts_idx_load3
        - Src:             'hts.c:4982,15'
          Dst:             idx_read
    - functionName:    stat
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    18
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_check_local
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4764
      functionLinenumberEnd: 4891
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         98
      ICount:          586
      EdgeCount:       131
      CyclomaticComplexity: 35
      functionsReached:
        - calloc
        - hisremote
        - hts_log
        - stat
        - strcmp
        - strcpy
        - strlen
        - strncmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4778,9'
          Dst:             hisremote
        - Src:             'hts.c:4779,18'
          Dst:             strlen
        - Src:             'hts.c:4786,13'
          Dst:             strncmp
        - Src:             'hts.c:4787,18'
          Dst:             strncmp
        - Src:             'hts.c:4797,5'
          Dst:             hts_log
        - Src:             'hts.c:4798,12'
          Dst:             strlen
        - Src:             'hts.c:4799,24'
          Dst:             calloc
        - Src:             'hts.c:4805,5'
          Dst:             strcpy
        - Src:             'hts.c:4805,32'
          Dst:             strcpy
        - Src:             'hts.c:4806,8'
          Dst:             stat
        - Src:             'hts.c:4812,17'
          Dst:             strcpy
        - Src:             'hts.c:4813,20'
          Dst:             stat
        - Src:             'hts.c:4822,9'
          Dst:             strcpy
        - Src:             'hts.c:4822,36'
          Dst:             strcpy
        - Src:             'hts.c:4823,12'
          Dst:             stat
        - Src:             'hts.c:4829,21'
          Dst:             strcpy
        - Src:             'hts.c:4830,24'
          Dst:             stat
        - Src:             'hts.c:4838,9'
          Dst:             strcpy
        - Src:             'hts.c:4838,36'
          Dst:             strcpy
        - Src:             'hts.c:4839,12'
          Dst:             stat
        - Src:             'hts.c:4845,21'
          Dst:             strcpy
        - Src:             'hts.c:4846,24'
          Dst:             stat
        - Src:             'hts.c:4854,9'
          Dst:             strcpy
        - Src:             'hts.c:4854,36'
          Dst:             strcpy
        - Src:             'hts.c:4855,12'
          Dst:             stat
        - Src:             'hts.c:4861,21'
          Dst:             strcpy
        - Src:             'hts.c:4862,24'
          Dst:             stat
        - Src:             'hts.c:4871,9'
          Dst:             strcpy
        - Src:             'hts.c:4873,26'
          Dst:             strcmp
        - Src:             'hts.c:4874,26'
          Dst:             strcmp
        - Src:             'hts.c:4875,13'
          Dst:             strcpy
        - Src:             'hts.c:4876,22'
          Dst:             stat
        - Src:             'hts.c:4881,9'
          Dst:             strcpy
        - Src:             'hts.c:4883,13'
          Dst:             stat
    - functionName:    idx_filename
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4893
      functionLinenumberEnd: 4921
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          101
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - haddextension
        - idx_test_and_fetch
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4900,19'
          Dst:             haddextension
        - Src:             'hts.c:4904,16'
          Dst:             idx_test_and_fetch
        - Src:             'hts.c:4906,23'
          Dst:             haddextension
        - Src:             'hts.c:4910,15'
          Dst:             idx_test_and_fetch
    - functionName:    strcpy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    40
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_load2
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4992
      functionLinenumberEnd: 4993
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_idx_load3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4993,12'
          Dst:             hts_idx_load3
    - functionName:    hts_idx_load
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4987
      functionLinenumberEnd: 4988
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - idx_find_and_load
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4988,12'
          Dst:             idx_find_and_load
    - functionName:    hts_idx_locatefn
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4929
      functionLinenumberEnd: 4930
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - idx_filename
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4930,12'
          Dst:             idx_filename
    - functionName:    hts_idx_getfn
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4924
      functionLinenumberEnd: 4925
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - idx_filename
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4925,12'
          Dst:             idx_filename
    - functionName:    hts_itr_multi_next
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4334
      functionLinenumberEnd: 4620
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         166
      ICount:          1342
      EdgeCount:       223
      CyclomaticComplexity: 59
      functionsReached:
        - __assert_fail
        - bsearch
        - compare_regions
        - cram_eof
        - cram_set_option
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4351,17'
          Dst:             hts_log
        - Src:             'hts.c:4368,5'
          Dst:             __assert_fail
        - Src:             'hts.c:4429,25'
          Dst:             hts_log
        - Src:             'hts.c:4434,25'
          Dst:             cram_set_option
        - Src:             'hts.c:4480,33'
          Dst:             hts_log
        - Src:             'hts.c:4533,29'
          Dst:             cram_set_option
        - Src:             'hts.c:4538,29'
          Dst:             hts_log
        - Src:             'hts.c:4549,34'
          Dst:             cram_eof
        - Src:             'hts.c:4582,42'
          Dst:             bsearch
        - Src:             'hts.c:4582,42'
          Dst:             compare_regions
    - functionName:    compare_regions
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3369
      functionLinenumberEnd: 3379
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          75
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bsearch
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_itr_next
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4280
      functionLinenumberEnd: 4331
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          412
      EdgeCount:       71
      CyclomaticComplexity: 19
      functionsReached:
        - __assert_fail
        - __errno_location
        - bgzf_seek
        - hts_log
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4286,17'
          Dst:             bgzf_seek
        - Src:             'hts.c:4287,17'
          Dst:             __errno_location
        - Src:             'hts.c:4287,17'
          Dst:             __errno_location
        - Src:             'hts.c:4287,17'
          Dst:             strerror
        - Src:             'hts.c:4287,17'
          Dst:             hts_log
        - Src:             'hts.c:4302,5'
          Dst:             __assert_fail
        - Src:             'hts.c:4307,21'
          Dst:             bgzf_seek
        - Src:             'hts.c:4308,21'
          Dst:             __errno_location
        - Src:             'hts.c:4308,21'
          Dst:             __errno_location
        - Src:             'hts.c:4308,21'
          Dst:             strerror
        - Src:             'hts.c:4308,21'
          Dst:             hts_log
    - functionName:    hts_itr_regions
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4225
      functionLinenumberEnd: 4277
      functionDepth:   0
      returnType:      'N/A'
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          260
      EdgeCount:       38
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - compare_regions
        - hts_itr_destroy
        - hts_log
        - qsort
        - strcmp
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4232,34'
          Dst:             calloc
        - Src:             'hts.c:4245,22'
          Dst:             strcmp
        - Src:             'hts.c:4250,22'
          Dst:             strcmp
        - Src:             'hts.c:4258,25'
          Dst:             hts_log
        - Src:             'hts.c:4259,25'
          Dst:             hts_itr_destroy
        - Src:             'hts.c:4262,25'
          Dst:             hts_log
        - Src:             'hts.c:4268,9'
          Dst:             qsort
        - Src:             'hts.c:4268,9'
          Dst:             compare_regions
        - Src:             'hts.c:4270,13'
          Dst:             hts_log
        - Src:             'hts.c:4271,13'
          Dst:             hts_itr_destroy
    - functionName:    hts_itr_destroy
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3876
      functionLinenumberEnd: 3888
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          67
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hts_reglist_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3879,13'
          Dst:             hts_reglist_free
    - functionName:    qsort
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_itr_querys
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4210
      functionLinenumberEnd: 4223
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          86
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - hts_parse_region
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4214,9'
          Dst:             strcmp
        - Src:             'hts.c:4216,14'
          Dst:             strcmp
        - Src:             'hts.c:4219,10'
          Dst:             hts_parse_region
    - functionName:    hts_parse_region
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4011
      functionLinenumberEnd: 4164
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         110
      ICount:          691
      EdgeCount:       152
      CyclomaticComplexity: 44
      functionsReached:
        - hts_log
        - hts_memrchr
        - hts_parse_decimal
        - isdigit_c
        - kputsn
        - memchr
        - strchr
        - strlen
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4015,20'
          Dst:             strlen
        - Src:             'hts.c:4030,29'
          Dst:             memchr
        - Src:             'hts.c:4032,13'
          Dst:             hts_log
        - Src:             'hts.c:4044,21'
          Dst:             strchr
        - Src:             'hts.c:4053,21'
          Dst:             strchr
        - Src:             'hts.c:4060,17'
          Dst:             hts_memrchr
        - Src:             'hts.c:4066,9'
          Dst:             kputsn
        - Src:             'hts.c:4081,9'
          Dst:             kputsn
        - Src:             'hts.c:4091,13'
          Dst:             kputsn
        - Src:             'hts.c:4099,17'
          Dst:             hts_log
        - Src:             'hts.c:4115,5'
          Dst:             kputsn
        - Src:             'hts.c:4127,12'
          Dst:             hts_parse_decimal
        - Src:             'hts.c:4131,13'
          Dst:             hts_log
        - Src:             'hts.c:4134,13'
          Dst:             isdigit_c
        - Src:             'hts.c:4140,13'
          Dst:             hts_log
        - Src:             'hts.c:4148,16'
          Dst:             hts_parse_decimal
        - Src:             'hts.c:4150,13'
          Dst:             hts_log
        - Src:             'hts.c:4154,9'
          Dst:             hts_log
    - functionName:    hts_memrchr
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3952
      functionLinenumberEnd: 3961
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          55
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_parse_decimal
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3898
      functionLinenumberEnd: 3949
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         95
      ICount:          500
      EdgeCount:       120
      CyclomaticComplexity: 27
      functionsReached:
        - hts_log
        - isdigit_c
        - isspace_c
        - push_digit
      functionUses:    4
      BranchProfiles:
        - Branch String:   'hts.c:3918,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3904,12'
          Dst:             isspace_c
        - Src:             'hts.c:3909,13'
          Dst:             isdigit_c
        - Src:             'hts.c:3909,42'
          Dst:             push_digit
        - Src:             'hts.c:3915,16'
          Dst:             isdigit_c
        - Src:             'hts.c:3915,57'
          Dst:             push_digit
        - Src:             'hts.c:3922,16'
          Dst:             isdigit_c
        - Src:             'hts.c:3922,35'
          Dst:             push_digit
        - Src:             'hts.c:3936,9'
          Dst:             hts_log
        - Src:             'hts.c:3943,9'
          Dst:             hts_log
        - Src:             'hts.c:3946,13'
          Dst:             hts_log
    - functionName:    push_digit
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3891
      functionLinenumberEnd: 3894
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          18
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_parse_reg
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4189
      functionLinenumberEnd: 4207
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          74
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hts_log
        - hts_parse_reg64
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4191,25'
          Dst:             hts_parse_reg64
        - Src:             'hts.c:4193,9'
          Dst:             hts_log
        - Src:             'hts.c:4200,13'
          Dst:             hts_log
    - functionName:    hts_parse_reg64
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4169
      functionLinenumberEnd: 4186
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          112
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - hts_parse_decimal
        - strlen
        - strrchr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4171,25'
          Dst:             strrchr
        - Src:             'hts.c:4174,20'
          Dst:             strlen
        - Src:             'hts.c:4177,12'
          Dst:             hts_parse_decimal
        - Src:             'hts.c:4181,37'
          Dst:             hts_parse_decimal
    - functionName:    strrchr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_itr_multi_cram
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3755
      functionLinenumberEnd: 3873
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         61
      ICount:          454
      EdgeCount:       78
      CyclomaticComplexity: 19
      functionsReached:
        - cram_index_last
        - cram_index_query
        - cram_index_query_last
        - hts_log
        - hts_realloc_ps
        - ks_introsort__off_max
        - realloc
      functionUses:    2
      BranchProfiles:
        - Branch String:   'hts.c:3824,13'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3781,19'
          Dst:             hts_realloc_ps
        - Src:             'hts.c:3799,21'
          Dst:             cram_index_query
        - Src:             'hts.c:3809,28'
          Dst:             cram_index_last
        - Src:             'hts.c:3811,28'
          Dst:             cram_index_query_last
        - Src:             'hts.c:3819,25'
          Dst:             hts_log
        - Src:             'hts.c:3826,25'
          Dst:             cram_index_query
        - Src:             'hts.c:3831,25'
          Dst:             hts_log
        - Src:             'hts.c:3835,25'
          Dst:             cram_index_query
        - Src:             'hts.c:3838,31'
          Dst:             realloc
        - Src:             'hts.c:3846,25'
          Dst:             hts_log
        - Src:             'hts.c:3855,21'
          Dst:             hts_log
        - Src:             'hts.c:3861,9'
          Dst:             ks_introsort__off_max
    - functionName:    ks_introsort__off_max
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2241
      functionLinenumberEnd: 2241
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         103
      ICount:          642
      EdgeCount:       136
      CyclomaticComplexity: 35
      functionsReached:
        - __ks_insertsort__off_max
        - hts_malloc_ps
        - hts_prod_sat2
        - ks_combsort__off_max
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2241,1'
          Dst:             hts_prod_sat2
        - Src:             'hts.c:2241,1'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:2241,1'
          Dst:             ks_combsort__off_max
        - Src:             'hts.c:2241,1'
          Dst:             __ks_insertsort__off_max
    - functionName:    reg2intervals
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3313
      functionLinenumberEnd: 3367
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - size_t
        - size_t
        - int
        - size_t
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          352
      EdgeCount:       54
      CyclomaticComplexity: 15
      functionsReached:
        - ks_introsort__off_max
        - reg2intervals_narrow
        - reg2intervals_wide
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3342,15'
          Dst:             reg2intervals_narrow
        - Src:             'hts.c:3345,15'
          Dst:             reg2intervals_wide
        - Src:             'hts.c:3352,9'
          Dst:             ks_introsort__off_max
    - functionName:    hts_itr_multi_bam
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3611
      functionLinenumberEnd: 3752
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         123
      ICount:          829
      EdgeCount:       161
      CyclomaticComplexity: 40
      functionsReached:
        - hts_idx_maxpos
        - hts_itr_off
        - kh_get_bin
        - ks_introsort__off_max
        - reg2intervals
      functionUses:    6
      BranchProfiles:
        - Branch String:   'hts.c:3633,17'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3631,21'
          Dst:             hts_itr_off
        - Src:             'hts.c:3653,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3659,26'
          Dst:             hts_idx_maxpos
        - Src:             'hts.c:3679,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3686,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3723,29'
          Dst:             kh_get_bin
        - Src:             'hts.c:3736,21'
          Dst:             reg2intervals
        - Src:             'hts.c:3746,9'
          Dst:             ks_introsort__off_max
    - functionName:    hts_itr_off
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3381
      functionLinenumberEnd: 3431
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         41
      ICount:          250
      EdgeCount:       51
      CyclomaticComplexity: 12
      functionsReached:
        - kh_get_bin
      functionUses:    2
      BranchProfiles:
        - Branch String:   'hts.c:3387,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3392,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3412,17'
          Dst:             kh_get_bin
    - functionName:    hts_idx_maxpos
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2542
      functionLinenumberEnd: 2543
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_bin_maxpos
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2543,12'
          Dst:             hts_bin_maxpos
    - functionName:    hts_bin_maxpos
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1576
      functionLinenumberEnd: 1578
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          17
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    reg2bins
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3195
      functionLinenumberEnd: 3227
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - size_t
        - size_t
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          237
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - hts_realloc_p
        - reg2bins_narrow
        - reg2bins_wide
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3214,13'
          Dst:             __errno_location
        - Src:             'hts.c:3217,22'
          Dst:             hts_realloc_p
        - Src:             'hts.c:3223,16'
          Dst:             reg2bins_narrow
        - Src:             'hts.c:3225,16'
          Dst:             reg2bins_wide
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_itr_query
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3435
      functionLinenumberEnd: 3608
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         164
      ICount:          1226
      EdgeCount:       218
      CyclomaticComplexity: 56
      functionsReached:
        - __errno_location
        - calloc
        - hts_idx_maxpos
        - hts_itr_destroy
        - hts_itr_off
        - kh_get_bin
        - ks_introsort__off_max
        - reg2bins
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3448,9'
          Dst:             __errno_location
        - Src:             'hts.c:3452,24'
          Dst:             calloc
        - Src:             'hts.c:3455,28'
          Dst:             hts_itr_off
        - Src:             'hts.c:3475,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3486,26'
          Dst:             hts_idx_maxpos
        - Src:             'hts.c:3494,21'
          Dst:             kh_get_bin
        - Src:             'hts.c:3500,31'
          Dst:             kh_get_bin
        - Src:             'hts.c:3540,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3550,17'
          Dst:             reg2bins
        - Src:             'hts.c:3551,17'
          Dst:             hts_itr_destroy
        - Src:             'hts.c:3556,26'
          Dst:             kh_get_bin
        - Src:             'hts.c:3563,19'
          Dst:             calloc
        - Src:             'hts.c:3565,26'
          Dst:             kh_get_bin
        - Src:             'hts.c:3589,13'
          Dst:             ks_introsort__off_max
    - functionName:    hts_idx_get_n_no_coor
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3145
      functionLinenumberEnd: 3148
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          27
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_get_stat
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3124
      functionLinenumberEnd: 3142
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          116
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - kh_get_bin
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3133,17'
          Dst:             kh_get_bin
    - functionName:    hts_idx_nseq
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3118
      functionLinenumberEnd: 3121
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          24
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_seqnames
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3099
      functionLinenumberEnd: 3116
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          107
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3107,41'
          Dst:             calloc
    - functionName:    hts_idx_get_meta
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3093
      functionLinenumberEnd: 3095
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_set_meta
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3072
      functionLinenumberEnd: 3090
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          97
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - hts_malloc_ps
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:3077,13'
          Dst:             __errno_location
        - Src:             'hts.c:3080,20'
          Dst:             hts_malloc_ps
    - functionName:    hts_idx_save_but_not_close
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2903
      functionLinenumberEnd: 2916
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          76
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - bgzf_close
        - bgzf_flush
        - bgzf_open
        - hts_idx_write_out
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2904,19'
          Dst:             bgzf_open
        - Src:             'hts.c:2907,9'
          Dst:             hts_idx_write_out
        - Src:             'hts.c:2908,26'
          Dst:             __errno_location
        - Src:             'hts.c:2909,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2911,9'
          Dst:             __errno_location
        - Src:             'hts.c:2915,12'
          Dst:             bgzf_flush
    - functionName:    hts_idx_write_out
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2856
      functionLinenumberEnd: 2875
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          164
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - abort
        - bgzf_write
        - idx_save_core
        - idx_write_int32
        - idx_write_uint32
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2860,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2861,9'
          Dst:             idx_write_int32
        - Src:             'hts.c:2862,9'
          Dst:             idx_write_int32
        - Src:             'hts.c:2863,9'
          Dst:             idx_write_uint32
        - Src:             'hts.c:2864,26'
          Dst:             bgzf_write
        - Src:             'hts.c:2866,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2868,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2869,12'
          Dst:             abort
        - Src:             'hts.c:2871,5'
          Dst:             idx_save_core
    - functionName:    hts_idx_save_as
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2878
      functionLinenumberEnd: 2895
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          78
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - bgzf_close
        - bgzf_open
        - hts_idx_save
        - hts_idx_write_out
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2882,16'
          Dst:             hts_idx_save
        - Src:             'hts.c:2884,10'
          Dst:             bgzf_open
        - Src:             'hts.c:2887,9'
          Dst:             hts_idx_write_out
        - Src:             'hts.c:2888,26'
          Dst:             __errno_location
        - Src:             'hts.c:2889,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2890,9'
          Dst:             __errno_location
        - Src:             'hts.c:2894,12'
          Dst:             bgzf_close
    - functionName:    hts_idx_save
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2834
      functionLinenumberEnd: 2853
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          100
      EdgeCount:       17
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - abort
        - calloc
        - hts_idx_save_as
        - strcat
        - strcpy
        - strlen
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:2841,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:2836,38'
          Dst:             __errno_location
        - Src:             'hts.c:2837,36'
          Dst:             strlen
        - Src:             'hts.c:2837,26'
          Dst:             calloc
        - Src:             'hts.c:2840,5'
          Dst:             strcpy
        - Src:             'hts.c:2842,23'
          Dst:             strcat
        - Src:             'hts.c:2843,23'
          Dst:             strcat
        - Src:             'hts.c:2844,23'
          Dst:             strcat
        - Src:             'hts.c:2845,14'
          Dst:             abort
        - Src:             'hts.c:2848,11'
          Dst:             hts_idx_save_as
        - Src:             'hts.c:2849,12'
          Dst:             __errno_location
        - Src:             'hts.c:2851,5'
          Dst:             __errno_location
    - functionName:    strcat
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_fmt
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2722
      functionLinenumberEnd: 2723
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_amend_last
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2691
      functionLinenumberEnd: 2693
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          13
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    u32_to_le
      functionSourceFile: '/src/htslib/./cram/../htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_idx_tbi_name
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2656
      functionLinenumberEnd: 2678
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          122
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - hts_realloc_ps
        - le_to_u32
        - strcpy
        - strlen
        - u32_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2663,20'
          Dst:             strlen
        - Src:             'hts.c:2664,20'
          Dst:             hts_realloc_ps
        - Src:             'hts.c:2670,5'
          Dst:             strcpy
        - Src:             'hts.c:2674,15'
          Dst:             le_to_u32
        - Src:             'hts.c:2674,5'
          Dst:             u32_to_le
    - functionName:    hts_reg2bin
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1535
      functionLinenumberEnd: 1540
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - size_t
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          85
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    insert_to_l
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2356
      functionLinenumberEnd: 2378
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          181
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - hts_realloc_p
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2365,22'
          Dst:             hts_realloc_p
    - functionName:    hts_idx_push
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2567
      functionLinenumberEnd: 2648
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         84
      ICount:          687
      EdgeCount:       115
      CyclomaticComplexity: 33
      functionsReached:
        - hts_idx_check_range
        - hts_log
        - hts_realloc_p
        - hts_reg2bin
        - insert_to_b
        - insert_to_l
        - kh_init_bin
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2570,9'
          Dst:             hts_idx_check_range
        - Src:             'hts.c:2577,20'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2581,20'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2594,13'
          Dst:             hts_log
        - Src:             'hts.c:2599,13'
          Dst:             hts_log
        - Src:             'hts.c:2605,9'
          Dst:             hts_log
        - Src:             'hts.c:2610,9'
          Dst:             hts_log
        - Src:             'hts.c:2615,51'
          Dst:             kh_init_bin
        - Src:             'hts.c:2620,13'
          Dst:             insert_to_l
        - Src:             'hts.c:2624,11'
          Dst:             hts_reg2bin
        - Src:             'hts.c:2627,17'
          Dst:             insert_to_b
        - Src:             'hts.c:2632,17'
          Dst:             insert_to_b
        - Src:             'hts.c:2634,17'
          Dst:             insert_to_b
    - functionName:    hts_idx_check_range
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2547
      functionLinenumberEnd: 2564
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          85
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - hts_idx_maxpos
        - hts_log
        - idx_format_name
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2548,24'
          Dst:             hts_idx_maxpos
        - Src:             'hts.c:2553,9'
          Dst:             hts_log
        - Src:             'hts.c:2558,9'
          Dst:             idx_format_name
        - Src:             'hts.c:2558,9'
          Dst:             hts_log
        - Src:             'hts.c:2562,5'
          Dst:             __errno_location
    - functionName:    insert_to_b
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2328
      functionLinenumberEnd: 2353
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          168
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - calloc
        - hts_realloc_p
        - kh_del_bin
        - kh_put_bin
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2332,9'
          Dst:             kh_put_bin
        - Src:             'hts.c:2337,34'
          Dst:             calloc
        - Src:             'hts.c:2339,13'
          Dst:             kh_del_bin
        - Src:             'hts.c:2344,34'
          Dst:             hts_realloc_p
    - functionName:    idx_format_name
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2277
      functionLinenumberEnd: 2285
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          37
      EdgeCount:       12
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:2278,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    compress_binning
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2471
      functionLinenumberEnd: 2521
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         63
      ICount:          605
      EdgeCount:       84
      CyclomaticComplexity: 23
      functionsReached:
        - hts_realloc_p
        - kh_del_bin
        - kh_get_bin
        - ks_introsort__off
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2483,46'
          Dst:             ks_introsort__off
        - Src:             'hts.c:2486,22'
          Dst:             kh_get_bin
        - Src:             'hts.c:2494,32'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2502,17'
          Dst:             kh_del_bin
        - Src:             'hts.c:2506,9'
          Dst:             kh_get_bin
        - Src:             'hts.c:2507,28'
          Dst:             ks_introsort__off
    - functionName:    hts_idx_finish
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2524
      functionLinenumberEnd: 2539
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          169
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - compress_binning
        - insert_to_b
        - update_loff
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2528,16'
          Dst:             insert_to_b
        - Src:             'hts.c:2529,16'
          Dst:             insert_to_b
        - Src:             'hts.c:2530,16'
          Dst:             insert_to_b
        - Src:             'hts.c:2533,9'
          Dst:             update_loff
        - Src:             'hts.c:2534,16'
          Dst:             compress_binning
    - functionName:    hts_adjust_csi_settings
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2381
      functionLinenumberEnd: 2411
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          99
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hts_bin_maxpos
        - hts_log
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2388,20'
          Dst:             hts_bin_maxpos
        - Src:             'hts.c:2390,18'
          Dst:             hts_bin_maxpos
        - Src:             'hts.c:2400,18'
          Dst:             hts_bin_maxpos
        - Src:             'hts.c:2405,9'
          Dst:             hts_log
    - functionName:    hts_check_EOF
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2216
      functionLinenumberEnd: 2223
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          51
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_check_EOF
        - cram_check_EOF
        - hts_get_bgzfp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2218,31'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:2218,16'
          Dst:             bgzf_check_EOF
        - Src:             'hts.c:2220,16'
          Dst:             cram_check_EOF
    - functionName:    hts_get_bgzfp
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2016
      functionLinenumberEnd: 2021
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_file_type
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2194
      functionLinenumberEnd: 2213
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          140
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - hclose
        - hclose_abruptly
        - hopen
        - hts_detect_format2
        - strcasecmp
        - strcmp
        - strlen
      functionUses:    0
      BranchProfiles:
        - Branch String:   'hts.c:2208,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:2195,15'
          Dst:             strlen
        - Src:             'hts.c:2196,11'
          Dst:             strcasecmp
        - Src:             'hts.c:2197,11'
          Dst:             strcasecmp
        - Src:             'hts.c:2198,11'
          Dst:             strcasecmp
        - Src:             'hts.c:2199,11'
          Dst:             strcmp
        - Src:             'hts.c:2201,16'
          Dst:             hopen
        - Src:             'hts.c:2205,9'
          Dst:             hts_detect_format2
        - Src:             'hts.c:2205,51'
          Dst:             hclose_abruptly
        - Src:             'hts.c:2206,9'
          Dst:             hclose
    - functionName:    strcasecmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    23
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_readlines
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2138
      functionLinenumberEnd: 2190
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         57
      ICount:          338
      EdgeCount:       75
      CyclomaticComplexity: 20
      functionsReached:
        - __assert_fail
        - bgzf_close
        - bgzf_getline
        - bgzf_open
        - calloc
        - hts_is_utf16_text
        - hts_log
        - hts_realloc_p
        - hts_resize_array_
        - strdup
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2141,16'
          Dst:             bgzf_open
        - Src:             'hts.c:2146,23'
          Dst:             bgzf_getline
        - Src:             'hts.c:2148,27'
          Dst:             hts_is_utf16_text
        - Src:             'hts.c:2149,17'
          Dst:             hts_log
        - Src:             'hts.c:2150,17'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2152,20'
          Dst:             strdup
        - Src:             'hts.c:2159,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2165,21'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2167,31'
          Dst:             calloc
        - Src:             'hts.c:2170,17'
          Dst:             strncpy
        - Src:             'hts.c:2176,13'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2181,5'
          Dst:             __assert_fail
    - functionName:    hts_is_utf16_text
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2008
      functionLinenumberEnd: 2010
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - is_utf16_text
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2010,36'
          Dst:             is_utf16_text
    - functionName:    hts_resize_array_
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5106
      functionLinenumberEnd: 5158
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - size_t
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          271
      EdgeCount:       38
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - abort
        - hts_log
        - realloc
        - strerror
      functionUses:    6
      BranchProfiles:
        - Branch String:   'hts.c:5139,9'
          Branch Sides:    []
        - Branch String:   'hts.c:5150,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:5124,9'
          Dst:             hts_log
        - Src:             'hts.c:5125,9'
          Dst:             __errno_location
        - Src:             'hts.c:5129,15'
          Dst:             realloc
        - Src:             'hts.c:5131,26'
          Dst:             __errno_location
        - Src:             'hts.c:5132,53'
          Dst:             __errno_location
        - Src:             'hts.c:5132,44'
          Dst:             strerror
        - Src:             'hts.c:5132,9'
          Dst:             hts_log
        - Src:             'hts.c:5133,9'
          Dst:             __errno_location
        - Src:             'hts.c:5142,18'
          Dst:             abort
        - Src:             'hts.c:5153,14'
          Dst:             abort
    - functionName:    strncpy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    is_utf16_text
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 447
      functionLinenumberEnd: 457
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          146
      EdgeCount:       39
      CyclomaticComplexity: 12
      functionsReached:
        - alternate_zeros
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:449,43'
          Dst:             alternate_zeros
        - Src:             'hts.c:450,43'
          Dst:             alternate_zeros
        - Src:             'hts.c:453,15'
          Dst:             alternate_zeros
        - Src:             'hts.c:453,43'
          Dst:             alternate_zeros
    - functionName:    hts_readlist
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2073
      functionLinenumberEnd: 2135
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          334
      EdgeCount:       73
      CyclomaticComplexity: 20
      functionsReached:
        - __assert_fail
        - bgzf_close
        - bgzf_getline
        - bgzf_open
        - calloc
        - hts_is_utf16_text
        - hts_log
        - hts_realloc_p
        - hts_resize_array_
        - strdup
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2078,20'
          Dst:             bgzf_open
        - Src:             'hts.c:2084,23'
          Dst:             bgzf_getline
        - Src:             'hts.c:2087,27'
          Dst:             hts_is_utf16_text
        - Src:             'hts.c:2088,17'
          Dst:             hts_log
        - Src:             'hts.c:2089,17'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2091,20'
          Dst:             strdup
        - Src:             'hts.c:2098,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2108,21'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2110,31'
          Dst:             calloc
        - Src:             'hts.c:2113,17'
          Dst:             strncpy
        - Src:             'hts.c:2121,13'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2126,5'
          Dst:             __assert_fail
    - functionName:    herrno
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hgetln_wrapper
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2038
      functionLinenumberEnd: 2039
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hgetln
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2039,12'
          Dst:             hgetln
    - functionName:    hts_getline
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2043
      functionLinenumberEnd: 2069
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          133
      EdgeCount:       25
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - abort
        - bgzf_getline
        - herrno
        - hgetln_wrapper
        - hts_log
        - kgetline2
      functionUses:    7
      BranchProfiles:
        - Branch String:   'hts.c:2050,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:2046,9'
          Dst:             hts_log
        - Src:             'hts.c:2047,9'
          Dst:             abort
        - Src:             'hts.c:2053,15'
          Dst:             kgetline2
        - Src:             'hts.c:2053,15'
          Dst:             hgetln_wrapper
        - Src:             'hts.c:2055,18'
          Dst:             herrno
        - Src:             'hts.c:2055,58'
          Dst:             herrno
        - Src:             'hts.c:2055,50'
          Dst:             __errno_location
        - Src:             'hts.c:2061,15'
          Dst:             bgzf_getline
        - Src:             'hts.c:2065,9'
          Dst:             abort
    - functionName:    htell
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 156
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          19
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_utell
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2030
      functionLinenumberEnd: 2035
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_utell
        - htell
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2032,16'
          Dst:             bgzf_utell
        - Src:             'hts.c:2034,16'
          Dst:             htell
    - functionName:    hts_useek
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2023
      functionLinenumberEnd: 2028
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_useek
        - hseek
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2025,16'
          Dst:             bgzf_useek
        - Src:             'hts.c:2027,17'
          Dst:             hseek
    - functionName:    hts_set_fai_filename
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1959
      functionLinenumberEnd: 1972
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          82
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - cram_set_option
        - strdup
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1962,22'
          Dst:             strdup
        - Src:             'hts.c:1968,13'
          Dst:             cram_set_option
    - functionName:    hts_set_filter_expression
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1975
      functionLinenumberEnd: 1984
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          55
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - hts_filter_free
        - hts_filter_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1977,9'
          Dst:             hts_filter_free
        - Src:             'hts.c:1982,26'
          Dst:             hts_filter_init
    - functionName:    hts_set_cache_size
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1953
      functionLinenumberEnd: 1956
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_set_cache_size
        - hts_get_bgzfp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1955,29'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:1955,9'
          Dst:             bgzf_set_cache_size
    - functionName:    hts_set_thread_pool
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1941
      functionLinenumberEnd: 1950
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          85
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - bgzf_thread_pool
        - hts_get_bgzfp
        - hts_set_opt
        - sam_set_thread_pool
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1943,16'
          Dst:             sam_set_thread_pool
        - Src:             'hts.c:1945,33'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:1945,16'
          Dst:             bgzf_thread_pool
        - Src:             'hts.c:1947,16'
          Dst:             hts_set_opt
    - functionName:    hts_set_opt
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1798
      functionLinenumberEnd: 1925
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         86
      ICount:          617
      EdgeCount:       105
      CyclomaticComplexity: 21
      functionsReached:
        - cram_set_option
        - cram_set_voption
        - fastq_state_set
        - hfile_set_blksize
        - hts_hfile
        - hts_log
        - hts_set_cache_size
        - hts_set_filter_expression
        - hts_set_thread_pool
        - hts_set_threads
      functionUses:    4
      BranchProfiles:
        - Branch String:   'hts.c:1802,5'
          Branch Sides:    []
        - Branch String:   'hts.c:1896,13'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1807,16'
          Dst:             hts_set_threads
        - Src:             'hts.c:1811,21'
          Dst:             hts_hfile
        - Src:             'hts.c:1815,17'
          Dst:             hfile_set_blksize
        - Src:             'hts.c:1816,17'
          Dst:             hts_log
        - Src:             'hts.c:1821,13'
          Dst:             hts_log
        - Src:             'hts.c:1831,16'
          Dst:             hts_set_thread_pool
        - Src:             'hts.c:1838,9'
          Dst:             hts_set_cache_size
        - Src:             'hts.c:1847,20'
          Dst:             fastq_state_set
        - Src:             'hts.c:1856,20'
          Dst:             fastq_state_set
        - Src:             'hts.c:1868,20'
          Dst:             fastq_state_set
        - Src:             'hts.c:1880,20'
          Dst:             cram_set_option
        - Src:             'hts.c:1888,16'
          Dst:             hts_set_filter_expression
        - Src:             'hts.c:1921,9'
          Dst:             cram_set_voption
    - functionName:    hts_set_threads
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1930
      functionLinenumberEnd: 1939
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          68
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - bgzf_mt
        - hts_get_bgzfp
        - hts_set_opt
        - sam_set_threads
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1932,16'
          Dst:             sam_set_threads
        - Src:             'hts.c:1934,24'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:1934,16'
          Dst:             bgzf_mt
        - Src:             'hts.c:1936,16'
          Dst:             hts_set_opt
    - functionName:    hts_hfile
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1781
      functionLinenumberEnd: 1796
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          99
      EdgeCount:       19
      CyclomaticComplexity: 2
      functionsReached:
        - bgzf_hfile
        - cram_hfile
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:1782,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1785,31'
          Dst:             bgzf_hfile
        - Src:             'hts.c:1786,31'
          Dst:             cram_hfile
        - Src:             'hts.c:1792,33'
          Dst:             bgzf_hfile
    - functionName:    hts_format_file_extension
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1756
      functionLinenumberEnd: 1779
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          107
      EdgeCount:       41
      CyclomaticComplexity: 22
      functionsReached: []
      functionUses:    0
      BranchProfiles:
        - Branch String:   'hts.c:1760,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_get_format
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1752
      functionLinenumberEnd: 1753
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          20
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_flush
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1720
      functionLinenumberEnd: 1749
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          116
      EdgeCount:       24
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_flush
        - cram_flush
        - hflush
      functionUses:    0
      BranchProfiles:
        - Branch String:   'hts.c:1723,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1727,16'
          Dst:             bgzf_flush
        - Src:             'hts.c:1730,16'
          Dst:             cram_flush
        - Src:             'hts.c:1740,20'
          Dst:             bgzf_flush
        - Src:             'hts.c:1742,20'
          Dst:             hflush
    - functionName:    hts_idx_close_otf_fp
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2919
      functionLinenumberEnd: 2931
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          79
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - bgzf_close
        - idx_write_uint64
        - need_idx_ugly_delay_hack
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2922,13'
          Dst:             need_idx_ugly_delay_hack
        - Src:             'hts.c:2924,19'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2926,16'
          Dst:             bgzf_close
    - functionName:    hts_close
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1647
      functionLinenumberEnd: 1717
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         44
      ICount:          255
      EdgeCount:       49
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - bgzf_close
        - cram_close
        - cram_eof
        - fastq_state_destroy
        - hclose
        - hts_filter_free
        - hts_idx_close_otf_fp
        - hts_idx_destroy
        - hts_log
        - sam_hdr_destroy
        - sam_state_destroy
      functionUses:    11
      BranchProfiles:
        - Branch String:   'hts.c:1654,5'
          Branch Sides:    []
        - Branch String:   'hts.c:1663,13'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1650,9'
          Dst:             __errno_location
        - Src:             'hts.c:1658,15'
          Dst:             bgzf_close
        - Src:             'hts.c:1663,21'
          Dst:             cram_eof
        - Src:             'hts.c:1665,17'
          Dst:             hts_log
        - Src:             'hts.c:1672,15'
          Dst:             cram_close
        - Src:             'hts.c:1683,19'
          Dst:             sam_state_destroy
        - Src:             'hts.c:1686,13'
          Dst:             fastq_state_destroy
        - Src:             'hts.c:1689,20'
          Dst:             bgzf_close
        - Src:             'hts.c:1691,20'
          Dst:             hclose
        - Src:             'hts.c:1704,16'
          Dst:             hts_idx_close_otf_fp
        - Src:             'hts.c:1707,12'
          Dst:             __errno_location
        - Src:             'hts.c:1708,5'
          Dst:             sam_hdr_destroy
        - Src:             'hts.c:1709,5'
          Dst:             hts_idx_destroy
        - Src:             'hts.c:1710,5'
          Dst:             hts_filter_free
        - Src:             'hts.c:1715,5'
          Dst:             __errno_location
    - functionName:    hts_process_opts
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1419
      functionLinenumberEnd: 1434
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - hts_opt_apply
        - hts_opt_free
        - hts_parse_opt_list
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1423,9'
          Dst:             hts_parse_opt_list
        - Src:             'hts.c:1426,9'
          Dst:             hts_opt_apply
        - Src:             'hts.c:1427,9'
          Dst:             hts_opt_free
        - Src:             'hts.c:1431,5'
          Dst:             hts_opt_free
    - functionName:    hts_parse_opt_list
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1306
      functionLinenumberEnd: 1330
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          176
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - hts_opt_add
        - strncpy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1319,9'
          Dst:             strncpy
        - Src:             'hts.c:1322,13'
          Dst:             hts_opt_add
    - functionName:    hts_opt_apply
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1253
      functionLinenumberEnd: 1280
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          130
      EdgeCount:       28
      CyclomaticComplexity: 5
      functionsReached:
        - hts_set_opt
        - strdup
      functionUses:    2
      BranchProfiles:
        - Branch String:   'hts.c:1257,9'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1259,36'
          Dst:             strdup
        - Src:             'hts.c:1269,21'
          Dst:             hts_set_opt
        - Src:             'hts.c:1273,21'
          Dst:             hts_set_opt
    - functionName:    hts_opt_free
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1285
      functionLinenumberEnd: 1292
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_opt_add
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1023
      functionLinenumberEnd: 1245
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         271
      ICount:          1460
      EdgeCount:       356
      CyclomaticComplexity: 87
      functionsReached:
        - atoi
        - hts_log
        - strchr
        - strcmp
        - strdup
        - strtol
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:1148,9'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1039,20'
          Dst:             strdup
        - Src:             'hts.c:1044,17'
          Dst:             strchr
        - Src:             'hts.c:1049,9'
          Dst:             strcmp
        - Src:             'hts.c:1050,9'
          Dst:             strcmp
        - Src:             'hts.c:1051,49'
          Dst:             atoi
        - Src:             'hts.c:1053,14'
          Dst:             strcmp
        - Src:             'hts.c:1054,14'
          Dst:             strcmp
        - Src:             'hts.c:1055,49'
          Dst:             atoi
        - Src:             'hts.c:1057,14'
          Dst:             strcmp
        - Src:             'hts.c:1058,14'
          Dst:             strcmp
        - Src:             'hts.c:1059,54'
          Dst:             atoi
        - Src:             'hts.c:1061,14'
          Dst:             strcmp
        - Src:             'hts.c:1062,14'
          Dst:             strcmp
        - Src:             'hts.c:1063,55'
          Dst:             atoi
        - Src:             'hts.c:1065,14'
          Dst:             strcmp
        - Src:             'hts.c:1066,14'
          Dst:             strcmp
        - Src:             'hts.c:1067,60'
          Dst:             atoi
        - Src:             'hts.c:1069,14'
          Dst:             strcmp
        - Src:             'hts.c:1070,14'
          Dst:             strcmp
        - Src:             'hts.c:1071,49'
          Dst:             atoi
        - Src:             'hts.c:1073,14'
          Dst:             strcmp
        - Src:             'hts.c:1074,14'
          Dst:             strcmp
        - Src:             'hts.c:1075,46'
          Dst:             atoi
        - Src:             'hts.c:1077,14'
          Dst:             strcmp
        - Src:             'hts.c:1078,14'
          Dst:             strcmp
        - Src:             'hts.c:1079,49'
          Dst:             atoi
        - Src:             'hts.c:1081,14'
          Dst:             strcmp
        - Src:             'hts.c:1082,14'
          Dst:             strcmp
        - Src:             'hts.c:1083,50'
          Dst:             atoi
        - Src:             'hts.c:1085,14'
          Dst:             strcmp
        - Src:             'hts.c:1086,14'
          Dst:             strcmp
        - Src:             'hts.c:1087,49'
          Dst:             atoi
        - Src:             'hts.c:1089,14'
          Dst:             strcmp
        - Src:             'hts.c:1090,14'
          Dst:             strcmp
        - Src:             'hts.c:1091,48'
          Dst:             atoi
        - Src:             'hts.c:1093,14'
          Dst:             strcmp
        - Src:             'hts.c:1094,14'
          Dst:             strcmp
        - Src:             'hts.c:1095,48'
          Dst:             atoi
        - Src:             'hts.c:1097,14'
          Dst:             strcmp
        - Src:             'hts.c:1098,14'
          Dst:             strcmp
        - Src:             'hts.c:1099,47'
          Dst:             atoi
        - Src:             'hts.c:1101,14'
          Dst:             strcmp
        - Src:             'hts.c:1102,14'
          Dst:             strcmp
        - Src:             'hts.c:1103,47'
          Dst:             atoi
        - Src:             'hts.c:1105,14'
          Dst:             strcmp
        - Src:             'hts.c:1106,14'
          Dst:             strcmp
        - Src:             'hts.c:1107,49'
          Dst:             atoi
        - Src:             'hts.c:1109,14'
          Dst:             strcmp
        - Src:             'hts.c:1110,14'
          Dst:             strcmp
        - Src:             'hts.c:1113,14'
          Dst:             strcmp
        - Src:             'hts.c:1114,14'
          Dst:             strcmp
        - Src:             'hts.c:1117,14'
          Dst:             strcmp
        - Src:             'hts.c:1118,14'
          Dst:             strcmp
        - Src:             'hts.c:1121,14'
          Dst:             strcmp
        - Src:             'hts.c:1122,14'
          Dst:             strcmp
        - Src:             'hts.c:1125,14'
          Dst:             strcmp
        - Src:             'hts.c:1126,14'
          Dst:             strcmp
        - Src:             'hts.c:1129,14'
          Dst:             strcmp
        - Src:             'hts.c:1130,14'
          Dst:             strcmp
        - Src:             'hts.c:1133,14'
          Dst:             strcmp
        - Src:             'hts.c:1134,14'
          Dst:             strcmp
        - Src:             'hts.c:1135,59'
          Dst:             atoi
        - Src:             'hts.c:1137,14'
          Dst:             strcmp
        - Src:             'hts.c:1138,14'
          Dst:             strcmp
        - Src:             'hts.c:1139,47'
          Dst:             atoi
        - Src:             'hts.c:1141,14'
          Dst:             strcmp
        - Src:             'hts.c:1142,14'
          Dst:             strcmp
        - Src:             'hts.c:1145,20'
          Dst:             strtol
        - Src:             'hts.c:1154,13'
          Dst:             hts_log
        - Src:             'hts.c:1161,14'
          Dst:             strcmp
        - Src:             'hts.c:1162,14'
          Dst:             strcmp
        - Src:             'hts.c:1163,55'
          Dst:             strtol
        - Src:             'hts.c:1165,14'
          Dst:             strcmp
        - Src:             'hts.c:1166,14'
          Dst:             strcmp
        - Src:             'hts.c:1167,51'
          Dst:             strtol
        - Src:             'hts.c:1169,14'
          Dst:             strcmp
        - Src:             'hts.c:1170,14'
          Dst:             strcmp
        - Src:             'hts.c:1173,14'
          Dst:             strcmp
        - Src:             'hts.c:1174,14'
          Dst:             strcmp
        - Src:             'hts.c:1175,48'
          Dst:             atoi
        - Src:             'hts.c:1177,14'
          Dst:             strcmp
        - Src:             'hts.c:1178,14'
          Dst:             strcmp
        - Src:             'hts.c:1179,48'
          Dst:             atoi
        - Src:             'hts.c:1181,14'
          Dst:             strcmp
        - Src:             'hts.c:1182,14'
          Dst:             strcmp
        - Src:             'hts.c:1183,49'
          Dst:             strtol
        - Src:             'hts.c:1185,14'
          Dst:             strcmp
        - Src:             'hts.c:1186,14'
          Dst:             strcmp
        - Src:             'hts.c:1187,56'
          Dst:             strtol
        - Src:             'hts.c:1189,14'
          Dst:             strcmp
        - Src:             'hts.c:1190,14'
          Dst:             strcmp
        - Src:             'hts.c:1193,14'
          Dst:             strcmp
        - Src:             'hts.c:1194,9'
          Dst:             strcmp
        - Src:             'hts.c:1197,14'
          Dst:             strcmp
        - Src:             'hts.c:1198,9'
          Dst:             strcmp
        - Src:             'hts.c:1201,14'
          Dst:             strcmp
        - Src:             'hts.c:1202,9'
          Dst:             strcmp
        - Src:             'hts.c:1205,14'
          Dst:             strcmp
        - Src:             'hts.c:1206,9'
          Dst:             strcmp
        - Src:             'hts.c:1209,14'
          Dst:             strcmp
        - Src:             'hts.c:1210,9'
          Dst:             strcmp
        - Src:             'hts.c:1213,14'
          Dst:             strcmp
        - Src:             'hts.c:1214,9'
          Dst:             strcmp
        - Src:             'hts.c:1217,14'
          Dst:             strcmp
        - Src:             'hts.c:1218,9'
          Dst:             strcmp
        - Src:             'hts.c:1221,14'
          Dst:             strcmp
        - Src:             'hts.c:1222,9'
          Dst:             strcmp
        - Src:             'hts.c:1223,45'
          Dst:             atoi
        - Src:             'hts.c:1226,9'
          Dst:             hts_log
    - functionName:    atoi
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    26
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strtol
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    18
      BranchProfiles:  []
      Callsites:       []
    - functionName:    format_category
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 310
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         33
      ICount:          121
      EdgeCount:       64
      CyclomaticComplexity: 33
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:272,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_crypt4gh_redirect
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1437
      functionLinenumberEnd: 1467
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          126
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - hopen
        - snprintf
        - strchr
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1443,22'
          Dst:             strlen
        - Src:             'hts.c:1443,39'
          Dst:             strlen
        - Src:             'hts.c:1454,5'
          Dst:             snprintf
        - Src:             'hts.c:1455,50'
          Dst:             strchr
        - Src:             'hts.c:1455,5'
          Dst:             snprintf
        - Src:             'hts.c:1456,14'
          Dst:             hopen
    - functionName:    scan_keyword
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1014
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          94
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - tolower_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1009,38'
          Dst:             tolower_c
    - functionName:    hts_parse_format
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1343
      functionLinenumberEnd: 1405
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          303
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached:
        - hts_parse_opt_list
        - scan_keyword
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:1345,22'
          Dst:             scan_keyword
        - Src:             'hts.c:1350,9'
          Dst:             strcmp
        - Src:             'hts.c:1355,16'
          Dst:             strcmp
        - Src:             'hts.c:1360,16'
          Dst:             strcmp
        - Src:             'hts.c:1365,16'
          Dst:             strcmp
        - Src:             'hts.c:1370,16'
          Dst:             strcmp
        - Src:             'hts.c:1375,16'
          Dst:             strcmp
        - Src:             'hts.c:1380,16'
          Dst:             strcmp
        - Src:             'hts.c:1380,45'
          Dst:             strcmp
        - Src:             'hts.c:1385,16'
          Dst:             strcmp
        - Src:             'hts.c:1385,48'
          Dst:             strcmp
        - Src:             'hts.c:1390,16'
          Dst:             strcmp
        - Src:             'hts.c:1390,45'
          Dst:             strcmp
        - Src:             'hts.c:1395,16'
          Dst:             strcmp
        - Src:             'hts.c:1395,48'
          Dst:             strcmp
        - Src:             'hts.c:1404,12'
          Dst:             hts_parse_opt_list
    - functionName:    hts_open
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 993
      functionLinenumberEnd: 994
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_open_format
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:994,12'
          Dst:             hts_open_format
    - functionName:    hts_open_format
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 893
      functionLinenumberEnd: 991
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         117
      ICount:          600
      EdgeCount:       162
      CyclomaticComplexity: 47
      functionsReached:
        - __errno_location
        - hclose_abruptly
        - hopen
        - hts_hopen
        - hts_log
        - hts_opt_apply
        - strchr
        - strdup
        - strerror
        - strncpy
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:901,5'
          Dst:             strncpy
        - Src:             'hts.c:903,15'
          Dst:             strchr
        - Src:             'hts.c:931,38'
          Dst:             strchr
        - Src:             'hts.c:931,60'
          Dst:             strchr
        - Src:             'hts.c:937,9'
          Dst:             strchr
        - Src:             'hts.c:943,25'
          Dst:             strstr
        - Src:             'hts.c:945,16'
          Dst:             strdup
        - Src:             'hts.c:951,13'
          Dst:             hopen
        - Src:             'hts.c:954,10'
          Dst:             hts_hopen
        - Src:             'hts.c:968,13'
          Dst:             hts_opt_apply
        - Src:             'hts.c:970,18'
          Dst:             __errno_location
        - Src:             'hts.c:970,37'
          Dst:             __errno_location
        - Src:             'hts.c:970,53'
          Dst:             __errno_location
        - Src:             'hts.c:971,19'
          Dst:             __errno_location
        - Src:             'hts.c:971,38'
          Dst:             __errno_location
        - Src:             'hts.c:974,17'
          Dst:             __errno_location
        - Src:             'hts.c:983,5'
          Dst:             __errno_location
        - Src:             'hts.c:983,5'
          Dst:             __errno_location
        - Src:             'hts.c:983,5'
          Dst:             __errno_location
        - Src:             'hts.c:983,5'
          Dst:             strerror
        - Src:             'hts.c:983,5'
          Dst:             hts_log
        - Src:             'hts.c:988,9'
          Dst:             hclose_abruptly
    - functionName:    hts_hopen
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1470
      functionLinenumberEnd: 1642
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         120
      ICount:          719
      EdgeCount:       151
      CyclomaticComplexity: 33
      functionsReached:
        - __errno_location
        - abort
        - bgzf_hopen
        - calloc
        - cram_dopen
        - cram_set_option
        - ed_is_big
        - format_category
        - hclose_abruptly
        - hopen_htsget_redirect
        - hts_crypt4gh_redirect
        - hts_detect_format2
        - hts_log
        - hts_process_opts
        - strchr
        - strdup
        - strncpy
      functionUses:    4
      BranchProfiles:
        - Branch String:   'hts.c:1559,13'
          Branch Sides:    []
        - Branch String:   'hts.c:1578,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1473,29'
          Dst:             calloc
        - Src:             'hts.c:1480,14'
          Dst:             strdup
        - Src:             'hts.c:1481,17'
          Dst:             ed_is_big
        - Src:             'hts.c:1484,15'
          Dst:             strchr
        - Src:             'hts.c:1485,9'
          Dst:             strncpy
        - Src:             'hts.c:1489,9'
          Dst:             strncpy
        - Src:             'hts.c:1493,9'
          Dst:             strchr
        - Src:             'hts.c:1496,13'
          Dst:             hts_detect_format2
        - Src:             'hts.c:1506,17'
          Dst:             __errno_location
        - Src:             'hts.c:1511,33'
          Dst:             hopen_htsget_redirect
        - Src:             'hts.c:1516,21'
          Dst:             hclose_abruptly
        - Src:             'hts.c:1524,21'
          Dst:             hts_crypt4gh_redirect
        - Src:             'hts.c:1541,17'
          Dst:             hts_detect_format2
        - Src:             'hts.c:1544,14'
          Dst:             strchr
        - Src:             'hts.c:1544,42'
          Dst:             strchr
        - Src:             'hts.c:1548,13'
          Dst:             strchr
        - Src:             'hts.c:1549,18'
          Dst:             strchr
        - Src:             'hts.c:1550,18'
          Dst:             strchr
        - Src:             'hts.c:1551,18'
          Dst:             strchr
        - Src:             'hts.c:1554,13'
          Dst:             strchr
        - Src:             'hts.c:1555,18'
          Dst:             strchr
        - Src:             'hts.c:1556,18'
          Dst:             strchr
        - Src:             'hts.c:1565,22'
          Dst:             abort
        - Src:             'hts.c:1570,25'
          Dst:             format_category
        - Src:             'hts.c:1576,12'
          Dst:             __errno_location
        - Src:             'hts.c:1582,23'
          Dst:             bgzf_hopen
        - Src:             'hts.c:1588,23'
          Dst:             cram_dopen
        - Src:             'hts.c:1591,13'
          Dst:             cram_set_option
        - Src:             'hts.c:1603,27'
          Dst:             bgzf_hopen
        - Src:             'hts.c:1612,9'
          Dst:             __errno_location
        - Src:             'hts.c:1617,9'
          Dst:             hts_process_opts
        - Src:             'hts.c:1625,33'
          Dst:             hclose_abruptly
        - Src:             'hts.c:1630,5'
          Dst:             hts_log
        - Src:             'hts.c:1633,30'
          Dst:             hclose_abruptly
    - functionName:    ks_release
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    kputw
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 372
      functionLinenumberEnd: 382
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - kputuw
        - ks_resize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:376,13'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:381,12'
          Dst:             kputuw
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    38
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    hts_format_description
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 777
      functionLinenumberEnd: 889
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         81
      ICount:          381
      EdgeCount:       160
      CyclomaticComplexity: 81
      functionsReached:
        - kputc
        - kputs
        - kputw
        - ks_release
      functionUses:    0
      BranchProfiles:
        - Branch String:   'hts.c:780,5'
          Branch Sides:    []
        - Branch String:   'hts.c:815,5'
          Branch Sides:    []
        - Branch String:   'hts.c:824,9'
          Branch Sides:    []
        - Branch String:   'hts.c:839,9'
          Branch Sides:    []
        - Branch String:   'hts.c:856,5'
          Branch Sides:    []
        - Branch String:   'hts.c:865,9'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:781,17'
          Dst:             kputs
        - Src:             'hts.c:782,17'
          Dst:             kputs
        - Src:             'hts.c:783,17'
          Dst:             kputs
        - Src:             'hts.c:784,25'
          Dst:             kputs
        - Src:             'hts.c:785,25'
          Dst:             kputs
        - Src:             'hts.c:786,17'
          Dst:             kputs
        - Src:             'hts.c:788,41'
          Dst:             kputs
        - Src:             'hts.c:789,14'
          Dst:             kputs
        - Src:             'hts.c:791,17'
          Dst:             kputs
        - Src:             'hts.c:792,17'
          Dst:             kputs
        - Src:             'hts.c:793,17'
          Dst:             kputs
        - Src:             'hts.c:794,25'
          Dst:             kputs
        - Src:             'hts.c:795,25'
          Dst:             kputs
        - Src:             'hts.c:796,17'
          Dst:             kputs
        - Src:             'hts.c:797,17'
          Dst:             kputs
        - Src:             'hts.c:798,17'
          Dst:             kputs
        - Src:             'hts.c:799,25'
          Dst:             kputs
        - Src:             'hts.c:800,18'
          Dst:             kputs
        - Src:             'hts.c:801,31'
          Dst:             kputs
        - Src:             'hts.c:802,25'
          Dst:             kputs
        - Src:             'hts.c:803,17'
          Dst:             kputs
        - Src:             'hts.c:807,9'
          Dst:             kputs
        - Src:             'hts.c:808,9'
          Dst:             kputw
        - Src:             'hts.c:810,13'
          Dst:             kputc
        - Src:             'hts.c:811,13'
          Dst:             kputw
        - Src:             'hts.c:816,30'
          Dst:             kputs
        - Src:             'hts.c:817,30'
          Dst:             kputs
        - Src:             'hts.c:818,30'
          Dst:             kputs
        - Src:             'hts.c:819,30'
          Dst:             kputs
        - Src:             'hts.c:820,18'
          Dst:             kputs
        - Src:             'hts.c:821,18'
          Dst:             kputs
        - Src:             'hts.c:830,13'
          Dst:             kputs
        - Src:             'hts.c:833,13'
          Dst:             kputs
        - Src:             'hts.c:846,13'
          Dst:             kputs
        - Src:             'hts.c:857,25'
          Dst:             kputs
        - Src:             'hts.c:858,25'
          Dst:             kputs
        - Src:             'hts.c:859,25'
          Dst:             kputs
        - Src:             'hts.c:860,25'
          Dst:             kputs
        - Src:             'hts.c:876,13'
          Dst:             kputs
        - Src:             'hts.c:883,13'
          Dst:             kputs
        - Src:             'hts.c:887,9'
          Dst:             kputs
        - Src:             'hts.c:889,12'
          Dst:             ks_release
    - functionName:    hts_detect_format
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 553
      functionLinenumberEnd: 554
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_detect_format2
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:554,12'
          Dst:             hts_detect_format2
    - functionName:    hts_feature_string
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - htscodecs_version
        - snprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:230,21'
          Dst:             htscodecs_version
        - Src:             'hts.c:228,5'
          Dst:             snprintf
    - functionName:    hts_test_feature
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 128
      functionLinenumberEnd: 166
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          145
      EdgeCount:       37
      CyclomaticComplexity: 20
      functionsReached:
        - fprintf
        - hts_features
        - htscodecs_version
      functionUses:    0
      BranchProfiles:
        - Branch String:   'hts.c:131,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:129,25'
          Dst:             hts_features
        - Src:             'hts.c:150,16'
          Dst:             htscodecs_version
        - Src:             'hts.c:162,9'
          Dst:             fprintf
    - functionName:    hts_features
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 90
      functionLinenumberEnd: 125
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          25
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_version
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_stats_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          227
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - __ac_FNV1a_hash_string
        - calloc
        - realloc
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:80,1'
          Dst:             calloc
        - Src:             'hts.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hts.c:80,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_del_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_put_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_s2i
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:80,1'
          Dst:             kh_resize_s2i
        - Src:             'hts.c:80,1'
          Dst:             kh_resize_s2i
        - Src:             'hts.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hts.c:80,1'
          Dst:             strcmp
    - functionName:    kh_resize_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:80,1'
          Dst:             __errno_location
        - Src:             'hts.c:80,1'
          Dst:             realloc
        - Src:             'hts.c:80,1'
          Dst:             realloc
        - Src:             'hts.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hts.c:80,1'
          Dst:             realloc
        - Src:             'hts.c:80,1'
          Dst:             realloc
    - functionName:    kh_grow_to_fit_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          193
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - kh_resize_s2i
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:80,1'
          Dst:             kh_resize_s2i
        - Src:             'hts.c:80,1'
          Dst:             kh_resize_s2i
    - functionName:    kh_get_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hts.c:80,1'
          Dst:             strcmp
    - functionName:    kh_clear_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_init_s2i
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:80,1'
          Dst:             calloc
    - functionName:    ks_initialize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    expr_func_max
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 139
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          98
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    expr_func_min
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 107
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          98
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    expr_func_length
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 98
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          35
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    expr_func_avg
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          86
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    func_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 291
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         102
      ICount:          622
      EdgeCount:       136
      CyclomaticComplexity: 36
      functionsReached:
        - exp
        - expr_func_avg
        - expr_func_length
        - expr_func_max
        - expr_func_min
        - expression
        - fprintf
        - hts_expr_val_exists
        - hts_expr_val_existsT
        - hts_expr_val_free
        - hts_expr_val_undef
        - log
        - pow
        - sqrt
        - strncmp
        - ws
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts_expr.c:167,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts_expr.c:169,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:170,17'
          Dst:             expression
        - Src:             'hts_expr.c:171,23'
          Dst:             expr_func_avg
        - Src:             'hts_expr.c:176,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:177,17'
          Dst:             expression
        - Src:             'hts_expr.c:182,44'
          Dst:             ws
        - Src:             'hts_expr.c:182,17'
          Dst:             expression
        - Src:             'hts_expr.c:183,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:187,18'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:192,13'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:197,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:198,17'
          Dst:             expression
        - Src:             'hts_expr.c:200,37'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:202,20'
          Dst:             strncmp
        - Src:             'hts_expr.c:203,17'
          Dst:             expression
        - Src:             'hts_expr.c:205,22'
          Dst:             exp
        - Src:             'hts_expr.c:208,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:214,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:215,17'
          Dst:             expression
        - Src:             'hts_expr.c:216,23'
          Dst:             expr_func_length
        - Src:             'hts_expr.c:217,20'
          Dst:             strncmp
        - Src:             'hts_expr.c:218,17'
          Dst:             expression
        - Src:             'hts_expr.c:220,22'
          Dst:             log
        - Src:             'hts_expr.c:223,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:228,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:229,17'
          Dst:             expression
        - Src:             'hts_expr.c:230,23'
          Dst:             expr_func_min
        - Src:             'hts_expr.c:231,20'
          Dst:             strncmp
        - Src:             'hts_expr.c:232,17'
          Dst:             expression
        - Src:             'hts_expr.c:233,23'
          Dst:             expr_func_max
        - Src:             'hts_expr.c:238,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:239,17'
          Dst:             expression
        - Src:             'hts_expr.c:246,44'
          Dst:             ws
        - Src:             'hts_expr.c:246,17'
          Dst:             expression
        - Src:             'hts_expr.c:247,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:250,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:250,47'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:251,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:252,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:254,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:258,26'
          Dst:             pow
        - Src:             'hts_expr.c:259,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:264,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:269,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:270,17'
          Dst:             expression
        - Src:             'hts_expr.c:272,22'
          Dst:             sqrt
        - Src:             'hts_expr.c:275,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:283,11'
          Dst:             ws
        - Src:             'hts_expr.c:285,9'
          Dst:             fprintf
    - functionName:    expression
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 920
      functionLinenumberEnd: 929
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          61
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - and_expr
        - hts_expr_val_undef
        - hts_log
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:922,9'
          Dst:             hts_log
        - Src:             'hts_expr.c:923,9'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:926,15'
          Dst:             and_expr
    - functionName:    ws
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          51
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_expr_val_free
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 89
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_free
      functionUses:    31
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_expr.h:88,5'
          Dst:             ks_free
    - functionName:    hts_expr_val_existsT
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          42
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - hts_expr_val_exists
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_expr.h:75,33'
          Dst:             hts_expr_val_exists
    - functionName:    exp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - double
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_expr_val_undef
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 79
      functionLinenumberEnd: 84
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_clear
      functionUses:    33
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_expr.h:80,5'
          Dst:             ks_clear
    - functionName:    log
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - double
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_expr_val_exists
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 68
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          62
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    35
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pow
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      double
      argCount:        2
      argTypes:
        - double
        - double
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sqrt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - double
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_clear
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_free
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_initialize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:238,9'
          Dst:             ks_initialize
    - functionName:    and_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 865
      functionLinenumberEnd: 917
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         98
      ICount:          507
      EdgeCount:       133
      CyclomaticComplexity: 37
      functionsReached:
        - eq_expr
        - hts_expr_val_existsT
        - hts_expr_val_free
        - hts_expr_val_undef
        - ws
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:866,9'
          Dst:             eq_expr
        - Src:             'hts_expr.c:870,15'
          Dst:             ws
        - Src:             'hts_expr.c:872,17'
          Dst:             eq_expr
        - Src:             'hts_expr.c:873,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:876,18'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:876,48'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:877,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:886,17'
          Dst:             eq_expr
        - Src:             'hts_expr.c:887,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:890,18'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:890,48'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:892,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:894,25'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:897,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:899,25'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:902,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:913,9'
          Dst:             hts_expr_val_free
    - functionName:    eq_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 746
      functionLinenumberEnd: 856
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         133
      ICount:          782
      EdgeCount:       179
      CyclomaticComplexity: 48
      functionsReached:
        - cmp_expr
        - eq_expr
        - fprintf
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - regcomp
        - regerror
        - regexec
        - regfree
        - strcmp
        - ws
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:747,9'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:749,11'
          Dst:             ws
        - Src:             'hts_expr.c:759,20'
          Dst:             eq_expr
        - Src:             'hts_expr.c:762,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:762,47'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:763,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:766,45'
          Dst:             strcmp
        - Src:             'hts_expr.c:774,20'
          Dst:             eq_expr
        - Src:             'hts_expr.c:777,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:777,47'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:778,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:781,45'
          Dst:             strcmp
        - Src:             'hts_expr.c:790,15'
          Dst:             eq_expr
        - Src:             'hts_expr.c:792,13'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:823,26'
          Dst:             regcomp
        - Src:             'hts_expr.c:826,21'
          Dst:             regerror
        - Src:             'hts_expr.c:827,21'
          Dst:             fprintf
        - Src:             'hts_expr.c:830,21'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:831,21'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:837,37'
          Dst:             regexec
        - Src:             'hts_expr.c:841,17'
          Dst:             regfree
        - Src:             'hts_expr.c:851,23'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:851,54'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:852,9'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:853,5'
          Dst:             hts_expr_val_free
    - functionName:    cmp_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 673
      functionLinenumberEnd: 735
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         116
      ICount:          671
      EdgeCount:       158
      CyclomaticComplexity: 44
      functionsReached:
        - bitor_expr
        - cmp_expr
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - strcmp
        - ws
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:674,9'
          Dst:             bitor_expr
        - Src:             'hts_expr.c:676,11'
          Dst:             ws
        - Src:             'hts_expr.c:682,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:683,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:683,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:684,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:688,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:694,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:695,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:695,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:696,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:700,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:706,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:707,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:707,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:708,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:712,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:718,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:719,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:719,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:720,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:724,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:730,23'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:730,53'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:731,9'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:732,5'
          Dst:             hts_expr_val_free
    - functionName:    regcomp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    regerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    regexec
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    regfree
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bitor_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 628
      functionLinenumberEnd: 662
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          202
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached:
        - IS_VALID
        - bitxor_expr
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - ws
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:629,9'
          Dst:             bitxor_expr
        - Src:             'hts_expr.c:634,15'
          Dst:             ws
        - Src:             'hts_expr.c:636,17'
          Dst:             bitxor_expr
        - Src:             'hts_expr.c:637,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:640,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:640,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:643,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:645,24'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:645,44'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:649,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:650,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:657,5'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:659,9'
          Dst:             hts_expr_val_undef
    - functionName:    bitxor_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 586
      functionLinenumberEnd: 620
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          187
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - IS_VALID
        - bitand_expr
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:587,9'
          Dst:             bitand_expr
        - Src:             'hts_expr.c:592,15'
          Dst:             ws
        - Src:             'hts_expr.c:594,17'
          Dst:             bitand_expr
        - Src:             'hts_expr.c:595,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:598,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:598,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:601,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:603,24'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:603,44'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:607,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:608,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:615,5'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:617,9'
          Dst:             hts_expr_val_undef
    - functionName:    IS_VALID
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - double
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          28
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bitand_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 544
      functionLinenumberEnd: 578
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          202
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached:
        - IS_VALID
        - add_expr
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:545,9'
          Dst:             add_expr
        - Src:             'hts_expr.c:550,15'
          Dst:             ws
        - Src:             'hts_expr.c:552,17'
          Dst:             add_expr
        - Src:             'hts_expr.c:553,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:556,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:556,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:559,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:561,24'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:561,44'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:565,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:566,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:573,5'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:575,9'
          Dst:             hts_expr_val_undef
    - functionName:    add_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 496
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          217
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - mul_expr
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:497,9'
          Dst:             mul_expr
        - Src:             'hts_expr.c:503,15'
          Dst:             ws
        - Src:             'hts_expr.c:506,17'
          Dst:             mul_expr
        - Src:             'hts_expr.c:507,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:510,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:510,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:513,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:526,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:533,5'
          Dst:             hts_expr_val_free
    - functionName:    mul_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 446
      functionLinenumberEnd: 486
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          287
      EdgeCount:       68
      CyclomaticComplexity: 19
      functionsReached:
        - IS_VALID
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - unary_expr
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:447,9'
          Dst:             unary_expr
        - Src:             'hts_expr.c:453,15'
          Dst:             ws
        - Src:             'hts_expr.c:455,17'
          Dst:             unary_expr
        - Src:             'hts_expr.c:456,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:459,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:459,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:460,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:462,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:472,17'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:472,37'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:475,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:479,24'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:483,5'
          Dst:             hts_expr_val_free
    - functionName:    unary_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 382
      functionLinenumberEnd: 433
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          332
      EdgeCount:       55
      CyclomaticComplexity: 15
      functionsReached:
        - IS_VALID
        - hts_expr_val_exists
        - hts_expr_val_undef
        - simple_expr
        - unary_expr
        - ws
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:384,11'
          Dst:             ws
        - Src:             'hts_expr.c:386,15'
          Dst:             simple_expr
        - Src:             'hts_expr.c:387,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:388,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:396,15'
          Dst:             unary_expr
        - Src:             'hts_expr.c:400,21'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:407,20'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:411,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:416,15'
          Dst:             unary_expr
        - Src:             'hts_expr.c:417,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:418,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:421,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:422,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:423,24'
          Dst:             IS_VALID
        - Src:             'hts_expr.c:427,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:431,15'
          Dst:             simple_expr
    - functionName:    simple_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 302
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          407
      EdgeCount:       61
      CyclomaticComplexity: 15
      functionsReached:
        - expression
        - fprintf
        - func_expr
        - hts_str2dbl
        - kputsn
        - ks_clear
        - ws
      functionUses:    2
      BranchProfiles:
        - Branch String:   'hts_expr.c:343,25'
          Branch Sides:    []
      Callsites:
        - Src:             'hts_expr.c:304,11'
          Dst:             ws
        - Src:             'hts_expr.c:306,13'
          Dst:             expression
        - Src:             'hts_expr.c:307,15'
          Dst:             ws
        - Src:             'hts_expr.c:309,13'
          Dst:             fprintf
        - Src:             'hts_expr.c:319,16'
          Dst:             hts_str2dbl
        - Src:             'hts_expr.c:337,38'
          Dst:             ks_clear
        - Src:             'hts_expr.c:337,13'
          Dst:             kputsn
        - Src:             'hts_expr.c:364,24'
          Dst:             func_expr
    - functionName:    hts_str2dbl
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 354
      functionLinenumberEnd: 419
      functionDepth:   0
      returnType:      double
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         75
      ICount:          425
      EdgeCount:       95
      CyclomaticComplexity: 22
      functionsReached:
        - __ctype_b_loc
        - strtod
      functionUses:    1
      BranchProfiles:
        - Branch String:   './textutils_internal.h:375,5'
          Branch Sides:    []
      Callsites:
        - Src:             './textutils_internal.h:365,12'
          Dst:             __ctype_b_loc
        - Src:             './textutils_internal.h:386,13'
          Dst:             strtod
        - Src:             './textutils_internal.h:409,13'
          Dst:             strtod
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    strtod
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      double
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_filter_eval2
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1005
      functionLinenumberEnd: 1009
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_filter_eval_
        - ks_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:1006,5'
          Dst:             ks_free
        - Src:             'hts_expr.c:1009,12'
          Dst:             hts_filter_eval_
    - functionName:    hts_filter_eval_
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 959
      functionLinenumberEnd: 984
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          131
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - expression
        - fprintf
        - hts_expr_val_exists
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:964,9'
          Dst:             expression
        - Src:             'hts_expr.c:967,17'
          Dst:             ws
        - Src:             'hts_expr.c:968,9'
          Dst:             fprintf
        - Src:             'hts_expr.c:979,16'
          Dst:             hts_expr_val_exists
    - functionName:    hts_filter_eval
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 988
      functionLinenumberEnd: 1001
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          68
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - hts_filter_eval_
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:994,9'
          Dst:             hts_log
        - Src:             'hts_expr.c:1000,12'
          Dst:             hts_filter_eval_
    - functionName:    hts_filter_free
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 945
      functionLinenumberEnd: 955
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          54
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - regfree
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:951,9'
          Dst:             regfree
    - functionName:    hts_malloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:146,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:147,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:148,12'
          Dst:             hts_malloc
    - functionName:    hts_filter_init
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 931
      functionLinenumberEnd: 943
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          57
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - hts_malloc_ps
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:932,23'
          Dst:             calloc
        - Src:             'hts_expr.c:936,18'
          Dst:             strlen
        - Src:             'hts_expr.c:937,20'
          Dst:             hts_malloc_ps
    - functionName:    hread
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    multipart_close
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 127
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          47
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - free_all_parts
        - hclose
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:130,5'
          Dst:             free_all_parts
        - Src:             'multipart.c:132,13'
          Dst:             hclose
    - functionName:    free_all_parts
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          44
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - free_part
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:69,38'
          Dst:             free_part
    - functionName:    free_part
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          61
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    multipart_seek
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 121
      functionLinenumberEnd: 123
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:122,5'
          Dst:             __errno_location
    - functionName:    multipart_write
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 115
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:116,5'
          Dst:             __errno_location
    - functionName:    multipart_read
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          204
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - free_part
        - hclose
        - hopen
        - hread
        - hts_log
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:82,13'
          Dst:             strlen
        - Src:             'multipart.c:82,13'
          Dst:             hts_log
        - Src:             'multipart.c:87,19'
          Dst:             hopen
        - Src:             'multipart.c:90,19'
          Dst:             hopen
        - Src:             'multipart.c:99,11'
          Dst:             hread
        - Src:             'multipart.c:104,9'
          Dst:             free_part
        - Src:             'multipart.c:107,13'
          Dst:             hclose
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    ks_release
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    parse_ga4gh_body_json
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 152
      functionLinenumberEnd: 212
      functionDepth:   0
      returnType:      char
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          414
      EdgeCount:       95
      CyclomaticComplexity: 27
      functionsReached:
        - hts_json_fnext
        - hts_json_fskip_value
        - hts_log
        - hts_realloc_or_die
        - kputs
        - ks_release
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:155,9'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:156,12'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:159,13'
          Dst:             strcmp
        - Src:             'multipart.c:160,17'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:162,20'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:166,17'
          Dst:             hts_realloc_or_die
        - Src:             'multipart.c:172,24'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:175,25'
          Dst:             strcmp
        - Src:             'multipart.c:176,29'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:177,37'
          Dst:             ks_release
        - Src:             'multipart.c:179,30'
          Dst:             strcmp
        - Src:             'multipart.c:180,29'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:182,32'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:185,33'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:188,29'
          Dst:             kputs
        - Src:             'multipart.c:189,29'
          Dst:             kputs
        - Src:             'multipart.c:191,29'
          Dst:             hts_realloc_or_die
        - Src:             'multipart.c:192,50'
          Dst:             ks_release
        - Src:             'multipart.c:196,30'
          Dst:             hts_json_fskip_value
        - Src:             'multipart.c:203,18'
          Dst:             strcmp
        - Src:             'multipart.c:204,17'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:206,13'
          Dst:             hts_log
        - Src:             'multipart.c:208,18'
          Dst:             hts_json_fskip_value
    - functionName:    parse_ga4gh_redirect_json
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 239
      functionDepth:   0
      returnType:      char
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          106
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - hts_json_fnext
        - parse_ga4gh_body_json
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:225,9'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:226,12'
          Dst:             hts_json_fnext
        - Src:             'multipart.c:229,13'
          Dst:             strcmp
        - Src:             'multipart.c:230,24'
          Dst:             parse_ga4gh_body_json
        - Src:             'multipart.c:236,9'
          Dst:             hts_json_fnext
    - functionName:    hopen_htsget_redirect
      functionSourceFile: '/src/htslib/multipart.c'
      linkageType:     InternalLinkage
      functionLinenumber: 242
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          103
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - free_all_parts
        - hfile_destroy
        - hfile_init
        - parse_ga4gh_redirect_json
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'multipart.c:247,30'
          Dst:             hfile_init
        - Src:             'multipart.c:253,11'
          Dst:             parse_ga4gh_redirect_json
        - Src:             'multipart.c:257,9'
          Dst:             free_all_parts
        - Src:             'multipart.c:258,9'
          Dst:             hfile_destroy
        - Src:             'multipart.c:259,9'
          Dst:             __errno_location
    - functionName:    kh_destroy_reg
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 38
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    compare_hts_pair_pos_t
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 42
      functionLinenumberEnd: 51
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          77
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_reg
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 38
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          580
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'region.c:38,1'
          Dst:             __errno_location
        - Src:             'region.c:38,1'
          Dst:             realloc
        - Src:             'region.c:38,1'
          Dst:             realloc
        - Src:             'region.c:38,1'
          Dst:             realloc
        - Src:             'region.c:38,1'
          Dst:             realloc
    - functionName:    kh_put_reg
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 38
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          423
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_reg
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'region.c:38,1'
          Dst:             kh_resize_reg
        - Src:             'region.c:38,1'
          Dst:             kh_resize_reg
    - functionName:    kh_get_reg
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 38
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          155
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_reglist_free
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 276
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          67
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    reg_destroy
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 159
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          77
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - kh_destroy_reg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'region.c:171,5'
          Dst:             kh_destroy_reg
    - functionName:    reg_compact
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         33
      ICount:          266
      EdgeCount:       43
      CyclomaticComplexity: 12
      functionsReached:
        - compare_hts_pair_pos_t
        - qsort
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'region.c:100,9'
          Dst:             qsort
        - Src:             'region.c:100,9'
          Dst:             compare_hts_pair_pos_t
        - Src:             'region.c:113,37'
          Dst:             realloc
    - functionName:    reg_insert
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 123
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          185
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - kh_get_reg
        - kh_put_reg
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'region.c:132,9'
          Dst:             kh_get_reg
        - Src:             'region.c:135,13'
          Dst:             kh_put_reg
        - Src:             'region.c:148,33'
          Dst:             realloc
    - functionName:    kh_init_reg
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 38
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'region.c:38,1'
          Dst:             calloc
    - functionName:    hts_reglist_create
      functionSourceFile: '/src/htslib/region.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 264
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          388
      EdgeCount:       67
      CyclomaticComplexity: 19
      functionsReached:
        - calloc
        - hts_log
        - hts_parse_region
        - hts_reglist_free
        - kh_init_reg
        - reg_compact
        - reg_destroy
        - reg_insert
        - strcmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'region.c:192,9'
          Dst:             kh_init_reg
        - Src:             'region.c:194,9'
          Dst:             hts_log
        - Src:             'region.c:199,14'
          Dst:             strcmp
        - Src:             'region.c:202,21'
          Dst:             strcmp
        - Src:             'region.c:206,17'
          Dst:             hts_parse_region
        - Src:             'region.c:211,17'
          Dst:             hts_log
        - Src:             'region.c:215,17'
          Dst:             hts_log
        - Src:             'region.c:220,13'
          Dst:             reg_insert
        - Src:             'region.c:221,13'
          Dst:             hts_log
        - Src:             'region.c:226,16'
          Dst:             reg_compact
        - Src:             'region.c:231,34'
          Dst:             calloc
        - Src:             'region.c:255,5'
          Dst:             reg_destroy
        - Src:             'region.c:260,5'
          Dst:             reg_destroy
        - Src:             'region.c:261,19'
          Dst:             hts_reglist_free
    - functionName:    cigar_iref2iseq_next
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5817
      functionLinenumberEnd: 5839
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          205
      EdgeCount:       41
      CyclomaticComplexity: 13
      functionsReached:
        - hts_log
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5833,9'
          Dst:             hts_log
    - functionName:    __ac_X31_hash_string
      functionSourceFile: '/src/htslib/./cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 480
      functionLinenumberEnd: 483
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          50
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __ac_Wang_hash
      functionSourceFile: '/src/htslib/./cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 554
      functionLinenumberEnd: 561
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          39
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cigar_iref2iseq_set
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5778
      functionLinenumberEnd: 5811
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          259
      EdgeCount:       48
      CyclomaticComplexity: 15
      functionsReached:
        - hts_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5806,9'
          Dst:             hts_log
    - functionName:    kh_resize_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5686
      functionLinenumberEnd: 5686
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5686,1'
          Dst:             __errno_location
        - Src:             'sam.c:5686,1'
          Dst:             realloc
        - Src:             'sam.c:5686,1'
          Dst:             realloc
        - Src:             'sam.c:5686,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'sam.c:5686,1'
          Dst:             realloc
        - Src:             'sam.c:5686,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tweak_overlap_quality
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5848
      functionLinenumberEnd: 5986
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         94
      ICount:          856
      EdgeCount:       126
      CyclomaticComplexity: 34
      functionsReached:
        - __ac_Wang_hash
        - __ac_X31_hash_string
        - cigar_iref2iseq_next
        - cigar_iref2iseq_set
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5862,17'
          Dst:             cigar_iref2iseq_set
        - Src:             'sam.c:5868,17'
          Dst:             cigar_iref2iseq_set
        - Src:             'sam.c:5876,24'
          Dst:             __ac_X31_hash_string
        - Src:             'sam.c:5876,9'
          Dst:             __ac_Wang_hash
        - Src:             'sam.c:5890,21'
          Dst:             cigar_iref2iseq_next
        - Src:             'sam.c:5898,21'
          Dst:             cigar_iref2iseq_next
        - Src:             'sam.c:5924,29'
          Dst:             cigar_iref2iseq_next
        - Src:             'sam.c:5936,29'
          Dst:             cigar_iref2iseq_next
    - functionName:    kh_put_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5686
      functionLinenumberEnd: 5686
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_olap_hash
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5686,1'
          Dst:             kh_resize_olap_hash
        - Src:             'sam.c:5686,1'
          Dst:             kh_resize_olap_hash
        - Src:             'sam.c:5686,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'sam.c:5686,1'
          Dst:             strcmp
    - functionName:    kh_del_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5686
      functionLinenumberEnd: 5686
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_get_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5686
      functionLinenumberEnd: 5686
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5686,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'sam.c:5686,1'
          Dst:             strcmp
    - functionName:    le_to_u64
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 160
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    le_to_i8
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 231
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          33
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_expand
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:183,28'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:184,12'
          Dst:             ks_resize
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    18
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    le_to_i16
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u16
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:241,18'
          Dst:             le_to_u16
    - functionName:    le_to_u16
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 131
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    add33
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4309
      functionLinenumberEnd: 4313
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          42
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputll
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 385
      functionLinenumberEnd: 443
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          177
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - kputuw
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:388,9'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:398,9'
          Dst:             kputuw
    - functionName:    kputuw
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 287
      functionLinenumberEnd: 369
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          169
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - ks_resize
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:320,13'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:350,9'
          Dst:             ks_resize
    - functionName:    kputsn_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:279,23'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:280,6'
          Dst:             ks_resize
    - functionName:    sam_parse_eof
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3306
      functionLinenumberEnd: 3307
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_parse_worker
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3208
      functionLinenumberEnd: 3304
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         38
      ICount:          350
      EdgeCount:       51
      CyclomaticComplexity: 15
      functionsReached:
        - __errno_location
        - calloc
        - cleanup_sp_lines
        - hts_realloc_p
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_free_sp_bams
        - sam_parse1
        - sam_state_err
        - strchr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3217,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3222,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3225,14'
          Dst:             calloc
        - Src:             'sam.c:3230,24'
          Dst:             calloc
        - Src:             'sam.c:3232,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3243,9'
          Dst:             sam_state_err
        - Src:             'sam.c:3253,17'
          Dst:             hts_realloc_p
        - Src:             'sam.c:3256,17'
          Dst:             sam_state_err
        - Src:             'sam.c:3272,20'
          Dst:             strchr
        - Src:             'sam.c:3284,13'
          Dst:             sam_parse1
        - Src:             'sam.c:3285,31'
          Dst:             __errno_location
        - Src:             'sam.c:3285,39'
          Dst:             __errno_location
        - Src:             'sam.c:3285,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3286,13'
          Dst:             cleanup_sp_lines
        - Src:             'sam.c:3295,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3298,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3302,5'
          Dst:             sam_free_sp_bams
    - functionName:    sam_state_err
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3062
      functionLinenumberEnd: 3067
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3063,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3066,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    sam_parse1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2656
      functionLinenumberEnd: 2835
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         184
      ICount:          1220
      EdgeCount:       237
      CyclomaticComplexity: 55
      functionsReached:
        - aux_parse
        - bam_cigar2qlen
        - bam_cigar2rlen
        - bam_name2id
        - bam_parse_cigar
        - bam_tag2cigar
        - hts_log
        - hts_reg2bin
        - hts_str2int
        - hts_str2uint
        - hts_strprint
        - parse_sam_flag
        - possibly_expand_bam_data
        - strchr
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2709,9'
          Dst:             strchr
        - Src:             'sam.c:2711,5'
          Dst:             hts_log
        - Src:             'sam.c:2712,5'
          Dst:             hts_log
        - Src:             'sam.c:2714,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2724,15'
          Dst:             parse_sam_flag
        - Src:             'sam.c:2728,9'
          Dst:             strchr
        - Src:             'sam.c:2729,9'
          Dst:             strcmp
        - Src:             'sam.c:2730,9'
          Dst:             hts_log
        - Src:             'sam.c:2731,18'
          Dst:             bam_name2id
        - Src:             'sam.c:2732,9'
          Dst:             hts_log
        - Src:             'sam.c:2733,9'
          Dst:             hts_strprint
        - Src:             'sam.c:2733,9'
          Dst:             hts_log
        - Src:             'sam.c:2737,14'
          Dst:             hts_str2uint
        - Src:             'sam.c:2740,9'
          Dst:             hts_log
        - Src:             'sam.c:2746,15'
          Dst:             hts_str2uint
        - Src:             'sam.c:2752,23'
          Dst:             bam_parse_cigar
        - Src:             'sam.c:2757,46'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:2760,9'
          Dst:             hts_log
        - Src:             'sam.c:2762,13'
          Dst:             strchr
        - Src:             'sam.c:2765,5'
          Dst:             hts_log
        - Src:             'sam.c:2767,14'
          Dst:             hts_reg2bin
        - Src:             'sam.c:2769,9'
          Dst:             strchr
        - Src:             'sam.c:2770,9'
          Dst:             strcmp
        - Src:             'sam.c:2772,16'
          Dst:             strcmp
        - Src:             'sam.c:2775,19'
          Dst:             bam_name2id
        - Src:             'sam.c:2776,9'
          Dst:             hts_log
        - Src:             'sam.c:2777,9'
          Dst:             hts_strprint
        - Src:             'sam.c:2777,9'
          Dst:             hts_log
        - Src:             'sam.c:2780,15'
          Dst:             hts_str2uint
        - Src:             'sam.c:2783,9'
          Dst:             hts_log
        - Src:             'sam.c:2787,16'
          Dst:             hts_str2int
        - Src:             'sam.c:2789,5'
          Dst:             hts_log
        - Src:             'sam.c:2791,9'
          Dst:             strchr
        - Src:             'sam.c:2792,9'
          Dst:             strcmp
        - Src:             'sam.c:2793,9'
          Dst:             hts_log
        - Src:             'sam.c:2795,24'
          Dst:             bam_cigar2qlen
        - Src:             'sam.c:2796,9'
          Dst:             hts_log
        - Src:             'sam.c:2798,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2807,5'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2813,9'
          Dst:             hts_log
        - Src:             'sam.c:2817,9'
          Dst:             hts_log
        - Src:             'sam.c:2822,9'
          Dst:             aux_parse
        - Src:             'sam.c:2825,9'
          Dst:             bam_tag2cigar
    - functionName:    cleanup_sp_lines
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3193
      functionLinenumberEnd: 3203
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached:
        - __assert_fail
        - sam_free_sp_bams
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3198,5'
          Dst:             __assert_fail
        - Src:             'sam.c:3201,5'
          Dst:             sam_free_sp_bams
    - functionName:    sam_free_sp_bams
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3069
      functionLinenumberEnd: 3082
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          85
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    possibly_expand_bam_data
      functionSourceFile: '/src/htslib/./sam_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 62
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          67
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - sam_realloc_bam_data
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             './sam_internal.h:57,9'
          Dst:             __errno_location
        - Src:             './sam_internal.h:61,12'
          Dst:             sam_realloc_bam_data
    - functionName:    parse_sam_flag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2491
      functionLinenumberEnd: 2509
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          102
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - hts_str2uint
        - strtoul
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2493,16'
          Dst:             hts_str2uint
        - Src:             'sam.c:2499,33'
          Dst:             strtoul
    - functionName:    bam_name2id
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 783
      functionLinenumberEnd: 783
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_hdr_name2tid
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/sam.h:783,71'
          Dst:             sam_hdr_name2tid
    - functionName:    hts_str2uint
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          224
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_parse_cigar
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2921
      functionLinenumberEnd: 2963
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          271
      EdgeCount:       52
      CyclomaticComplexity: 15
      functionsReached:
        - hts_log
        - parse_cigar
        - possibly_expand_bam_data
        - read_ncigar
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2926,9'
          Dst:             hts_log
        - Src:             'sam.c:2931,34'
          Dst:             read_ncigar
        - Src:             'sam.c:2939,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2940,9'
          Dst:             hts_log
        - Src:             'sam.c:2952,22'
          Dst:             parse_cigar
    - functionName:    bam_cigar2rlen
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 674
      functionLinenumberEnd: 680
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          61
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_reg2bin
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1535
      functionLinenumberEnd: 1540
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - size_t
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          85
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_str2int
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 219
      functionLinenumberEnd: 275
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          290
      EdgeCount:       59
      CyclomaticComplexity: 14
      functionsReached: []
      functionUses:    6
      BranchProfiles:
        - Branch String:   './textutils_internal.h:227,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    bam_cigar2qlen
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 664
      functionLinenumberEnd: 670
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          61
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    aux_parse
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2518
      functionLinenumberEnd: 2653
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         227
      ICount:          1365
      EdgeCount:       304
      CyclomaticComplexity: 79
      functionsReached:
        - double_to_le
        - float_to_le
        - hts_log
        - hts_str2int
        - hts_str2uint
        - hts_strprint
        - i16_to_le
        - i32_to_le
        - isspace_c
        - kh_get_tag
        - possibly_expand_bam_data
        - sam_parse_B_vals
        - strchr
        - strlen
        - strtod
        - u16_to_le
        - u32_to_le
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2548,17'
          Dst:             hts_log
        - Src:             'sam.c:2552,9'
          Dst:             isspace_c
        - Src:             'sam.c:2552,9'
          Dst:             isspace_c
        - Src:             'sam.c:2552,9'
          Dst:             hts_log
        - Src:             'sam.c:2555,30'
          Dst:             isspace_c
        - Src:             'sam.c:2557,29'
          Dst:             isspace_c
        - Src:             'sam.c:2564,17'
          Dst:             kh_get_tag
        - Src:             'sam.c:2572,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2576,13'
          Dst:             isspace_c
        - Src:             'sam.c:2576,13'
          Dst:             isspace_c
        - Src:             'sam.c:2576,13'
          Dst:             hts_log
        - Src:             'sam.c:2579,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2586,29'
          Dst:             hts_str2int
        - Src:             'sam.c:2592,21'
          Dst:             i16_to_le
        - Src:             'sam.c:2596,21'
          Dst:             i32_to_le
        - Src:             'sam.c:2600,30'
          Dst:             hts_str2uint
        - Src:             'sam.c:2606,21'
          Dst:             u16_to_le
        - Src:             'sam.c:2610,21'
          Dst:             u32_to_le
        - Src:             'sam.c:2616,25'
          Dst:             strtod
        - Src:             'sam.c:2616,13'
          Dst:             float_to_le
        - Src:             'sam.c:2620,26'
          Dst:             strtod
        - Src:             'sam.c:2620,13'
          Dst:             double_to_le
        - Src:             'sam.c:2623,25'
          Dst:             strchr
        - Src:             'sam.c:2624,33'
          Dst:             strlen
        - Src:             'sam.c:2625,13'
          Dst:             isspace_c
        - Src:             'sam.c:2625,13'
          Dst:             isspace_c
        - Src:             'sam.c:2625,13'
          Dst:             hts_log
        - Src:             'sam.c:2628,17'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2635,13'
          Dst:             isspace_c
        - Src:             'sam.c:2635,13'
          Dst:             isspace_c
        - Src:             'sam.c:2635,13'
          Dst:             hts_log
        - Src:             'sam.c:2638,17'
          Dst:             sam_parse_B_vals
        - Src:             'sam.c:2640,16'
          Dst:             isspace_c
        - Src:             'sam.c:2640,16'
          Dst:             isspace_c
        - Src:             'sam.c:2640,16'
          Dst:             hts_strprint
        - Src:             'sam.c:2640,16'
          Dst:             hts_log
        - Src:             'sam.c:2646,5'
          Dst:             isspace_c
        - Src:             'sam.c:2646,5'
          Dst:             isspace_c
        - Src:             'sam.c:2646,5'
          Dst:             hts_log
    - functionName:    bam_tag2cigar
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 692
      functionLinenumberEnd: 746
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          403
      EdgeCount:       57
      CyclomaticComplexity: 17
      functionsReached:
        - __errno_location
        - bam_aux_get
        - bam_endpos
        - hts_log
        - hts_reg2bin
        - le_to_u32
        - possibly_expand_bam_data
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:706,19'
          Dst:             bam_aux_get
        - Src:             'sam.c:707,23'
          Dst:             __errno_location
        - Src:             'sam.c:709,13'
          Dst:             __errno_location
        - Src:             'sam.c:710,9'
          Dst:             __errno_location
        - Src:             'sam.c:721,14'
          Dst:             le_to_u32
        - Src:             'sam.c:731,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:742,48'
          Dst:             bam_endpos
        - Src:             'sam.c:742,23'
          Dst:             hts_reg2bin
        - Src:             'sam.c:744,9'
          Dst:             hts_log
    - functionName:    bam_aux_get
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4834
      functionLinenumberEnd: 4854
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          143
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - bam_aux_first
        - bam_aux_next
        - hts_log
        - skip_aux
      functionUses:    19
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4836,14'
          Dst:             bam_aux_first
        - Src:             'sam.c:4839,26'
          Dst:             skip_aux
        - Src:             'sam.c:4836,39'
          Dst:             bam_aux_next
        - Src:             'sam.c:4850,5'
          Dst:             hts_log
        - Src:             'sam.c:4852,5'
          Dst:             __errno_location
    - functionName:    le_to_u32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_endpos
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 684
      functionLinenumberEnd: 687
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          67
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bam_cigar2rlen
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:685,55'
          Dst:             bam_cigar2rlen
    - functionName:    bam_aux_first
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4811
      functionLinenumberEnd: 4816
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          80
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4814,25'
          Dst:             __errno_location
    - functionName:    skip_aux
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4785
      functionLinenumberEnd: 4808
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          165
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - aux_type2size
        - le_to_u32
        - memchr
      functionUses:    4
      BranchProfiles:
        - Branch String:   'sam.c:4790,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4789,12'
          Dst:             aux_type2size
        - Src:             'sam.c:4793,13'
          Dst:             memchr
        - Src:             'sam.c:4797,16'
          Dst:             aux_type2size
        - Src:             'sam.c:4798,13'
          Dst:             le_to_u32
    - functionName:    bam_aux_next
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4819
      functionLinenumberEnd: 4831
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          87
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - hts_log
        - skip_aux
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4821,24'
          Dst:             skip_aux
        - Src:             'sam.c:4823,28'
          Dst:             __errno_location
        - Src:             'sam.c:4827,5'
          Dst:             hts_log
        - Src:             'sam.c:4829,5'
          Dst:             __errno_location
    - functionName:    aux_type2size
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 749
      functionLinenumberEnd: 764
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          77
      EdgeCount:       36
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    5
      BranchProfiles:
        - Branch String:   'sam.c:750,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    isspace_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:176,46'
          Dst:             __ctype_b_loc
    - functionName:    kh_get_tag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          155
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    i16_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 276
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - short
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - u16_to_le
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:275,5'
          Dst:             u16_to_le
    - functionName:    i32_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 282
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - u32_to_le
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:283,5'
          Dst:             u32_to_le
    - functionName:    u16_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 184
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - short
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    u32_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    float_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 338
      functionLinenumberEnd: 346
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - u32_to_le
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:345,5'
          Dst:             u32_to_le
    - functionName:    double_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 352
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - double
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - u64_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:359,5'
          Dst:             u64_to_le
    - functionName:    sam_parse_B_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2485
      functionLinenumberEnd: 2488
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - char
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_parse_B_vals_r
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2488,12'
          Dst:             sam_parse_B_vals_r
    - functionName:    sam_parse_B_vals_r
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2360
      functionLinenumberEnd: 2481
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - char
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         109
      ICount:          601
      EdgeCount:       148
      CyclomaticComplexity: 41
      functionsReached:
        - aux_type2size
        - hts_log
        - hts_str2int
        - i32_to_le
        - possibly_expand_bam_data
        - sam_parse_BC_vals
        - sam_parse_BI_vals
        - sam_parse_BS_vals
        - sam_parse_B_vals_r
        - sam_parse_Bc_vals
        - sam_parse_Bf_vals
        - sam_parse_Bi_vals
        - sam_parse_Bs_vals
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2368,9'
          Dst:             hts_log
        - Src:             'sam.c:2378,12'
          Dst:             aux_type2size
        - Src:             'sam.c:2380,9'
          Dst:             hts_log
        - Src:             'sam.c:2397,12'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2398,9'
          Dst:             hts_log
        - Src:             'sam.c:2411,19'
          Dst:             sam_parse_Bc_vals
        - Src:             'sam.c:2414,19'
          Dst:             sam_parse_BC_vals
        - Src:             'sam.c:2417,19'
          Dst:             sam_parse_Bs_vals
        - Src:             'sam.c:2420,19'
          Dst:             sam_parse_BS_vals
        - Src:             'sam.c:2423,19'
          Dst:             sam_parse_Bi_vals
        - Src:             'sam.c:2426,19'
          Dst:             sam_parse_BI_vals
        - Src:             'sam.c:2429,19'
          Dst:             sam_parse_Bf_vals
        - Src:             'sam.c:2434,9'
          Dst:             hts_log
        - Src:             'sam.c:2437,5'
          Dst:             i32_to_le
        - Src:             'sam.c:2451,19'
          Dst:             hts_str2int
        - Src:             'sam.c:2460,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2462,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2464,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2468,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2470,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2472,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2477,9'
          Dst:             hts_log
    - functionName:    sam_parse_Bc_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2239
      functionLinenumberEnd: 2249
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          84
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - grow_B_array
        - hts_str2int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2242,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2245,34'
          Dst:             hts_str2int
    - functionName:    sam_parse_BC_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2253
      functionLinenumberEnd: 2269
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          135
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - grow_B_array
        - hts_str2uint
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2256,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2260,38'
          Dst:             hts_str2uint
    - functionName:    sam_parse_Bs_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2273
      functionLinenumberEnd: 2284
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          84
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - grow_B_array
        - hts_str2int
        - i16_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2276,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2279,19'
          Dst:             hts_str2int
        - Src:             'sam.c:2279,9'
          Dst:             i16_to_le
    - functionName:    sam_parse_BS_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2288
      functionLinenumberEnd: 2305
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          135
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - grow_B_array
        - hts_str2uint
        - u16_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2291,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2295,23'
          Dst:             hts_str2uint
        - Src:             'sam.c:2295,13'
          Dst:             u16_to_le
    - functionName:    sam_parse_Bi_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2309
      functionLinenumberEnd: 2320
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          84
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - grow_B_array
        - hts_str2int
        - i32_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2312,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2315,19'
          Dst:             hts_str2int
        - Src:             'sam.c:2315,9'
          Dst:             i32_to_le
    - functionName:    sam_parse_BI_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2324
      functionLinenumberEnd: 2341
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          135
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - grow_B_array
        - hts_str2uint
        - u32_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2327,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2331,23'
          Dst:             hts_str2uint
        - Src:             'sam.c:2331,13'
          Dst:             u32_to_le
    - functionName:    sam_parse_Bf_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2345
      functionLinenumberEnd: 2355
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          83
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - float_to_le
        - grow_B_array
        - strtod
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2348,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2351,21'
          Dst:             strtod
        - Src:             'sam.c:2351,9'
          Dst:             float_to_le
    - functionName:    grow_B_array
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2214
      functionLinenumberEnd: 2229
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          63
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hts_log
        - possibly_expand_bam_data
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2217,9'
          Dst:             __errno_location
        - Src:             'sam.c:2222,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2223,9'
          Dst:             hts_log
    - functionName:    u64_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 205
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    read_ncigar
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2837
      functionLinenumberEnd: 2851
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          90
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - hts_log
        - isdigit_c
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2840,14'
          Dst:             isdigit_c
        - Src:             'sam.c:2842,9'
          Dst:             hts_log
        - Src:             'sam.c:2846,9'
          Dst:             hts_log
    - functionName:    parse_cigar
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2859
      functionLinenumberEnd: 2886
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          127
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - hts_log
        - hts_str2uint
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2866,15'
          Dst:             hts_str2uint
        - Src:             'sam.c:2868,13'
          Dst:             hts_log
        - Src:             'sam.c:2872,13'
          Dst:             hts_log
        - Src:             'sam.c:2878,13'
          Dst:             hts_log
    - functionName:    isdigit_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:171,46'
          Dst:             __ctype_b_loc
    - functionName:    strtoul
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_realloc_bam_data
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 439
      functionLinenumberEnd: 469
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          214
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - bam_get_mempolicy
        - bam_set_mempolicy
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:446,9'
          Dst:             __errno_location
        - Src:             'sam.c:451,9'
          Dst:             __errno_location
        - Src:             'sam.c:455,10'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:456,20'
          Dst:             realloc
        - Src:             'sam.c:462,34'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:462,13'
          Dst:             bam_set_mempolicy
    - functionName:    bam_get_mempolicy
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 978
      functionLinenumberEnd: 979
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_set_mempolicy
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 969
      functionLinenumberEnd: 971
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hts_realloc_pse
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 347
      functionLinenumberEnd: 351
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          39
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:348,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:349,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:350,20'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:351,12'
          Dst:             hts_realloc
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hread
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    hts_realloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:320,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:321,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:322,12'
          Dst:             hts_realloc
    - functionName:    sam_dispatcher_read
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3318
      functionLinenumberEnd: 3485
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         82
      ICount:          646
      EdgeCount:       103
      CyclomaticComplexity: 23
      functionsReached:
        - __assert_fail
        - __errno_location
        - bgzf_read
        - calloc
        - cleanup_sp_bams
        - cleanup_sp_lines
        - hread
        - hts_malloc_ps
        - hts_realloc_ps
        - hts_realloc_pse
        - hts_tpool_dispatch
        - hts_tpool_dispatch3
        - hts_tpool_process_shutdown
        - ks_resize
        - pthread_cond_signal
        - pthread_cond_wait
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_parse_eof
        - sam_parse_worker
        - sam_state_err
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sam.c:3333,9'
          Branch Sides:    []
        - Branch String:   'sam.c:3453,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:3327,9'
          Dst:             ks_resize
        - Src:             'sam.c:3332,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3336,13'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3337,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3338,13'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3344,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3346,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3352,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3356,17'
          Dst:             calloc
        - Src:             'sam.c:3360,23'
          Dst:             hts_malloc_ps
        - Src:             'sam.c:3371,24'
          Dst:             hts_realloc_ps
        - Src:             'sam.c:3384,22'
          Dst:             bgzf_read
        - Src:             'sam.c:3386,22'
          Dst:             hread
        - Src:             'sam.c:3388,31'
          Dst:             __errno_location
        - Src:             'sam.c:3388,39'
          Dst:             __errno_location
        - Src:             'sam.c:3388,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3405,28'
          Dst:             hts_realloc_pse
        - Src:             'sam.c:3410,17'
          Dst:             __assert_fail
        - Src:             'sam.c:3411,17'
          Dst:             __assert_fail
        - Src:             'sam.c:3412,17'
          Dst:             __assert_fail
        - Src:             'sam.c:3418,17'
          Dst:             ks_resize
        - Src:             'sam.c:3430,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'sam.c:3430,13'
          Dst:             sam_parse_worker
        - Src:             'sam.c:3430,13'
          Dst:             cleanup_sp_lines
        - Src:             'sam.c:3430,13'
          Dst:             cleanup_sp_bams
        - Src:             'sam.c:3433,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3435,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3440,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3444,9'
          Dst:             hts_tpool_dispatch
        - Src:             'sam.c:3444,9'
          Dst:             sam_parse_eof
        - Src:             'sam.c:3450,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3452,13'
          Dst:             pthread_cond_wait
        - Src:             'sam.c:3455,13'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3456,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3457,13'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3461,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3467,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3469,5'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3470,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3473,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3476,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3483,23'
          Dst:             __errno_location
        - Src:             'sam.c:3483,31'
          Dst:             __errno_location
        - Src:             'sam.c:3483,5'
          Dst:             sam_state_err
        - Src:             'sam.c:3484,5'
          Dst:             hts_tpool_process_shutdown
    - functionName:    pthread_cond_signal
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    24
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:146,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:147,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:148,12'
          Dst:             hts_malloc
    - functionName:    cleanup_sp_bams
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3311
      functionLinenumberEnd: 3313
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_free_sp_bams
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3312,5'
          Dst:             sam_free_sp_bams
    - functionName:    pthread_cond_wait
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    kh_resize_tag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         55
      ICount:          503
      EdgeCount:       72
      CyclomaticComplexity: 19
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:64,1'
          Dst:             __errno_location
        - Src:             'sam.c:64,1'
          Dst:             realloc
        - Src:             'sam.c:64,1'
          Dst:             realloc
    - functionName:    ks_initialize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    nibble2base
      functionSourceFile: '/src/htslib/./sam_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 118
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_get_library
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1186
      functionLinenumberEnd: 1208
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          79
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - bam_aux_get
        - sam_hdr_find_tag_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1189,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:1196,9'
          Dst:             sam_hdr_find_tag_id
    - functionName:    ks_clear
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_mplp_destructor
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6386
      functionLinenumberEnd: 6390
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp_destructor
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6389,9'
          Dst:             bam_plp_destructor
    - functionName:    bam_plp_destructor
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5753
      functionLinenumberEnd: 5755
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_mplp_constructor
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6379
      functionLinenumberEnd: 6383
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp_constructor
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6382,9'
          Dst:             bam_plp_constructor
    - functionName:    bam_plp_constructor
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5748
      functionLinenumberEnd: 5750
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_mplp_reset
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6365
      functionLinenumberEnd: 6376
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          76
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp_reset
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6370,9'
          Dst:             bam_plp_reset
    - functionName:    bam_plp_reset
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6232
      functionLinenumberEnd: 6242
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          62
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - mp_free
        - overlap_remove
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6233,5'
          Dst:             overlap_remove
        - Src:             'sam.c:6240,9'
          Dst:             mp_free
    - functionName:    overlap_remove
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6029
      functionLinenumberEnd: 6048
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          140
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - kh_del_olap_hash
        - kh_get_olap_hash
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6038,16'
          Dst:             kh_get_olap_hash
        - Src:             'sam.c:6040,13'
          Dst:             kh_del_olap_hash
        - Src:             'sam.c:6046,51'
          Dst:             kh_del_olap_hash
    - functionName:    mp_free
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5384
      functionLinenumberEnd: 5391
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          82
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - hts_realloc_p
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5388,19'
          Dst:             hts_realloc_p
    - functionName:    bam_mplp_auto
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6349
      functionLinenumberEnd: 6362
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          65
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - bam_mplp64_auto
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6351,15'
          Dst:             bam_mplp64_auto
        - Src:             'sam.c:6356,13'
          Dst:             hts_log
    - functionName:    bam_mplp64_auto
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6308
      functionLinenumberEnd: 6346
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          379
      EdgeCount:       54
      CyclomaticComplexity: 15
      functionsReached:
        - bam_plp64_auto
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6316,28'
          Dst:             bam_plp64_auto
    - functionName:    bam_plp64_auto
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6189
      functionLinenumberEnd: 6213
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          169
      EdgeCount:       36
      CyclomaticComplexity: 12
      functionsReached:
        - bam_plp64_next
        - bam_plp_push
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6192,16'
          Dst:             bam_plp64_next
        - Src:             'sam.c:6198,17'
          Dst:             bam_plp_push
        - Src:             'sam.c:6202,24'
          Dst:             bam_plp64_next
        - Src:             'sam.c:6206,13'
          Dst:             bam_plp_push
        - Src:             'sam.c:6210,20'
          Dst:             bam_plp64_next
    - functionName:    bam_plp64_next
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6056
      functionLinenumberEnd: 6114
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          540
      EdgeCount:       98
      CyclomaticComplexity: 27
      functionsReached:
        - hts_log
        - hts_prefetch
        - hts_realloc_p
        - mp_free
        - overlap_remove
        - resolve_cigar2
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6066,17'
          Dst:             hts_prefetch
        - Src:             'sam.c:6069,17'
          Dst:             overlap_remove
        - Src:             'sam.c:6072,34'
          Dst:             mp_free
        - Src:             'sam.c:6078,37'
          Dst:             hts_realloc_p
        - Src:             'sam.c:6082,25'
          Dst:             resolve_cigar2
        - Src:             'sam.c:6085,25'
          Dst:             hts_log
        - Src:             'sam.c:6098,17'
          Dst:             hts_log
    - functionName:    bam_plp_push
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6133
      functionLinenumberEnd: 6186
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         44
      ICount:          409
      EdgeCount:       61
      CyclomaticComplexity: 19
      functionsReached:
        - bam_cigar2rlen
        - bam_copy1
        - hts_log
        - mp_alloc
        - mp_free
        - overlap_push
        - overlap_remove
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6136,32'
          Dst:             overlap_remove
        - Src:             'sam.c:6138,42'
          Dst:             overlap_remove
        - Src:             'sam.c:6141,13'
          Dst:             overlap_remove
        - Src:             'sam.c:6144,13'
          Dst:             bam_copy1
        - Src:             'sam.c:6149,41'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:6152,13'
          Dst:             hts_log
        - Src:             'sam.c:6157,13'
          Dst:             hts_log
        - Src:             'sam.c:6163,30'
          Dst:             mp_alloc
        - Src:             'sam.c:6171,21'
          Dst:             mp_free
        - Src:             'sam.c:6176,17'
          Dst:             overlap_push
        - Src:             'sam.c:6177,17'
          Dst:             mp_free
    - functionName:    bam_copy1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 489
      functionLinenumberEnd: 496
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - realloc_bam_data
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:490,9'
          Dst:             realloc_bam_data
    - functionName:    mp_alloc
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5378
      functionLinenumberEnd: 5382
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - calloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5380,39'
          Dst:             calloc
    - functionName:    overlap_push
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5993
      functionLinenumberEnd: 6026
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          282
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - __assert_fail
        - kh_del_olap_hash
        - kh_get_olap_hash
        - kh_put_olap_hash
        - tweak_overlap_quality
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6005,21'
          Dst:             kh_get_olap_hash
        - Src:             'sam.c:6012,20'
          Dst:             kh_put_olap_hash
        - Src:             'sam.c:6020,19'
          Dst:             tweak_overlap_quality
        - Src:             'sam.c:6021,9'
          Dst:             kh_del_olap_hash
        - Src:             'sam.c:6022,9'
          Dst:             __assert_fail
    - functionName:    realloc_bam_data
      functionSourceFile: '/src/htslib/./sam_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 51
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sam_realloc_bam_data
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './sam_internal.h:50,12'
          Dst:             sam_realloc_bam_data
    - functionName:    hts_prefetch
      functionSourceFile: '/src/htslib/./htslib/hts_defs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 144
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    resolve_cigar2
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5411
      functionLinenumberEnd: 5535
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         117
      ICount:          854
      EdgeCount:       150
      CyclomaticComplexity: 35
      functionsReached:
        - __assert_fail
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5436,13'
          Dst:             __assert_fail
        - Src:             'sam.c:5444,13'
          Dst:             __assert_fail
        - Src:             'sam.c:5464,13'
          Dst:             __assert_fail
    - functionName:    bam_mplp_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6299
      functionLinenumberEnd: 6305
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          64
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp_destroy
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6301,35'
          Dst:             bam_plp_destroy
    - functionName:    bam_plp_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5732
      functionLinenumberEnd: 5745
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          119
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - bam_destroy1
        - kh_destroy_olap_hash
        - mp_destroy
        - mp_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5734,27'
          Dst:             kh_destroy_olap_hash
        - Src:             'sam.c:5739,9'
          Dst:             mp_free
        - Src:             'sam.c:5741,5'
          Dst:             mp_destroy
        - Src:             'sam.c:5742,18'
          Dst:             bam_destroy1
    - functionName:    kh_destroy_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5686
      functionLinenumberEnd: 5686
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mp_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5368
      functionLinenumberEnd: 5376
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          59
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_destroy1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 472
      functionLinenumberEnd: 486
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          74
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - bam_get_mempolicy
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:474,10'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:476,14'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:484,10'
          Dst:             bam_get_mempolicy
    - functionName:    bam_mplp_set_maxcnt
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6292
      functionLinenumberEnd: 6296
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         5
      ICount:          39
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_mplp_init_overlaps
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6284
      functionLinenumberEnd: 6288
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          52
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp_init_overlaps
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6287,14'
          Dst:             bam_plp_init_overlaps
    - functionName:    bam_plp_init_overlaps
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5726
      functionLinenumberEnd: 5728
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - kh_init_olap_hash
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5727,22'
          Dst:             kh_init_olap_hash
    - functionName:    kh_init_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5686
      functionLinenumberEnd: 5686
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5686,1'
          Dst:             calloc
    - functionName:    bam_mplp_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6263
      functionLinenumberEnd: 6280
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          114
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp_init
        - calloc
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6266,24'
          Dst:             calloc
        - Src:             'sam.c:6267,29'
          Dst:             calloc
        - Src:             'sam.c:6268,27'
          Dst:             calloc
        - Src:             'sam.c:6269,25'
          Dst:             calloc
        - Src:             'sam.c:6270,40'
          Dst:             calloc
        - Src:             'sam.c:6271,30'
          Dst:             calloc
        - Src:             'sam.c:6276,25'
          Dst:             bam_plp_init
    - functionName:    bam_plp_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5710
      functionLinenumberEnd: 5722
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bam_init1
        - calloc
        - mp_alloc
        - mp_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5712,23'
          Dst:             calloc
        - Src:             'sam.c:5713,16'
          Dst:             mp_init
        - Src:             'sam.c:5714,31'
          Dst:             mp_alloc
        - Src:             'sam.c:5720,19'
          Dst:             bam_init1
    - functionName:    mp_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5362
      functionLinenumberEnd: 5365
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5364,22'
          Dst:             calloc
    - functionName:    bam_init1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 434
      functionLinenumberEnd: 435
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:435,21'
          Dst:             calloc
    - functionName:    bam_plp_set_maxcnt
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6245
      functionLinenumberEnd: 6247
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_plp_auto
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6216
      functionLinenumberEnd: 6229
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          58
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp64_auto
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6218,30'
          Dst:             bam_plp64_auto
        - Src:             'sam.c:6222,9'
          Dst:             hts_log
    - functionName:    bam_plp_next
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6117
      functionLinenumberEnd: 6130
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          58
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_plp64_next
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:6119,30'
          Dst:             bam_plp64_next
        - Src:             'sam.c:6123,9'
          Dst:             hts_log
    - functionName:    bam_plp_insertion
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5677
      functionLinenumberEnd: 5678
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bam_plp_insertion_mod
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5678,12'
          Dst:             bam_plp_insertion_mod
    - functionName:    bam_plp_insertion_mod
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5554
      functionLinenumberEnd: 5665
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          671
      EdgeCount:       87
      CyclomaticComplexity: 19
      functionsReached:
        - bam_mods_at_qpos
        - ks_resize
        - snprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sam.c:5574,9'
          Branch Sides:    []
        - Branch String:   'sam.c:5595,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:5559,13'
          Dst:             ks_resize
        - Src:             'sam.c:5588,9'
          Dst:             ks_resize
        - Src:             'sam.c:5609,32'
          Dst:             bam_mods_at_qpos
        - Src:             'sam.c:5612,25'
          Dst:             ks_resize
        - Src:             'sam.c:5619,29'
          Dst:             snprintf
        - Src:             'sam.c:5624,38'
          Dst:             snprintf
        - Src:             'sam.c:5630,38'
          Dst:             snprintf
    - functionName:    bam_flag2str
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5310
      functionLinenumberEnd: 5325
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         42
      ICount:          271
      EdgeCount:       55
      CyclomaticComplexity: 15
      functionsReached:
        - kputsn
        - ksprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5312,29'
          Dst:             ksprintf
        - Src:             'sam.c:5313,34'
          Dst:             ksprintf
        - Src:             'sam.c:5314,28'
          Dst:             ksprintf
        - Src:             'sam.c:5315,29'
          Dst:             ksprintf
        - Src:             'sam.c:5316,30'
          Dst:             ksprintf
        - Src:             'sam.c:5317,31'
          Dst:             ksprintf
        - Src:             'sam.c:5318,28'
          Dst:             ksprintf
        - Src:             'sam.c:5319,28'
          Dst:             ksprintf
        - Src:             'sam.c:5320,32'
          Dst:             ksprintf
        - Src:             'sam.c:5321,29'
          Dst:             ksprintf
        - Src:             'sam.c:5322,26'
          Dst:             ksprintf
        - Src:             'sam.c:5323,36'
          Dst:             ksprintf
        - Src:             'sam.c:5324,23'
          Dst:             kputsn
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    bam_str2flag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5281
      functionLinenumberEnd: 5307
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         90
      ICount:          504
      EdgeCount:       119
      CyclomaticComplexity: 31
      functionsReached:
        - strncasecmp
        - strtol
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5283,21'
          Dst:             strtol
        - Src:             'sam.c:5290,15'
          Dst:             strncasecmp
        - Src:             'sam.c:5291,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5292,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5293,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5294,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5295,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5296,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5297,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5298,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5299,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5300,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5301,20'
          Dst:             strncasecmp
    - functionName:    strncasecmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_open_mode_opts
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5204
      functionLinenumberEnd: 5277
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          382
      EdgeCount:       88
      CyclomaticComplexity: 24
      functionsReached:
        - find_file_extension
        - sam_open_mode
        - strchr
        - strcpy
        - strlen
        - strncmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5205,40'
          Dst:             strlen
        - Src:             'sam.c:5206,40'
          Dst:             strlen
        - Src:             'sam.c:5214,5'
          Dst:             strcpy
        - Src:             'sam.c:5215,22'
          Dst:             strlen
        - Src:             'sam.c:5220,13'
          Dst:             find_file_extension
        - Src:             'sam.c:5224,13'
          Dst:             sam_open_mode
        - Src:             'sam.c:5232,17'
          Dst:             strchr
        - Src:             'sam.c:5236,22'
          Dst:             strlen
        - Src:             'sam.c:5239,9'
          Dst:             strncmp
        - Src:             'sam.c:5241,16'
          Dst:             strncmp
        - Src:             'sam.c:5243,16'
          Dst:             strncmp
        - Src:             'sam.c:5245,9'
          Dst:             strcpy
        - Src:             'sam.c:5247,16'
          Dst:             strncmp
        - Src:             'sam.c:5249,9'
          Dst:             strcpy
        - Src:             'sam.c:5251,16'
          Dst:             strncmp
        - Src:             'sam.c:5253,16'
          Dst:             strncmp
        - Src:             'sam.c:5255,16'
          Dst:             strncmp
        - Src:             'sam.c:5256,16'
          Dst:             strncmp
        - Src:             'sam.c:5258,16'
          Dst:             strncmp
        - Src:             'sam.c:5259,16'
          Dst:             strncmp
        - Src:             'sam.c:5262,16'
          Dst:             strncmp
        - Src:             'sam.c:5263,16'
          Dst:             strncmp
        - Src:             'sam.c:5265,16'
          Dst:             strncmp
        - Src:             'sam.c:5266,16'
          Dst:             strncmp
        - Src:             'sam.c:5274,5'
          Dst:             strcpy
    - functionName:    find_file_extension
      functionSourceFile: '/src/htslib/./hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         58
      ICount:          308
      EdgeCount:       79
      CyclomaticComplexity: 23
      functionsReached:
        - strlen
        - strstr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_internal.h:142,30'
          Dst:             strstr
        - Src:             './hts_internal.h:144,30'
          Dst:             strlen
    - functionName:    sam_open_mode
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5173
      functionLinenumberEnd: 5196
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          192
      EdgeCount:       59
      CyclomaticComplexity: 16
      functionsReached:
        - find_file_extension
        - sam_open_mode
        - strcasecmp
        - strcpy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5178,13'
          Dst:             find_file_extension
        - Src:             'sam.c:5179,16'
          Dst:             sam_open_mode
        - Src:             'sam.c:5181,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5181,46'
          Dst:             strcpy
        - Src:             'sam.c:5182,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5182,47'
          Dst:             strcpy
        - Src:             'sam.c:5183,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5183,46'
          Dst:             strcpy
        - Src:             'sam.c:5184,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5184,49'
          Dst:             strcpy
        - Src:             'sam.c:5185,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5186,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5186,45'
          Dst:             strcpy
        - Src:             'sam.c:5187,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5188,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5188,48'
          Dst:             strcpy
        - Src:             'sam.c:5189,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5190,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5190,45'
          Dst:             strcpy
        - Src:             'sam.c:5191,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5192,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5192,48'
          Dst:             strcpy
    - functionName:    bam_auxB2f
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5162
      functionLinenumberEnd: 5170
      functionDepth:   0
      returnType:      double
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          66
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - bam_auxB_len
        - get_int_aux_val
        - le_to_float
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5163,20'
          Dst:             bam_auxB_len
        - Src:             'sam.c:5165,9'
          Dst:             __errno_location
        - Src:             'sam.c:5168,29'
          Dst:             le_to_float
        - Src:             'sam.c:5169,17'
          Dst:             get_int_aux_val
    - functionName:    bam_auxB_len
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5143
      functionLinenumberEnd: 5149
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - le_to_u32
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5145,9'
          Dst:             __errno_location
        - Src:             'sam.c:5148,12'
          Dst:             le_to_u32
    - functionName:    le_to_float
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 308
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - le_to_u32
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:314,17'
          Dst:             le_to_u32
    - functionName:    get_int_aux_val
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5094
      functionLinenumberEnd: 5106
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - char
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          101
      EdgeCount:       21
      CyclomaticComplexity: 12
      functionsReached:
        - __errno_location
        - le_to_i16
        - le_to_i32
        - le_to_i8
        - le_to_u16
        - le_to_u32
      functionUses:    4
      BranchProfiles:
        - Branch String:   'sam.c:5095,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:5096,26'
          Dst:             le_to_i8
        - Src:             'sam.c:5098,26'
          Dst:             le_to_i16
        - Src:             'sam.c:5099,26'
          Dst:             le_to_u16
        - Src:             'sam.c:5100,26'
          Dst:             le_to_i32
        - Src:             'sam.c:5101,26'
          Dst:             le_to_u32
        - Src:             'sam.c:5103,13'
          Dst:             __errno_location
    - functionName:    le_to_i32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 251
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u32
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:252,18'
          Dst:             le_to_u32
    - functionName:    bam_auxB2i
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5152
      functionLinenumberEnd: 5159
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - bam_auxB_len
        - get_int_aux_val
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5153,20'
          Dst:             bam_auxB_len
        - Src:             'sam.c:5155,9'
          Dst:             __errno_location
        - Src:             'sam.c:5158,12'
          Dst:             get_int_aux_val
    - functionName:    bam_aux2Z
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5134
      functionLinenumberEnd: 5140
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5138,5'
          Dst:             __errno_location
    - functionName:    bam_aux2A
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5125
      functionLinenumberEnd: 5131
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5129,5'
          Dst:             __errno_location
    - functionName:    le_to_double
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 324
      functionLinenumberEnd: 331
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - le_to_u64
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:330,17'
          Dst:             le_to_u64
    - functionName:    bam_aux2f
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5116
      functionLinenumberEnd: 5122
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          55
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - get_int_aux_val
        - le_to_double
        - le_to_float
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5119,29'
          Dst:             le_to_double
        - Src:             'sam.c:5120,34'
          Dst:             le_to_float
        - Src:             'sam.c:5121,17'
          Dst:             get_int_aux_val
    - functionName:    bam_aux2i
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5109
      functionLinenumberEnd: 5112
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_int_aux_val
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5112,12'
          Dst:             get_int_aux_val
    - functionName:    bam_aux_update_array
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5037
      functionLinenumberEnd: 5090
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          328
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - aux_type2size
        - bam_aux_get
        - le_to_u32
        - possibly_expand_bam_data
        - u32_to_le
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5038,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:5043,26'
          Dst:             __errno_location
        - Src:             'sam.c:5044,18'
          Dst:             aux_type2size
        - Src:             'sam.c:5045,41'
          Dst:             __errno_location
        - Src:             'sam.c:5046,19'
          Dst:             le_to_u32
        - Src:             'sam.c:5048,13'
          Dst:             __errno_location
        - Src:             'sam.c:5056,14'
          Dst:             aux_type2size
        - Src:             'sam.c:5057,37'
          Dst:             __errno_location
        - Src:             'sam.c:5058,39'
          Dst:             __errno_location
        - Src:             'sam.c:5064,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:5081,5'
          Dst:             u32_to_le
    - functionName:    bam_aux_update_float
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5000
      functionLinenumberEnd: 5033
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - float
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          173
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - bam_aux_get
        - float_to_le
        - possibly_expand_bam_data
      functionUses:    0
      BranchProfiles:
        - Branch String:   'sam.c:5005,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:5001,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:5008,22'
          Dst:             __errno_location
        - Src:             'sam.c:5011,13'
          Dst:             __errno_location
        - Src:             'sam.c:5019,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:5029,5'
          Dst:             float_to_le
    - functionName:    bam_aux_update_int
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4934
      functionLinenumberEnd: 4997
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          331
      EdgeCount:       67
      CyclomaticComplexity: 14
      functionsReached:
        - __assert_fail
        - __errno_location
        - bam_aux_get
        - possibly_expand_bam_data
      functionUses:    0
      BranchProfiles:
        - Branch String:   'sam.c:4951,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4939,9'
          Dst:             __errno_location
        - Src:             'sam.c:4949,9'
          Dst:             bam_aux_get
        - Src:             'sam.c:4955,22'
          Dst:             __errno_location
        - Src:             'sam.c:4958,13'
          Dst:             __errno_location
        - Src:             'sam.c:4969,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:4983,9'
          Dst:             __assert_fail
    - functionName:    bam_aux_update_str
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4882
      functionLinenumberEnd: 4931
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          329
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - __errno_location
        - bam_aux_get
        - hts_log
        - memchr
        - possibly_expand_bam_data
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4884,34'
          Dst:             strlen
        - Src:             'sam.c:4887,22'
          Dst:             __errno_location
        - Src:             'sam.c:4889,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:4894,13'
          Dst:             hts_log
        - Src:             'sam.c:4895,13'
          Dst:             __errno_location
        - Src:             'sam.c:4899,13'
          Dst:             memchr
        - Src:             'sam.c:4903,13'
          Dst:             __errno_location
        - Src:             'sam.c:4906,13'
          Dst:             __errno_location
        - Src:             'sam.c:4914,13'
          Dst:             possibly_expand_bam_data
    - functionName:    bam_aux_remove
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4863
      functionLinenumberEnd: 4879
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          91
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hts_log
        - skip_aux
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4865,21'
          Dst:             skip_aux
        - Src:             'sam.c:4869,24'
          Dst:             __errno_location
        - Src:             'sam.c:4875,5'
          Dst:             hts_log
        - Src:             'sam.c:4877,5'
          Dst:             __errno_location
    - functionName:    bam_aux_del
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4857
      functionLinenumberEnd: 4859
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - bam_aux_remove
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4858,9'
          Dst:             bam_aux_remove
        - Src:             'sam.c:4859,18'
          Dst:             __errno_location
    - functionName:    bam_aux_append
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4753
      functionLinenumberEnd: 4782
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          140
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - __assert_fail
        - __errno_location
        - realloc_bam_data
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4756,5'
          Dst:             __assert_fail
        - Src:             'sam.c:4760,9'
          Dst:             realloc_bam_data
        - Src:             'sam.c:4780,5'
          Dst:             __errno_location
    - functionName:    sam_dispatcher_write
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3491
      functionLinenumberEnd: 3641
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         89
      ICount:          756
      EdgeCount:       120
      CyclomaticComplexity: 33
      functionsReached:
        - __assert_fail
        - __errno_location
        - bam_endpos
        - bgzf_flush_try
        - bgzf_idx_push
        - bgzf_write
        - hts_idx_push
        - hts_log
        - hts_tpool_delete_result
        - hts_tpool_next_result_wait
        - hts_tpool_process_shutdown
        - hts_tpool_result_data
        - hwrite
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_hdr_tid2len
        - sam_hdr_tid2name
        - sam_state_err
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3497,17'
          Dst:             hts_tpool_next_result_wait
        - Src:             'sam.c:3498,36'
          Dst:             hts_tpool_result_data
        - Src:             'sam.c:3500,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3515,25'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:3517,25'
          Dst:             bgzf_write
        - Src:             'sam.c:3520,25'
          Dst:             hwrite
        - Src:             'sam.c:3527,65'
          Dst:             bam_endpos
        - Src:             'sam.c:3526,25'
          Dst:             bgzf_idx_push
        - Src:             'sam.c:3530,43'
          Dst:             __errno_location
        - Src:             'sam.c:3530,51'
          Dst:             __errno_location
        - Src:             'sam.c:3530,25'
          Dst:             sam_state_err
        - Src:             'sam.c:3531,25'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:3531,25'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:3531,25'
          Dst:             hts_log
        - Src:             'sam.c:3536,73'
          Dst:             bam_endpos
        - Src:             'sam.c:3536,25'
          Dst:             hts_idx_push
        - Src:             'sam.c:3538,43'
          Dst:             __errno_location
        - Src:             'sam.c:3538,51'
          Dst:             __errno_location
        - Src:             'sam.c:3538,25'
          Dst:             sam_state_err
        - Src:             'sam.c:3539,25'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:3539,25'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:3539,25'
          Dst:             hts_log
        - Src:             'sam.c:3546,13'
          Dst:             __assert_fail
        - Src:             'sam.c:3549,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3553,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3600,29'
          Dst:             bgzf_write
        - Src:             'sam.c:3608,29'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:3613,29'
          Dst:             bgzf_write
        - Src:             'sam.c:3620,21'
          Dst:             hwrite
        - Src:             'sam.c:3625,9'
          Dst:             hts_tpool_delete_result
        - Src:             'sam.c:3628,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3631,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3634,5'
          Dst:             sam_state_err
        - Src:             'sam.c:3635,5'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3639,23'
          Dst:             __errno_location
        - Src:             'sam.c:3639,31'
          Dst:             __errno_location
        - Src:             'sam.c:3639,5'
          Dst:             sam_state_err
    - functionName:    hwrite
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          166
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - hfile_set_blksize
        - hwrite2
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:303,13'
          Dst:             hfile_set_blksize
        - Src:             './htslib/hfile.h:312,16'
          Dst:             hwrite2
        - Src:             './htslib/hfile.h:318,39'
          Dst:             hwrite2
    - functionName:    bam_write_idx1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 944
      functionLinenumberEnd: 967
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          179
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - bam_endpos
        - bam_write1
        - bgzf_flush_try
        - bgzf_idx_push
        - hts_idx_amend_last
        - hts_log
        - sam_hdr_tid2len
        - sam_hdr_tid2name
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:948,16'
          Dst:             bam_write1
        - Src:             'sam.c:951,9'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:954,9'
          Dst:             hts_idx_amend_last
        - Src:             'sam.c:956,15'
          Dst:             bam_write1
        - Src:             'sam.c:960,63'
          Dst:             bam_endpos
        - Src:             'sam.c:960,9'
          Dst:             bgzf_idx_push
        - Src:             'sam.c:961,9'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:961,9'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:961,9'
          Dst:             hts_log
    - functionName:    bam_write1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 874
      functionLinenumberEnd: 939
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         69
      ICount:          631
      EdgeCount:       92
      CyclomaticComplexity: 25
      functionsReached:
        - __errno_location
        - bam_cigar2rlen
        - bgzf_flush_try
        - bgzf_write_small
        - ed_swap_4p
        - hts_log
        - swap_data
        - u32_to_le
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:879,9'
          Dst:             hts_log
        - Src:             'sam.c:880,9'
          Dst:             __errno_location
        - Src:             'sam.c:887,9'
          Dst:             hts_log
        - Src:             'sam.c:899,11'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:901,33'
          Dst:             ed_swap_4p
        - Src:             'sam.c:903,44'
          Dst:             ed_swap_4p
        - Src:             'sam.c:903,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:904,9'
          Dst:             swap_data
        - Src:             'sam.c:906,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:908,19'
          Dst:             bgzf_write_small
        - Src:             'sam.c:909,19'
          Dst:             bgzf_write_small
        - Src:             'sam.c:911,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:915,31'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:919,13'
          Dst:             hts_log
        - Src:             'sam.c:928,9'
          Dst:             u32_to_le
        - Src:             'sam.c:929,9'
          Dst:             u32_to_le
        - Src:             'sam.c:930,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:931,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:932,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:933,9'
          Dst:             u32_to_le
        - Src:             'sam.c:934,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:935,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:937,20'
          Dst:             swap_data
    - functionName:    ed_swap_4p
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1605
      functionLinenumberEnd: 1607
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ed_swap_4
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts.h:1606,21'
          Dst:             ed_swap_4
    - functionName:    bgzf_write_small
      functionSourceFile: '/src/htslib/./htslib/bgzf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 200
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          74
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_write
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/bgzf.h:198,16'
          Dst:             bgzf_write
    - functionName:    swap_data
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 767
      functionLinenumberEnd: 771
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          54
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - ed_swap_4p
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:770,38'
          Dst:             ed_swap_4p
    - functionName:    ed_swap_4
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1600
      functionLinenumberEnd: 1602
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_write1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4545
      functionLinenumberEnd: 4702
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         83
      ICount:          772
      EdgeCount:       111
      CyclomaticComplexity: 30
      functionsReached:
        - __errno_location
        - bam_copy1
        - bam_endpos
        - bam_write_idx1
        - bgzf_flush_try
        - bgzf_idx_push
        - bgzf_write
        - calloc
        - cleanup_sp_bams
        - cleanup_sp_lines
        - cram_put_bam_seq
        - fastq_format1
        - fastq_state_init
        - hts_idx_push
        - hts_log
        - hts_tpool_dispatch3
        - hwrite
        - kputc
        - pthread_create
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_dispatcher_write
        - sam_format1
        - sam_format_worker
        - sam_hdr_tid2len
        - sam_hdr_tid2name
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sam.c:4546,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4552,16'
          Dst:             bam_write_idx1
        - Src:             'sam.c:4555,16'
          Dst:             cram_put_bam_seq
        - Src:             'sam.c:4578,21'
          Dst:             pthread_create
        - Src:             'sam.c:4578,21'
          Dst:             sam_dispatcher_write
        - Src:             'sam.c:4585,17'
          Dst:             hts_log
        - Src:             'sam.c:4592,17'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4599,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4601,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4602,32'
          Dst:             calloc
        - Src:             'sam.c:4603,38'
          Dst:             calloc
        - Src:             'sam.c:4616,18'
          Dst:             bam_copy1
        - Src:             'sam.c:4623,17'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4625,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4628,21'
          Dst:             hts_tpool_dispatch3
        - Src:             'sam.c:4628,21'
          Dst:             sam_format_worker
        - Src:             'sam.c:4628,21'
          Dst:             cleanup_sp_bams
        - Src:             'sam.c:4628,21'
          Dst:             cleanup_sp_lines
        - Src:             'sam.c:4631,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4634,17'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4643,17'
          Dst:             sam_format1
        - Src:             'sam.c:4644,13'
          Dst:             kputc
        - Src:             'sam.c:4646,21'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:4648,22'
          Dst:             bgzf_write
        - Src:             'sam.c:4650,22'
          Dst:             hwrite
        - Src:             'sam.c:4655,87'
          Dst:             bam_endpos
        - Src:             'sam.c:4655,25'
          Dst:             bgzf_idx_push
        - Src:             'sam.c:4657,25'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:4657,25'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:4657,25'
          Dst:             hts_log
        - Src:             'sam.c:4662,73'
          Dst:             bam_endpos
        - Src:             'sam.c:4662,25'
          Dst:             hts_idx_push
        - Src:             'sam.c:4664,25'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:4664,25'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:4664,25'
          Dst:             hts_log
        - Src:             'sam.c:4679,31'
          Dst:             fastq_state_init
        - Src:             'sam.c:4684,13'
          Dst:             fastq_format1
        - Src:             'sam.c:4687,17'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:4689,17'
          Dst:             bgzf_write
        - Src:             'sam.c:4692,17'
          Dst:             hwrite
        - Src:             'sam.c:4699,9'
          Dst:             __errno_location
    - functionName:    pthread_create
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_format_worker
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3646
      functionLinenumberEnd: 3711
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         28
      ICount:          237
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - calloc
        - kputc
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_format1_append
        - sam_state_err
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3654,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3659,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3662,14'
          Dst:             calloc
        - Src:             'sam.c:3664,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3676,13'
          Dst:             sam_format1_append
        - Src:             'sam.c:3677,31'
          Dst:             __errno_location
        - Src:             'sam.c:3677,39'
          Dst:             __errno_location
        - Src:             'sam.c:3677,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3680,9'
          Dst:             kputc
        - Src:             'sam.c:3683,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3697,5'
          Dst:             pthread_mutex_unlock
    - functionName:    sam_format1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4398
      functionLinenumberEnd: 4400
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_format1_append
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4400,12'
          Dst:             sam_format1_append
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    fastq_state_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3780
      functionLinenumberEnd: 3794
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          57
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - regcomp
        - strcpy
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3781,37'
          Dst:             calloc
        - Src:             'sam.c:3784,5'
          Dst:             strcpy
        - Src:             'sam.c:3788,9'
          Dst:             regcomp
    - functionName:    fastq_format1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4405
      functionLinenumberEnd: 4540
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         162
      ICount:          1139
      EdgeCount:       218
      CyclomaticComplexity: 58
      functionsReached:
        - bam_aux_get
        - hts_log
        - isalpha_c
        - islower_c
        - isupper_c
        - kh_get_tag
        - kputc
        - kputc_
        - kputs
        - kputsn
        - ks_resize
        - ksprintf
        - sam_format_aux1
        - skip_aux
        - strlen
        - toupper_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4413,9'
          Dst:             kputc
        - Src:             'sam.c:4413,42'
          Dst:             kputs
        - Src:             'sam.c:4435,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:4437,23'
          Dst:             kputc
        - Src:             'sam.c:4440,30'
          Dst:             isalpha_c
        - Src:             'sam.c:4440,47'
          Dst:             toupper_c
        - Src:             'sam.c:4440,24'
          Dst:             kputc
        - Src:             'sam.c:4445,22'
          Dst:             kputs
        - Src:             'sam.c:4453,17'
          Dst:             kputs
        - Src:             'sam.c:4456,17'
          Dst:             kputs
        - Src:             'sam.c:4466,23'
          Dst:             bam_aux_get
        - Src:             'sam.c:4467,13'
          Dst:             ksprintf
        - Src:             'sam.c:4471,36'
          Dst:             isupper_c
        - Src:             'sam.c:4471,57'
          Dst:             islower_c
        - Src:             'sam.c:4472,13'
          Dst:             hts_log
        - Src:             'sam.c:4473,23'
          Dst:             strlen
        - Src:             'sam.c:4481,21'
          Dst:             strlen
        - Src:             'sam.c:4484,22'
          Dst:             isalpha_c
        - Src:             'sam.c:4486,26'
          Dst:             islower_c
        - Src:             'sam.c:4487,28'
          Dst:             toupper_c
        - Src:             'sam.c:4498,17'
          Dst:             kh_get_tag
        - Src:             'sam.c:4499,22'
          Dst:             kputc_
        - Src:             'sam.c:4500,38'
          Dst:             sam_format_aux1
        - Src:             'sam.c:4503,21'
          Dst:             skip_aux
        - Src:             'sam.c:4506,14'
          Dst:             kputsn
        - Src:             'sam.c:4509,9'
          Dst:             ks_resize
        - Src:             'sam.c:4510,10'
          Dst:             kputc_
        - Src:             'sam.c:4516,18'
          Dst:             kputc_
        - Src:             'sam.c:4519,18'
          Dst:             kputc_
        - Src:             'sam.c:4524,9'
          Dst:             kputsn
        - Src:             'sam.c:4528,22'
          Dst:             kputc_
        - Src:             'sam.c:4531,22'
          Dst:             kputc_
        - Src:             'sam.c:4534,22'
          Dst:             kputc_
        - Src:             'sam.c:4537,10'
          Dst:             kputc
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    isalpha_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:170,46'
          Dst:             __ctype_b_loc
    - functionName:    toupper_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 180
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - toupper
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:180,47'
          Dst:             toupper
    - functionName:    isupper_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:177,46'
          Dst:             __ctype_b_loc
    - functionName:    islower_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 173
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:173,46'
          Dst:             __ctype_b_loc
    - functionName:    kputc_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    24
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:270,6'
          Dst:             ks_resize
    - functionName:    sam_format_aux1
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1479
      functionLinenumberEnd: 1647
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         142
      ICount:          1026
      EdgeCount:       179
      CyclomaticComplexity: 39
      functionsReached:
        - __errno_location
        - hts_log
        - kputc
        - kputc_
        - kputd
        - kputsn
        - kputsn_
        - kputuw
        - kputw
        - ks_expand
        - ksprintf
        - le_to_double
        - le_to_float
        - le_to_i16
        - le_to_i32
        - le_to_u16
        - le_to_u32
      functionUses:    2
      BranchProfiles:
        - Branch String:   './htslib/sam.h:1549,9'
          Branch Sides:    []
        - Branch String:   './htslib/sam.h:1573,9'
          Branch Sides:    []
      Callsites:
        - Src:             './htslib/sam.h:1482,10'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1483,10'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1485,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1486,14'
          Dst:             kputw
        - Src:             './htslib/sam.h:1489,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1490,14'
          Dst:             kputw
        - Src:             './htslib/sam.h:1494,18'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1495,25'
          Dst:             le_to_u16
        - Src:             './htslib/sam.h:1495,18'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1500,18'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1501,24'
          Dst:             le_to_i16
        - Src:             './htslib/sam.h:1501,18'
          Dst:             kputw
        - Src:             './htslib/sam.h:1506,18'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1507,25'
          Dst:             le_to_u32
        - Src:             './htslib/sam.h:1507,18'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1512,18'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1513,24'
          Dst:             le_to_i32
        - Src:             './htslib/sam.h:1513,18'
          Dst:             kputw
        - Src:             './htslib/sam.h:1517,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1518,14'
          Dst:             kputc
        - Src:             './htslib/sam.h:1523,42'
          Dst:             le_to_float
        - Src:             './htslib/sam.h:1523,13'
          Dst:             ksprintf
        - Src:             './htslib/sam.h:1533,34'
          Dst:             le_to_double
        - Src:             './htslib/sam.h:1533,13'
          Dst:             ksprintf
        - Src:             './htslib/sam.h:1537,14'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1538,14'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1539,36'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1540,14'
          Dst:             kputsn
        - Src:             './htslib/sam.h:1567,13'
          Dst:             le_to_u32
        - Src:             './htslib/sam.h:1571,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1572,14'
          Dst:             kputc
        - Src:             './htslib/sam.h:1575,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1578,22'
          Dst:             kputw
        - Src:             './htslib/sam.h:1583,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1586,22'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1591,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1594,28'
          Dst:             le_to_i16
        - Src:             './htslib/sam.h:1594,22'
          Dst:             kputw
        - Src:             './htslib/sam.h:1599,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1602,29'
          Dst:             le_to_u16
        - Src:             './htslib/sam.h:1602,22'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1607,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1610,28'
          Dst:             le_to_i32
        - Src:             './htslib/sam.h:1610,22'
          Dst:             kputw
        - Src:             './htslib/sam.h:1615,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1618,29'
          Dst:             le_to_u32
        - Src:             './htslib/sam.h:1618,22'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1623,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1627,36'
          Dst:             le_to_float
        - Src:             './htslib/sam.h:1627,22'
          Dst:             kputd
        - Src:             './htslib/sam.h:1640,5'
          Dst:             __errno_location
        - Src:             './htslib/sam.h:1644,5'
          Dst:             hts_log
        - Src:             './htslib/sam.h:1645,5'
          Dst:             __errno_location
    - functionName:    kputw
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 372
      functionLinenumberEnd: 382
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - kputuw
        - ks_resize
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:376,13'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:381,12'
          Dst:             kputuw
    - functionName:    sam_format1_append
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4316
      functionLinenumberEnd: 4395
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          590
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - __errno_location
        - add33
        - hts_log
        - kputc_
        - kputll
        - kputs
        - kputsn
        - kputsn_
        - kputw
        - ks_resize
        - nibble2base
        - sam_format_aux1
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4323,10'
          Dst:             kputsn_
        - Src:             'sam.c:4324,10'
          Dst:             kputc_
        - Src:             'sam.c:4325,10'
          Dst:             kputw
        - Src:             'sam.c:4325,36'
          Dst:             kputc_
        - Src:             'sam.c:4327,14'
          Dst:             kputs
        - Src:             'sam.c:4328,14'
          Dst:             kputc_
        - Src:             'sam.c:4329,17'
          Dst:             kputsn_
        - Src:             'sam.c:4330,10'
          Dst:             kputll
        - Src:             'sam.c:4330,40'
          Dst:             kputc_
        - Src:             'sam.c:4331,10'
          Dst:             kputw
        - Src:             'sam.c:4331,36'
          Dst:             kputc_
        - Src:             'sam.c:4335,18'
          Dst:             kputw
        - Src:             'sam.c:4336,18'
          Dst:             kputc_
        - Src:             'sam.c:4338,17'
          Dst:             kputc_
        - Src:             'sam.c:4339,10'
          Dst:             kputc_
        - Src:             'sam.c:4340,27'
          Dst:             kputsn_
        - Src:             'sam.c:4341,38'
          Dst:             kputsn_
        - Src:             'sam.c:4343,14'
          Dst:             kputs
        - Src:             'sam.c:4344,14'
          Dst:             kputc_
        - Src:             'sam.c:4346,10'
          Dst:             kputll
        - Src:             'sam.c:4346,41'
          Dst:             kputc_
        - Src:             'sam.c:4347,10'
          Dst:             kputll
        - Src:             'sam.c:4347,38'
          Dst:             kputc_
        - Src:             'sam.c:4350,13'
          Dst:             ks_resize
        - Src:             'sam.c:4354,9'
          Dst:             nibble2base
        - Src:             'sam.c:4364,13'
          Dst:             add33
        - Src:             'sam.c:4370,17'
          Dst:             kputsn_
        - Src:             'sam.c:4376,14'
          Dst:             kputc_
        - Src:             'sam.c:4377,29'
          Dst:             sam_format_aux1
        - Src:             'sam.c:4380,10'
          Dst:             kputsn
        - Src:             'sam.c:4386,5'
          Dst:             hts_log
        - Src:             'sam.c:4388,5'
          Dst:             __errno_location
        - Src:             'sam.c:4392,5'
          Dst:             hts_log
        - Src:             'sam.c:4393,5'
          Dst:             __errno_location
    - functionName:    fastq_parse1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3921
      functionLinenumberEnd: 4123
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         174
      ICount:          1279
      EdgeCount:       232
      CyclomaticComplexity: 60
      functionsReached:
        - aux_parse
        - bam_aux_append
        - bam_set1
        - hts_getline
        - hts_log
        - isalpha_c
        - isdigit_c
        - isspace_c
        - kputsn
        - regexec
        - strpbrk
        - strtol
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sam.c:4015,9'
          Branch Sides:    []
        - Branch String:   'sam.c:4090,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:3938,15'
          Dst:             hts_getline
        - Src:             'sam.c:3954,20'
          Dst:             strpbrk
        - Src:             'sam.c:3966,22'
          Dst:             isspace_c
        - Src:             'sam.c:3974,21'
          Dst:             isspace_c
        - Src:             'sam.c:3982,20'
          Dst:             hts_getline
        - Src:             'sam.c:3988,13'
          Dst:             kputsn
        - Src:             'sam.c:3997,17'
          Dst:             hts_getline
        - Src:             'sam.c:4001,17'
          Dst:             kputsn
        - Src:             'sam.c:4014,9'
          Dst:             isdigit_c
        - Src:             'sam.c:4028,13'
          Dst:             regexec
        - Src:             'sam.c:4033,17'
          Dst:             hts_log
        - Src:             'sam.c:4041,30'
          Dst:             isalpha_c
        - Src:             'sam.c:4061,11'
          Dst:             bam_set1
        - Src:             'sam.c:4073,13'
          Dst:             bam_aux_append
        - Src:             'sam.c:4085,54'
          Dst:             isdigit_c
        - Src:             'sam.c:4086,9'
          Dst:             strtol
        - Src:             'sam.c:4100,14'
          Dst:             isdigit_c
        - Src:             'sam.c:4103,21'
          Dst:             isspace_c
        - Src:             'sam.c:4112,13'
          Dst:             bam_aux_append
        - Src:             'sam.c:4119,9'
          Dst:             aux_parse
    - functionName:    strpbrk
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_set1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 540
      functionLinenumberEnd: 661
      functionDepth:   0
      returnType:      int
      argCount:        16
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - short
        - int
        - size_t
        - char
        - size_t
        - 'N/A'
        - int
        - size_t
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         63
      ICount:          581
      EdgeCount:       84
      CyclomaticComplexity: 23
      functionsReached:
        - __errno_location
        - bam_cigar2rqlens
        - hts_add_sat2
        - hts_log
        - hts_reg2bin
        - realloc_bam_data
        - strncpy
        - subtract_check_underflow
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:555,9'
          Dst:             bam_cigar2rqlens
        - Src:             'sam.c:565,9'
          Dst:             hts_log
        - Src:             'sam.c:566,9'
          Dst:             __errno_location
        - Src:             'sam.c:571,9'
          Dst:             hts_log
        - Src:             'sam.c:572,9'
          Dst:             __errno_location
        - Src:             'sam.c:576,9'
          Dst:             hts_log
        - Src:             'sam.c:577,9'
          Dst:             __errno_location
        - Src:             'sam.c:581,9'
          Dst:             hts_log
        - Src:             'sam.c:582,9'
          Dst:             __errno_location
        - Src:             'sam.c:586,9'
          Dst:             hts_log
        - Src:             'sam.c:587,9'
          Dst:             __errno_location
        - Src:             'sam.c:592,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:593,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:594,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:595,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:596,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:598,9'
          Dst:             hts_log
        - Src:             'sam.c:599,9'
          Dst:             __errno_location
        - Src:             'sam.c:605,31'
          Dst:             hts_add_sat2
        - Src:             'sam.c:605,9'
          Dst:             realloc_bam_data
        - Src:             'sam.c:612,21'
          Dst:             hts_reg2bin
        - Src:             'sam.c:624,5'
          Dst:             strncpy
    - functionName:    bam_cigar2rqlens
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 512
      functionLinenumberEnd: 521
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          92
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    subtract_check_underflow
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 524
      functionLinenumberEnd: 531
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          31
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_read1_sam
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4148
      functionLinenumberEnd: 4253
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          440
      EdgeCount:       83
      CyclomaticComplexity: 25
      functionsReached:
        - __errno_location
        - bam_copy1
        - bgzf_seek
        - hts_getline
        - hts_log
        - hts_tpool_delete_result
        - hts_tpool_next_result_wait
        - hts_tpool_result_data
        - pthread_create
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_dispatcher_read
        - sam_hdr_fill_hrecs
        - sam_parse1
        - sam_state_destroy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4153,15'
          Dst:             sam_parse1
        - Src:             'sam.c:4164,24'
          Dst:             sam_state_destroy
        - Src:             'sam.c:4165,17'
          Dst:             __errno_location
        - Src:             'sam.c:4168,17'
          Dst:             bgzf_seek
        - Src:             'sam.c:4179,34'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'sam.c:4183,17'
          Dst:             pthread_create
        - Src:             'sam.c:4183,17'
          Dst:             sam_dispatcher_read
        - Src:             'sam.c:4190,13'
          Dst:             hts_log
        - Src:             'sam.c:4198,17'
          Dst:             __errno_location
        - Src:             'sam.c:4202,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4204,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4208,35'
          Dst:             hts_tpool_next_result_wait
        - Src:             'sam.c:4211,44'
          Dst:             hts_tpool_result_data
        - Src:             'sam.c:4212,13'
          Dst:             hts_tpool_delete_result
        - Src:             'sam.c:4215,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4217,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4222,18'
          Dst:             bam_copy1
        - Src:             'sam.c:4225,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4228,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4241,15'
          Dst:             hts_getline
        - Src:             'sam.c:4244,15'
          Dst:             sam_parse1
        - Src:             'sam.c:4247,13'
          Dst:             hts_log
    - functionName:    sam_state_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3085
      functionLinenumberEnd: 3190
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         89
      ICount:          531
      EdgeCount:       120
      CyclomaticComplexity: 33
      functionsReached:
        - bam_hdr_destroy
        - hts_tpool_destroy
        - hts_tpool_dispatch
        - hts_tpool_process_destroy
        - hts_tpool_process_empty
        - hts_tpool_process_flush
        - hts_tpool_process_is_shutdown
        - hts_tpool_process_shutdown
        - hts_tpool_wake_dispatch
        - hts_usleep
        - pthread_cond_destroy
        - pthread_cond_signal
        - pthread_join
        - pthread_mutex_destroy
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_format_worker
        - sam_free_sp_bams
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3095,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3098,13'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3101,17'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'sam.c:3108,21'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'sam.c:3109,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3110,21'
          Dst:             hts_usleep
        - Src:             'sam.c:3111,21'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3114,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3120,27'
          Dst:             hts_tpool_dispatch
        - Src:             'sam.c:3120,27'
          Dst:             sam_format_worker
        - Src:             'sam.c:3124,21'
          Dst:             hts_tpool_process_flush
        - Src:             'sam.c:3125,17'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3127,17'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3129,42'
          Dst:             hts_tpool_process_empty
        - Src:             'sam.c:3130,21'
          Dst:             hts_usleep
        - Src:             'sam.c:3131,21'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3134,25'
          Dst:             hts_tpool_process_is_shutdown
        - Src:             'sam.c:3136,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3139,21'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3144,17'
          Dst:             pthread_join
        - Src:             'sam.c:3150,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'sam.c:3153,13'
          Dst:             hts_tpool_destroy
        - Src:             'sam.c:3156,9'
          Dst:             pthread_mutex_destroy
        - Src:             'sam.c:3157,9'
          Dst:             pthread_mutex_destroy
        - Src:             'sam.c:3158,9'
          Dst:             pthread_cond_destroy
        - Src:             'sam.c:3173,13'
          Dst:             sam_free_sp_bams
        - Src:             'sam.c:3178,13'
          Dst:             sam_free_sp_bams
        - Src:             'sam.c:3184,9'
          Dst:             bam_hdr_destroy
    - functionName:    hts_usleep
      functionSourceFile: '/src/htslib/./hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 160
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - nanosleep
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_internal.h:162,12'
          Dst:             nanosleep
    - functionName:    pthread_join
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_cond_destroy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_hdr_destroy
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 404
      functionLinenumberEnd: 404
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_hdr_destroy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/sam.h:404,52'
          Dst:             sam_hdr_destroy
    - functionName:    sam_hdr_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 142
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          123
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - kh_destroy_s2i
        - sam_hrecs_free
      functionUses:    19
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:138,9'
          Dst:             sam_hrecs_free
        - Src:             'sam.c:140,9'
          Dst:             kh_destroy_s2i
    - functionName:    nanosleep
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_read1_cram
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4139
      functionLinenumberEnd: 4145
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_eof
        - cram_get_bam_seq
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4140,15'
          Dst:             cram_get_bam_seq
        - Src:             'sam.c:4142,16'
          Dst:             cram_eof
    - functionName:    sam_read1_bam
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4126
      functionLinenumberEnd: 4136
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          102
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - bam_read1
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4127,15'
          Dst:             bam_read1
        - Src:             'sam.c:4131,13'
          Dst:             __errno_location
    - functionName:    bam_read1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 796
      functionLinenumberEnd: 871
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         69
      ICount:          615
      EdgeCount:       95
      CyclomaticComplexity: 28
      functionsReached:
        - bam_cigar2rqlens
        - bam_tag2cigar
        - bgzf_read
        - bgzf_read_small
        - ed_swap_4p
        - fixup_missing_qname_nul
        - hts_log
        - hts_reg2bin
        - le_to_i32
        - le_to_u32
        - realloc_bam_data
        - swap_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:804,16'
          Dst:             bgzf_read_small
        - Src:             'sam.c:809,9'
          Dst:             ed_swap_4p
        - Src:             'sam.c:817,13'
          Dst:             bgzf_read
        - Src:             'sam.c:820,21'
          Dst:             le_to_u32
        - Src:             'sam.c:821,21'
          Dst:             le_to_i32
        - Src:             'sam.c:822,21'
          Dst:             le_to_u32
        - Src:             'sam.c:827,21'
          Dst:             le_to_u32
        - Src:             'sam.c:830,21'
          Dst:             le_to_u32
        - Src:             'sam.c:831,21'
          Dst:             le_to_u32
        - Src:             'sam.c:832,21'
          Dst:             le_to_i32
        - Src:             'sam.c:833,21'
          Dst:             le_to_i32
        - Src:             'sam.c:840,9'
          Dst:             realloc_bam_data
        - Src:             'sam.c:843,9'
          Dst:             bgzf_read_small
        - Src:             'sam.c:845,13'
          Dst:             fixup_missing_qname_nul
        - Src:             'sam.c:850,9'
          Dst:             bgzf_read_small
        - Src:             'sam.c:852,20'
          Dst:             swap_data
        - Src:             'sam.c:853,9'
          Dst:             bam_tag2cigar
        - Src:             'sam.c:859,9'
          Dst:             bam_cigar2rqlens
        - Src:             'sam.c:861,23'
          Dst:             hts_reg2bin
        - Src:             'sam.c:864,13'
          Dst:             hts_log
    - functionName:    bgzf_read_small
      functionSourceFile: '/src/htslib/./htslib/bgzf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          93
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_read
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/bgzf.h:168,16'
          Dst:             bgzf_read
    - functionName:    fixup_missing_qname_nul
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 774
      functionLinenumberEnd: 789
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          97
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - realloc_bam_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:783,13'
          Dst:             realloc_bam_data
    - functionName:    sam_read1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4259
      functionLinenumberEnd: 4303
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          171
      EdgeCount:       36
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - fastq_parse1
        - fastq_state_init
        - sam_passes_filter
        - sam_read1_bam
        - sam_read1_cram
        - sam_read1_sam
      functionUses:    4
      BranchProfiles:
        - Branch String:   'sam.c:4263,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4265,19'
          Dst:             sam_read1_bam
        - Src:             'sam.c:4269,19'
          Dst:             sam_read1_cram
        - Src:             'sam.c:4273,19'
          Dst:             sam_read1_sam
        - Src:             'sam.c:4280,35'
          Dst:             fastq_state_init
        - Src:             'sam.c:4285,20'
          Dst:             fastq_parse1
        - Src:             'sam.c:4289,13'
          Dst:             __errno_location
        - Src:             'sam.c:4293,13'
          Dst:             __errno_location
        - Src:             'sam.c:4298,15'
          Dst:             sam_passes_filter
    - functionName:    sam_passes_filter
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1549
      functionLinenumberEnd: 1562
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          52
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bam_sym_lookup
        - hts_expr_val_free
        - hts_filter_eval2
        - hts_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1552,9'
          Dst:             hts_filter_eval2
        - Src:             'sam.c:1552,9'
          Dst:             bam_sym_lookup
        - Src:             'sam.c:1553,9'
          Dst:             hts_log
        - Src:             'sam.c:1554,9'
          Dst:             hts_expr_val_free
        - Src:             'sam.c:1559,5'
          Dst:             hts_expr_val_free
    - functionName:    bam_sym_lookup
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1223
      functionLinenumberEnd: 1545
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         185
      ICount:          1654
      EdgeCount:       245
      CyclomaticComplexity: 62
      functionsReached:
        - bam_aux2f
        - bam_aux2i
        - bam_aux_get
        - bam_cigar2qlen
        - bam_cigar2rlen
        - bam_endpos
        - bam_get_library
        - hts_log
        - kputc_
        - kputs
        - kputsn
        - kputw
        - ks_clear
        - ks_resize
        - memcmp
        - nibble2base
        - sam_hdr_tid2name
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sam.c:1228,5'
          Branch Sides:    []
        - Branch String:   'sam.c:1498,17'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1230,13'
          Dst:             memcmp
        - Src:             'sam.c:1233,13'
          Dst:             ks_clear
        - Src:             'sam.c:1238,26'
          Dst:             kputw
        - Src:             'sam.c:1239,26'
          Dst:             kputc_
        - Src:             'sam.c:1241,22'
          Dst:             kputs
        - Src:             'sam.c:1243,22'
          Dst:             kputs
        - Src:             'sam.c:1250,13'
          Dst:             memcmp
        - Src:             'sam.c:1252,22'
          Dst:             bam_endpos
        - Src:             'sam.c:1258,13'
          Dst:             memcmp
        - Src:             'sam.c:1265,22'
          Dst:             memcmp
        - Src:             'sam.c:1269,29'
          Dst:             memcmp
        - Src:             'sam.c:1273,29'
          Dst:             memcmp
        - Src:             'sam.c:1277,29'
          Dst:             memcmp
        - Src:             'sam.c:1281,29'
          Dst:             memcmp
        - Src:             'sam.c:1285,29'
          Dst:             memcmp
        - Src:             'sam.c:1289,29'
          Dst:             memcmp
        - Src:             'sam.c:1293,29'
          Dst:             memcmp
        - Src:             'sam.c:1297,29'
          Dst:             memcmp
        - Src:             'sam.c:1301,29'
          Dst:             memcmp
        - Src:             'sam.c:1305,29'
          Dst:             memcmp
        - Src:             'sam.c:1309,29'
          Dst:             memcmp
        - Src:             'sam.c:1314,21'
          Dst:             hts_log
        - Src:             'sam.c:1322,13'
          Dst:             memcmp
        - Src:             'sam.c:1342,13'
          Dst:             memcmp
        - Src:             'sam.c:1345,31'
          Dst:             bam_get_library
        - Src:             'sam.c:1346,35'
          Dst:             ks_clear
        - Src:             'sam.c:1346,13'
          Dst:             kputs
        - Src:             'sam.c:1352,13'
          Dst:             memcmp
        - Src:             'sam.c:1356,20'
          Dst:             memcmp
        - Src:             'sam.c:1360,20'
          Dst:             memcmp
        - Src:             'sam.c:1363,30'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1364,34'
          Dst:             ks_clear
        - Src:             'sam.c:1364,13'
          Dst:             kputs
        - Src:             'sam.c:1366,20'
          Dst:             memcmp
        - Src:             'sam.c:1374,13'
          Dst:             memcmp
        - Src:             'sam.c:1382,13'
          Dst:             memcmp
        - Src:             'sam.c:1386,20'
          Dst:             memcmp
        - Src:             'sam.c:1394,13'
          Dst:             memcmp
        - Src:             'sam.c:1396,22'
          Dst:             bam_cigar2qlen
        - Src:             'sam.c:1398,20'
          Dst:             memcmp
        - Src:             'sam.c:1401,37'
          Dst:             ks_clear
        - Src:             'sam.c:1401,13'
          Dst:             kputs
        - Src:             'sam.c:1403,20'
          Dst:             memcmp
        - Src:             'sam.c:1405,13'
          Dst:             ks_clear
        - Src:             'sam.c:1406,17'
          Dst:             ks_resize
        - Src:             'sam.c:1417,13'
          Dst:             memcmp
        - Src:             'sam.c:1419,22'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:1421,20'
          Dst:             memcmp
        - Src:             'sam.c:1424,30'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1425,34'
          Dst:             ks_clear
        - Src:             'sam.c:1425,13'
          Dst:             kputs
        - Src:             'sam.c:1427,20'
          Dst:             memcmp
        - Src:             'sam.c:1430,30'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1431,34'
          Dst:             ks_clear
        - Src:             'sam.c:1431,13'
          Dst:             kputs
        - Src:             'sam.c:1433,20'
          Dst:             memcmp
        - Src:             'sam.c:1441,13'
          Dst:             memcmp
        - Src:             'sam.c:1443,13'
          Dst:             ks_clear
        - Src:             'sam.c:1444,17'
          Dst:             ks_resize
        - Src:             'sam.c:1446,13'
          Dst:             nibble2base
        - Src:             'sam.c:1451,20'
          Dst:             memcmp
        - Src:             'sam.c:1482,13'
          Dst:             memcmp
        - Src:             'sam.c:1494,28'
          Dst:             bam_aux_get
        - Src:             'sam.c:1502,42'
          Dst:             ks_clear
        - Src:             'sam.c:1502,21'
          Dst:             kputs
        - Src:             'sam.c:1507,46'
          Dst:             ks_clear
        - Src:             'sam.c:1507,21'
          Dst:             kputsn
        - Src:             'sam.c:1514,30'
          Dst:             bam_aux2i
        - Src:             'sam.c:1520,30'
          Dst:             bam_aux2f
        - Src:             'sam.c:1524,21'
          Dst:             hts_log
    - functionName:    hts_expr_val_free
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 89
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_free
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_expr.h:88,5'
          Dst:             ks_free
    - functionName:    ks_free
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_initialize
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:238,9'
          Dst:             ks_initialize
    - functionName:    isalnum_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:169,46'
          Dst:             __ctype_b_loc
    - functionName:    kh_put_tag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          423
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_tag
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:64,1'
          Dst:             kh_resize_tag
        - Src:             'sam.c:64,1'
          Dst:             kh_resize_tag
    - functionName:    kh_init_tag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:64,1'
          Dst:             calloc
    - functionName:    fastq_state_set
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3809
      functionLinenumberEnd: 3919
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         92
      ICount:          600
      EdgeCount:       119
      CyclomaticComplexity: 29
      functionsReached:
        - fastq_state_init
        - hts_log
        - isalnum_c
        - isalpha_c
        - kh_init_tag
        - kh_put_tag
        - regcomp
        - regfree
        - strcmp
        - strlen
        - strncpy
      functionUses:    3
      BranchProfiles:
        - Branch String:   'sam.c:3821,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:3815,27'
          Dst:             fastq_state_init
        - Src:             'sam.c:3835,20'
          Dst:             strcmp
        - Src:             'sam.c:3837,33'
          Dst:             kh_init_tag
        - Src:             'sam.c:3840,30'
          Dst:             strlen
        - Src:             'sam.c:3844,21'
          Dst:             hts_log
        - Src:             'sam.c:3848,17'
          Dst:             kh_put_tag
        - Src:             'sam.c:3860,9'
          Dst:             strncpy
        - Src:             'sam.c:3870,20'
          Dst:             strcmp
        - Src:             'sam.c:3874,18'
          Dst:             isalpha_c
        - Src:             'sam.c:3874,39'
          Dst:             isalnum_c
        - Src:             'sam.c:3879,13'
          Dst:             strncpy
        - Src:             'sam.c:3893,13'
          Dst:             hts_log
        - Src:             'sam.c:3903,9'
          Dst:             regfree
        - Src:             'sam.c:3904,13'
          Dst:             regcomp
        - Src:             'sam.c:3905,13'
          Dst:             hts_log
    - functionName:    kh_destroy_tag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fastq_state_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3796
      functionLinenumberEnd: 3807
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          61
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - kh_destroy_tag
        - ks_free
        - regfree
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3800,13'
          Dst:             kh_destroy_tag
        - Src:             'sam.c:3801,9'
          Dst:             ks_free
        - Src:             'sam.c:3802,9'
          Dst:             ks_free
        - Src:             'sam.c:3803,9'
          Dst:             ks_free
        - Src:             'sam.c:3804,9'
          Dst:             regfree
    - functionName:    sam_set_threads
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3740
      functionLinenumberEnd: 3759
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          74
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - hts_tpool_destroy
        - hts_tpool_init
        - sam_set_thread_pool
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3745,14'
          Dst:             hts_tpool_init
        - Src:             'sam.c:3748,15'
          Dst:             sam_set_thread_pool
        - Src:             'sam.c:3751,13'
          Dst:             hts_tpool_destroy
    - functionName:    sam_set_thread_pool
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3713
      functionLinenumberEnd: 3738
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          129
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - bgzf_thread_pool
        - hts_tpool_process_init
        - hts_tpool_size
        - pthread_cond_init
        - pthread_mutex_init
        - sam_state_create
        - sam_state_destroy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3717,23'
          Dst:             sam_state_create
        - Src:             'sam.c:3721,5'
          Dst:             pthread_mutex_init
        - Src:             'sam.c:3722,5'
          Dst:             pthread_mutex_init
        - Src:             'sam.c:3723,5'
          Dst:             pthread_cond_init
        - Src:             'sam.c:3727,19'
          Dst:             hts_tpool_size
        - Src:             'sam.c:3728,13'
          Dst:             hts_tpool_process_init
        - Src:             'sam.c:3730,9'
          Dst:             sam_state_destroy
        - Src:             'sam.c:3735,16'
          Dst:             bgzf_thread_pool
    - functionName:    sam_state_create
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3041
      functionLinenumberEnd: 3057
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          67
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:3049,21'
          Dst:             calloc
    - functionName:    pthread_mutex_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_cond_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_parse_cigar
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2888
      functionLinenumberEnd: 2919
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          169
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - hts_log
        - hts_realloc_p
        - parse_cigar
        - read_ncigar
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2893,9'
          Dst:             hts_log
        - Src:             'sam.c:2902,15'
          Dst:             read_ncigar
        - Src:             'sam.c:2905,27'
          Dst:             hts_realloc_p
        - Src:             'sam.c:2910,13'
          Dst:             hts_log
        - Src:             'sam.c:2915,18'
          Dst:             parse_cigar
    - functionName:    sam_hdr_get
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2193
      functionLinenumberEnd: 2197
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          24
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hdr_set
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2170
      functionLinenumberEnd: 2189
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          94
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - sam_hdr_destroy
        - sam_hdr_dup
        - sam_hdr_incr_ref
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2176,26'
          Dst:             sam_hdr_dup
        - Src:             'sam.c:2177,9'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:2182,13'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:2184,13'
          Dst:             sam_hdr_incr_ref
    - functionName:    sam_hdr_dup
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          311
      EdgeCount:       61
      CyclomaticComplexity: 18
      functionsReached:
        - calloc
        - hts_malloc_ps
        - ks_release
        - sam_hdr_destroy
        - sam_hdr_dup_sdict
        - sam_hdr_init
        - sam_hdr_update_target_arrays
        - sam_hrecs_rebuild_text
        - strdup
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:175,14'
          Dst:             sam_hdr_init
        - Src:             'sam.c:184,36'
          Dst:             calloc
        - Src:             'sam.c:186,34'
          Dst:             calloc
        - Src:             'sam.c:192,33'
          Dst:             strdup
        - Src:             'sam.c:199,17'
          Dst:             sam_hdr_dup_sdict
        - Src:             'sam.c:205,13'
          Dst:             sam_hrecs_rebuild_text
        - Src:             'sam.c:206,18'
          Dst:             ks_release
        - Src:             'sam.c:211,21'
          Dst:             ks_release
        - Src:             'sam.c:213,13'
          Dst:             sam_hdr_update_target_arrays
        - Src:             'sam.c:217,19'
          Dst:             hts_malloc_ps
        - Src:             'sam.c:227,5'
          Dst:             sam_hdr_destroy
    - functionName:    sam_hdr_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - calloc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:112,33'
          Dst:             calloc
    - functionName:    sam_hdr_dup_sdict
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          133
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - kh_destroy_s2i
        - kh_get_s2i
        - kh_init_s2i
        - kh_put_s2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:149,36'
          Dst:             kh_init_s2i
        - Src:             'sam.c:157,16'
          Dst:             kh_get_s2i
        - Src:             'sam.c:159,17'
          Dst:             kh_put_s2i
        - Src:             'sam.c:161,13'
          Dst:             kh_destroy_s2i
    - functionName:    ks_release
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    old_sam_hdr_change_HD
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2074
      functionLinenumberEnd: 2146
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          426
      EdgeCount:       84
      CyclomaticComplexity: 24
      functionsReached:
        - snprintf
        - strchr
        - strlen
        - strncmp
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2081,13'
          Dst:             strncmp
        - Src:             'sam.c:2082,22'
          Dst:             strchr
        - Src:             'sam.c:2087,22'
          Dst:             strstr
        - Src:             'sam.c:2095,29'
          Dst:             strncmp
        - Src:             'sam.c:2096,24'
          Dst:             strlen
        - Src:             'sam.c:2111,41'
          Dst:             strlen
        - Src:             'sam.c:2113,27'
          Dst:             strlen
        - Src:             'sam.c:2119,13'
          Dst:             snprintf
        - Src:             'sam.c:2122,13'
          Dst:             snprintf
        - Src:             'sam.c:2127,41'
          Dst:             strlen
        - Src:             'sam.c:2129,27'
          Dst:             strlen
        - Src:             'sam.c:2135,13'
          Dst:             snprintf
        - Src:             'sam.c:2138,13'
          Dst:             snprintf
    - functionName:    sam_hdr_change_HD
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2150
      functionLinenumberEnd: 2165
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          87
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - old_sam_hdr_change_HD
        - sam_hdr_rebuild
        - sam_hdr_remove_tag_id
        - sam_hdr_update_line
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:2155,16'
          Dst:             old_sam_hdr_change_HD
        - Src:             'sam.c:2158,13'
          Dst:             sam_hdr_update_line
        - Src:             'sam.c:2161,13'
          Dst:             sam_hdr_remove_tag_id
        - Src:             'sam.c:2164,12'
          Dst:             sam_hdr_rebuild
    - functionName:    sam_hdr_write
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1961
      functionLinenumberEnd: 2071
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         86
      ICount:          575
      EdgeCount:       112
      CyclomaticComplexity: 28
      functionsReached:
        - __errno_location
        - bam_hdr_write
        - bgzf_flush
        - bgzf_write
        - cram_load_reference
        - cram_set_header2
        - cram_write_SAM_hdr
        - hflush
        - hwrite
        - kputc
        - kputs
        - kputsn
        - kputw
        - sam_hdr_destroy
        - sam_hdr_dup
        - sam_hrecs_rebuild_text
        - strstr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sam.c:1967,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1963,9'
          Dst:             __errno_location
        - Src:             'sam.c:1973,13'
          Dst:             bam_hdr_write
        - Src:             'sam.c:1978,13'
          Dst:             cram_set_header2
        - Src:             'sam.c:1980,13'
          Dst:             cram_load_reference
        - Src:             'sam.c:1981,13'
          Dst:             cram_write_SAM_hdr
        - Src:             'sam.c:1999,17'
          Dst:             sam_hrecs_rebuild_text
        - Src:             'sam.c:2007,21'
          Dst:             strstr
        - Src:             'sam.c:2015,21'
          Dst:             bgzf_write
        - Src:             'sam.c:2017,21'
          Dst:             hwrite
        - Src:             'sam.c:2027,22'
          Dst:             kputsn
        - Src:             'sam.c:2028,22'
          Dst:             kputs
        - Src:             'sam.c:2029,22'
          Dst:             kputsn
        - Src:             'sam.c:2030,22'
          Dst:             kputw
        - Src:             'sam.c:2031,22'
          Dst:             kputc
        - Src:             'sam.c:2036,29'
          Dst:             bgzf_write
        - Src:             'sam.c:2038,29'
          Dst:             hwrite
        - Src:             'sam.c:2045,17'
          Dst:             bgzf_flush
        - Src:             'sam.c:2047,17'
          Dst:             hflush
        - Src:             'sam.c:2059,9'
          Dst:             __errno_location
        - Src:             'sam.c:2065,26'
          Dst:             sam_hdr_dup
        - Src:             'sam.c:2066,9'
          Dst:             sam_hdr_destroy
    - functionName:    bam_hdr_write
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 347
      functionLinenumberEnd: 417
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         68
      ICount:          428
      EdgeCount:       94
      CyclomaticComplexity: 28
      functionsReached:
        - bgzf_flush
        - bgzf_write
        - ed_swap_4
        - hts_log
        - sam_hrecs_rebuild_text
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:356,13'
          Dst:             sam_hrecs_rebuild_text
        - Src:             'sam.c:358,13'
          Dst:             hts_log
        - Src:             'sam.c:362,13'
          Dst:             hts_log
        - Src:             'sam.c:363,13'
          Dst:             hts_log
        - Src:             'sam.c:369,13'
          Dst:             hts_log
        - Src:             'sam.c:372,13'
          Dst:             hts_log
        - Src:             'sam.c:373,13'
          Dst:             hts_log
        - Src:             'sam.c:379,9'
          Dst:             bgzf_write
        - Src:             'sam.c:382,13'
          Dst:             ed_swap_4
        - Src:             'sam.c:383,13'
          Dst:             bgzf_write
        - Src:             'sam.c:385,17'
          Dst:             bgzf_write
        - Src:             'sam.c:387,13'
          Dst:             ed_swap_4
        - Src:             'sam.c:388,13'
          Dst:             bgzf_write
        - Src:             'sam.c:390,13'
          Dst:             bgzf_write
        - Src:             'sam.c:392,17'
          Dst:             bgzf_write
        - Src:             'sam.c:394,13'
          Dst:             bgzf_write
        - Src:             'sam.c:400,20'
          Dst:             strlen
        - Src:             'sam.c:402,17'
          Dst:             ed_swap_4
        - Src:             'sam.c:403,17'
          Dst:             bgzf_write
        - Src:             'sam.c:405,17'
          Dst:             bgzf_write
        - Src:             'sam.c:407,13'
          Dst:             bgzf_write
        - Src:             'sam.c:409,17'
          Dst:             ed_swap_4
        - Src:             'sam.c:410,17'
          Dst:             bgzf_write
        - Src:             'sam.c:412,17'
          Dst:             bgzf_write
        - Src:             'sam.c:415,9'
          Dst:             bgzf_flush
    - functionName:    sam_hdr_create
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1900
      functionLinenumberEnd: 1916
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          71
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sam_hdr_build_from_sam_file
        - sam_hdr_destroy
        - sam_hdr_init
        - sam_hdr_sanitise
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1901,20'
          Dst:             sam_hdr_init
        - Src:             'sam.c:1905,9'
          Dst:             sam_hdr_build_from_sam_file
        - Src:             'sam.c:1906,9'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1911,9'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1912,22'
          Dst:             sam_hdr_sanitise
    - functionName:    sam_hdr_sanitise
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1835
      functionLinenumberEnd: 1898
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         48
      ICount:          291
      EdgeCount:       64
      CyclomaticComplexity: 18
      functionsReached:
        - hts_log
        - realloc
        - sam_hdr_destroy
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1855,17'
          Dst:             hts_log
        - Src:             'sam.c:1856,17'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1868,13'
          Dst:             hts_log
        - Src:             'sam.c:1873,9'
          Dst:             hts_log
        - Src:             'sam.c:1877,17'
          Dst:             hts_log
        - Src:             'sam.c:1878,17'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1882,18'
          Dst:             realloc
        - Src:             'sam.c:1884,17'
          Dst:             sam_hdr_destroy
    - functionName:    sam_hdr_read
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1919
      functionLinenumberEnd: 1958
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          119
      EdgeCount:       22
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - bam_hdr_read
        - sam_hdr_create
        - sam_hdr_dup
        - sam_hdr_incr_ref
        - sam_hdr_init
        - sam_hdr_sanitise
      functionUses:    2
      BranchProfiles:
        - Branch String:   'sam.c:1926,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1922,9'
          Dst:             __errno_location
        - Src:             'sam.c:1928,30'
          Dst:             bam_hdr_read
        - Src:             'sam.c:1928,13'
          Dst:             sam_hdr_sanitise
        - Src:             'sam.c:1932,30'
          Dst:             sam_hdr_dup
        - Src:             'sam.c:1932,13'
          Dst:             sam_hdr_sanitise
        - Src:             'sam.c:1936,13'
          Dst:             sam_hdr_create
        - Src:             'sam.c:1941,16'
          Dst:             sam_hdr_init
        - Src:             'sam.c:1944,9'
          Dst:             __errno_location
        - Src:             'sam.c:1948,9'
          Dst:             __errno_location
        - Src:             'sam.c:1955,9'
          Dst:             sam_hdr_incr_ref
    - functionName:    bam_hdr_read
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 232
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         80
      ICount:          532
      EdgeCount:       110
      CyclomaticComplexity: 32
      functionsReached:
        - bgzf_check_EOF
        - bgzf_read
        - calloc
        - ed_swap_4p
        - hts_log
        - le_to_u32
        - memcmp
        - perror
        - realloc
        - sam_hdr_destroy
        - sam_hdr_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:240,15'
          Dst:             bgzf_check_EOF
        - Src:             'sam.c:242,9'
          Dst:             perror
        - Src:             'sam.c:244,9'
          Dst:             hts_log
        - Src:             'sam.c:247,17'
          Dst:             bgzf_read
        - Src:             'sam.c:248,27'
          Dst:             memcmp
        - Src:             'sam.c:249,9'
          Dst:             hts_log
        - Src:             'sam.c:252,9'
          Dst:             sam_hdr_init
        - Src:             'sam.c:256,13'
          Dst:             bgzf_read
        - Src:             'sam.c:258,17'
          Dst:             le_to_u32
        - Src:             'sam.c:268,13'
          Dst:             bgzf_read
        - Src:             'sam.c:271,13'
          Dst:             bgzf_read
        - Src:             'sam.c:273,20'
          Dst:             ed_swap_4p
        - Src:             'sam.c:283,34'
          Dst:             calloc
        - Src:             'sam.c:285,36'
          Dst:             calloc
        - Src:             'sam.c:294,17'
          Dst:             bgzf_read
        - Src:             'sam.c:296,24'
          Dst:             ed_swap_4p
        - Src:             'sam.c:303,17'
          Dst:             bgzf_read
        - Src:             'sam.c:311,24'
          Dst:             realloc
        - Src:             'sam.c:317,17'
          Dst:             bgzf_read
        - Src:             'sam.c:319,24'
          Dst:             ed_swap_4p
        - Src:             'sam.c:324,5'
          Dst:             hts_log
        - Src:             'sam.c:329,9'
          Dst:             hts_log
        - Src:             'sam.c:331,9'
          Dst:             hts_log
        - Src:             'sam.c:336,5'
          Dst:             hts_log
        - Src:             'sam.c:341,9'
          Dst:             sam_hdr_destroy
    - functionName:    perror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_hdr_parse
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1814
      functionLinenumberEnd: 1824
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          48
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sam_hdr_add_lines
        - sam_hdr_destroy
        - sam_hdr_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1815,21'
          Dst:             sam_hdr_init
        - Src:             'sam.c:1818,9'
          Dst:             sam_hdr_add_lines
        - Src:             'sam.c:1819,9'
          Dst:             sam_hdr_destroy
    - functionName:    sam_itr_regions
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1792
      functionLinenumberEnd: 1804
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          75
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - bam_name2id_wrapper
        - bgzf_pseek
        - bgzf_ptell
        - cram_name2id
        - cram_pseek
        - cram_ptell
        - cram_readrec
        - hts_itr_multi_bam
        - hts_itr_multi_cram
        - hts_itr_regions
        - sam_readrec
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1799,16'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1799,16'
          Dst:             cram_name2id
        - Src:             'sam.c:1799,16'
          Dst:             hts_itr_multi_cram
        - Src:             'sam.c:1799,16'
          Dst:             cram_readrec
        - Src:             'sam.c:1799,16'
          Dst:             cram_pseek
        - Src:             'sam.c:1799,16'
          Dst:             cram_ptell
        - Src:             'sam.c:1802,16'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1802,16'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1802,16'
          Dst:             hts_itr_multi_bam
        - Src:             'sam.c:1802,16'
          Dst:             sam_readrec
        - Src:             'sam.c:1802,16'
          Dst:             bgzf_pseek
        - Src:             'sam.c:1802,16'
          Dst:             bgzf_ptell
    - functionName:    cram_name2id
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1748
      functionLinenumberEnd: 1750
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_hdr_name2tid
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1750,12'
          Dst:             sam_hdr_name2tid
    - functionName:    cram_readrec
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1565
      functionLinenumberEnd: 1589
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          118
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - bam_endpos
        - cram_eof
        - cram_get_bam_seq
        - sam_passes_filter
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1571,15'
          Dst:             cram_get_bam_seq
        - Src:             'sam.c:1573,20'
          Dst:             cram_eof
        - Src:             'sam.c:1577,16'
          Dst:             bam_endpos
        - Src:             'sam.c:1580,27'
          Dst:             sam_passes_filter
    - functionName:    cram_pseek
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1592
      functionLinenumberEnd: 1612
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          109
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - cram_free_container
        - cram_seek
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1595,15'
          Dst:             cram_seek
        - Src:             'sam.c:1596,15'
          Dst:             cram_seek
        - Src:             'sam.c:1602,9'
          Dst:             cram_free_container
        - Src:             'sam.c:1604,13'
          Dst:             cram_free_container
    - functionName:    cram_ptell
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1622
      functionLinenumberEnd: 1638
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          97
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_name2id_wrapper
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 420
      functionLinenumberEnd: 421
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bam_name2id
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:421,12'
          Dst:             bam_name2id
    - functionName:    sam_readrec
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1160
      functionLinenumberEnd: 1170
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          70
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bam_endpos
        - sam_read1
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1164,15'
          Dst:             sam_read1
        - Src:             'sam.c:1168,16'
          Dst:             bam_endpos
    - functionName:    sam_itr_regarray
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1762
      functionLinenumberEnd: 1789
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          119
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - bam_name2id_wrapper
        - bgzf_pseek
        - bgzf_ptell
        - cram_name2id
        - cram_pseek
        - cram_ptell
        - cram_readrec
        - hts_itr_multi_bam
        - hts_itr_multi_cram
        - hts_itr_regions
        - hts_reglist_create
        - hts_reglist_free
        - sam_readrec
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1772,18'
          Dst:             hts_reglist_create
        - Src:             'sam.c:1772,18'
          Dst:             cram_name2id
        - Src:             'sam.c:1775,15'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1775,15'
          Dst:             cram_name2id
        - Src:             'sam.c:1775,15'
          Dst:             hts_itr_multi_cram
        - Src:             'sam.c:1775,15'
          Dst:             cram_readrec
        - Src:             'sam.c:1775,15'
          Dst:             cram_pseek
        - Src:             'sam.c:1775,15'
          Dst:             cram_ptell
        - Src:             'sam.c:1778,18'
          Dst:             hts_reglist_create
        - Src:             'sam.c:1778,18'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1781,15'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1781,15'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1781,15'
          Dst:             hts_itr_multi_bam
        - Src:             'sam.c:1781,15'
          Dst:             sam_readrec
        - Src:             'sam.c:1781,15'
          Dst:             bgzf_pseek
        - Src:             'sam.c:1781,15'
          Dst:             bgzf_ptell
        - Src:             'sam.c:1786,9'
          Dst:             hts_reglist_free
    - functionName:    sam_itr_querys
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1754
      functionLinenumberEnd: 1757
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bam_name2id_wrapper
        - hts_itr_querys
        - sam_readrec
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1756,12'
          Dst:             hts_itr_querys
        - Src:             'sam.c:1756,12'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1756,12'
          Dst:             sam_readrec
    - functionName:    cram_itr_query
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1680
      functionLinenumberEnd: 1734
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          175
      EdgeCount:       23
      CyclomaticComplexity: 3
      functionsReached:
        - abort
        - calloc
        - cram_set_option
        - hts_log
      functionUses:    2
      BranchProfiles:
        - Branch String:   'sam.c:1704,9'
          Branch Sides:    []
        - Branch String:   'sam.c:1719,10'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1682,37'
          Dst:             calloc
        - Src:             'sam.c:1695,19'
          Dst:             cram_set_option
        - Src:             'sam.c:1728,9'
          Dst:             hts_log
        - Src:             'sam.c:1729,9'
          Dst:             abort
    - functionName:    sam_readrec_rest
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1175
      functionLinenumberEnd: 1180
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          42
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_read1
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1179,15'
          Dst:             sam_read1
    - functionName:    sam_itr_queryi
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1737
      functionLinenumberEnd: 1745
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          62
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - cram_itr_query
        - hts_itr_query
        - sam_readrec
        - sam_readrec_rest
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1740,16'
          Dst:             hts_itr_query
        - Src:             'sam.c:1740,16'
          Dst:             sam_readrec_rest
        - Src:             'sam.c:1742,16'
          Dst:             cram_itr_query
        - Src:             'sam.c:1742,16'
          Dst:             sam_readrec
        - Src:             'sam.c:1744,16'
          Dst:             hts_itr_query
        - Src:             'sam.c:1744,16'
          Dst:             sam_readrec
    - functionName:    sam_index_load
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1675
      functionLinenumberEnd: 1676
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - index_load
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1676,12'
          Dst:             index_load
    - functionName:    index_load
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1643
      functionLinenumberEnd: 1663
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 3
      functionsReached:
        - cram_index_load
        - hts_idx_load3
      functionUses:    3
      BranchProfiles:
        - Branch String:   'sam.c:1644,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1647,16'
          Dst:             hts_idx_load3
        - Src:             'sam.c:1650,13'
          Dst:             cram_index_load
    - functionName:    sam_index_load2
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1670
      functionLinenumberEnd: 1671
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - index_load
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1671,12'
          Dst:             index_load
    - functionName:    sam_index_load3
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1666
      functionLinenumberEnd: 1667
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - index_load
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1667,12'
          Dst:             index_load
    - functionName:    sam_idx_save
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1135
      functionLinenumberEnd: 1157
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          180
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - bgzf_flush
        - hts_idx_amend_last
        - hts_idx_finish
        - hts_idx_fmt
        - hts_idx_save_but_not_close
        - sam_state_destroy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1139,20'
          Dst:             sam_state_destroy
        - Src:             'sam.c:1140,13'
          Dst:             __errno_location
        - Src:             'sam.c:1143,29'
          Dst:             bgzf_flush
        - Src:             'sam.c:1145,9'
          Dst:             hts_idx_amend_last
        - Src:             'sam.c:1147,13'
          Dst:             hts_idx_finish
        - Src:             'sam.c:1150,63'
          Dst:             hts_idx_fmt
        - Src:             'sam.c:1150,16'
          Dst:             hts_idx_save_but_not_close
    - functionName:    sam_idx_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1107
      functionLinenumberEnd: 1131
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          207
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - bgzf_open
        - hts_adjust_csi_settings
        - hts_idx_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1118,13'
          Dst:             hts_adjust_csi_settings
        - Src:             'sam.c:1121,19'
          Dst:             hts_idx_init
        - Src:             'sam.c:1126,30'
          Dst:             bgzf_open
    - functionName:    bam_index_build
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1101
      functionLinenumberEnd: 1102
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_index_build2
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1102,12'
          Dst:             sam_index_build2
    - functionName:    sam_index_build2
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1089
      functionLinenumberEnd: 1090
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_index_build3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1090,12'
          Dst:             sam_index_build3
    - functionName:    sam_index_build3
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1047
      functionLinenumberEnd: 1086
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          147
      EdgeCount:       27
      CyclomaticComplexity: 6
      functionsReached:
        - cram_index_build
        - hts_close
        - hts_idx_destroy
        - hts_idx_save_as
        - hts_log
        - hts_open
        - hts_set_threads
        - sam_index
      functionUses:    2
      BranchProfiles:
        - Branch String:   'sam.c:1056,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1052,15'
          Dst:             hts_open
        - Src:             'sam.c:1054,9'
          Dst:             hts_set_threads
        - Src:             'sam.c:1059,15'
          Dst:             cram_index_build
        - Src:             'sam.c:1065,13'
          Dst:             hts_log
        - Src:             'sam.c:1070,15'
          Dst:             sam_index
        - Src:             'sam.c:1072,19'
          Dst:             hts_idx_save_as
        - Src:             'sam.c:1074,13'
          Dst:             hts_idx_destroy
        - Src:             'sam.c:1083,5'
          Dst:             hts_close
    - functionName:    sam_index
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1044
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          242
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - bam_destroy1
        - bam_endpos
        - bam_init1
        - hts_adjust_csi_settings
        - hts_idx_destroy
        - hts_idx_finish
        - hts_idx_init
        - hts_idx_push
        - hts_log
        - sam_hdr_destroy
        - sam_hdr_read
        - sam_hdr_tid2len
        - sam_hdr_tid2name
        - sam_read1
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1011,9'
          Dst:             sam_hdr_read
        - Src:             'sam.c:1016,29'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:1020,9'
          Dst:             hts_adjust_csi_settings
        - Src:             'sam.c:1023,11'
          Dst:             hts_idx_init
        - Src:             'sam.c:1024,9'
          Dst:             bam_init1
        - Src:             'sam.c:1025,19'
          Dst:             sam_read1
        - Src:             'sam.c:1026,59'
          Dst:             bam_endpos
        - Src:             'sam.c:1026,15'
          Dst:             hts_idx_push
        - Src:             'sam.c:1028,13'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1028,13'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:1028,13'
          Dst:             hts_log
        - Src:             'sam.c:1034,5'
          Dst:             hts_idx_finish
        - Src:             'sam.c:1035,5'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1036,5'
          Dst:             bam_destroy1
        - Src:             'sam.c:1040,5'
          Dst:             bam_destroy1
        - Src:             'sam.c:1041,5'
          Dst:             hts_idx_destroy
        - Src:             'sam.c:1042,5'
          Dst:             sam_hdr_destroy
    - functionName:    sam_index_build
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1094
      functionLinenumberEnd: 1095
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_index_build3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1095,12'
          Dst:             sam_index_build3
    - functionName:    bam_set_qname
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 973
      functionLinenumberEnd: 999
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          222
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - realloc_bam_data
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:978,22'
          Dst:             strlen
        - Src:             'sam.c:984,9'
          Dst:             realloc_bam_data
    - functionName:    bam_dup1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 499
      functionLinenumberEnd: 508
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          52
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - bam_copy1
        - bam_destroy1
        - bam_init1
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:501,20'
          Dst:             bam_init1
        - Src:             'sam.c:503,9'
          Dst:             bam_copy1
        - Src:             'sam.c:504,9'
          Dst:             bam_destroy1
    - functionName:    sam_parse_region
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 425
      functionLinenumberEnd: 426
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bam_name2id_wrapper
        - hts_parse_region
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:426,12'
          Dst:             hts_parse_region
        - Src:             'sam.c:426,12'
          Dst:             bam_name2id_wrapper
    - functionName:    bam_mods_queryi
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 693
      functionLinenumberEnd: 703
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          100
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_mods_query_type
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 668
      functionLinenumberEnd: 684
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          127
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_mods_recorded
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 655
      functionLinenumberEnd: 657
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_mods_at_qpos
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 635
      functionLinenumberEnd: 642
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          71
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - bam_mods_at_next_pos
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam_mods.c:639,18'
          Dst:             bam_mods_at_next_pos
    - functionName:    bam_mods_at_next_pos
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 463
      functionLinenumberEnd: 556
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         83
      ICount:          747
      EdgeCount:       110
      CyclomaticComplexity: 29
      functionsReached:
        - hts_log
        - hts_str2uint
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam_mods.c:514,17'
          Dst:             hts_log
        - Src:             'sam_mods.c:522,42'
          Dst:             hts_str2uint
        - Src:             'sam_mods.c:527,42'
          Dst:             hts_str2uint
        - Src:             'sam_mods.c:532,13'
          Dst:             hts_log
    - functionName:    hts_str2uint
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          224
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_next_basemod
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 568
      functionLinenumberEnd: 624
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          479
      EdgeCount:       87
      CyclomaticComplexity: 22
      functionsReached:
        - bam_mods_at_next_pos
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam_mods.c:614,21'
          Dst:             hts_log
        - Src:             'sam_mods.c:622,13'
          Dst:             bam_mods_at_next_pos
    - functionName:    bam_parse_basemod
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 449
      functionLinenumberEnd: 450
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bam_parse_basemod2
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam_mods.c:450,12'
          Dst:             bam_parse_basemod2
    - functionName:    bam_parse_basemod2
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 231
      functionLinenumberEnd: 447
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         171
      ICount:          1073
      EdgeCount:       233
      CyclomaticComplexity: 64
      functionsReached:
        - bam_aux2i
        - bam_aux_get
        - hts_log
        - hts_str2uint
        - isalpha_c
        - isdigit_c
        - le_to_u32
        - seq_freq
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam_mods.c:239,19'
          Dst:             bam_aux_get
        - Src:             'sam_mods.c:240,19'
          Dst:             bam_aux_get
        - Src:             'sam_mods.c:244,9'
          Dst:             hts_log
        - Src:             'sam_mods.c:248,19'
          Dst:             bam_aux_get
        - Src:             'sam_mods.c:249,15'
          Dst:             bam_aux2i
        - Src:             'sam_mods.c:253,9'
          Dst:             hts_log
        - Src:             'sam_mods.c:258,19'
          Dst:             bam_aux_get
        - Src:             'sam_mods.c:259,19'
          Dst:             bam_aux_get
        - Src:             'sam_mods.c:261,9'
          Dst:             hts_log
        - Src:             'sam_mods.c:264,35'
          Dst:             le_to_u32
        - Src:             'sam_mods.c:270,9'
          Dst:             seq_freq
        - Src:             'sam_mods.c:298,17'
          Dst:             isdigit_c
        - Src:             'sam_mods.c:299,30'
          Dst:             hts_str2uint
        - Src:             'sam_mods.c:301,21'
          Dst:             hts_log
        - Src:             'sam_mods.c:308,31'
          Dst:             isalpha_c
        - Src:             'sam_mods.c:350,35'
          Dst:             hts_str2uint
        - Src:             'sam_mods.c:352,25'
          Dst:             hts_log
        - Src:             'sam_mods.c:364,35'
          Dst:             hts_str2uint
        - Src:             'sam_mods.c:366,25'
          Dst:             hts_log
        - Src:             'sam_mods.c:385,21'
          Dst:             hts_log
        - Src:             'sam_mods.c:401,21'
          Dst:             hts_log
        - Src:             'sam_mods.c:420,21'
          Dst:             hts_log
        - Src:             'sam_mods.c:433,17'
          Dst:             hts_log
        - Src:             'sam_mods.c:440,9'
          Dst:             hts_log
    - functionName:    le_to_u32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    seq_freq
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 202
      functionLinenumberEnd: 210
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         5
      ICount:          77
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    isdigit_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:171,46'
          Dst:             __ctype_b_loc
    - functionName:    isalpha_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:170,46'
          Dst:             __ctype_b_loc
    - functionName:    hts_base_mod_state_free
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 195
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_base_mod_state_alloc
      functionSourceFile: '/src/htslib/sam_mods.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sam_mods.c:192,12'
          Dst:             calloc
    - functionName:    nibble2base_resolve
      functionSourceFile: '/src/htslib/simd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         4
      ICount:          19
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    nibble2base_ssse3
      functionSourceFile: '/src/htslib/simd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 133
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          351
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - nibble2base_default
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'simd.c:161,5'
          Dst:             nibble2base_default
    - functionName:    nibble2base_default
      functionSourceFile: '/src/htslib/./sam_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    encode_utf8
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 104
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          120
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    isprint_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 174
      functionLinenumberEnd: 174
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:174,46'
          Dst:             __ctype_b_loc
    - functionName:    hts_strprint
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 454
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          291
      EdgeCount:       54
      CyclomaticComplexity: 12
      functionsReached:
        - isprint_c
        - snprintf
        - strcpy
      functionUses:    7
      BranchProfiles:
        - Branch String:   'textutils.c:464,9'
          Branch Sides:    []
      Callsites:
        - Src:             'textutils.c:473,25'
          Dst:             isprint_c
        - Src:             'textutils.c:480,13'
          Dst:             strcpy
        - Src:             'textutils.c:485,13'
          Dst:             snprintf
    - functionName:    stringify_argv
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 419
      functionLinenumberEnd: 448
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          171
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:427,19'
          Dst:             strlen
    - functionName:    fnext
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 398
      functionLinenumberEnd: 399
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_json_fnext
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:399,12'
          Dst:             hts_json_fnext
    - functionName:    hts_json_fnext
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 333
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          177
      EdgeCount:       35
      CyclomaticComplexity: 5
      functionsReached:
        - fscan_string
        - hgetc
        - hpeek
        - kputc
        - kputsn
        - strchr
        - token_type
      functionUses:    19
      BranchProfiles:
        - Branch String:   'textutils.c:298,14'
          Branch Sides:    []
      Callsites:
        - Src:             'textutils.c:298,26'
          Dst:             hgetc
        - Src:             'textutils.c:318,9'
          Dst:             fscan_string
        - Src:             'textutils.c:319,27'
          Dst:             kputsn
        - Src:             'textutils.c:325,9'
          Dst:             kputc
        - Src:             'textutils.c:326,16'
          Dst:             hpeek
        - Src:             'textutils.c:326,45'
          Dst:             strchr
        - Src:             'textutils.c:327,22'
          Dst:             hgetc
        - Src:             'textutils.c:328,13'
          Dst:             kputc
        - Src:             'textutils.c:331,30'
          Dst:             token_type
    - functionName:    hgetc
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 164
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hgetc2
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:167,68'
          Dst:             hgetc2
    - functionName:    fscan_string
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 200
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          281
      EdgeCount:       46
      CyclomaticComplexity: 10
      functionsReached:
        - dehex
        - encode_utf8
        - hgetc
        - kputc
        - kputsn
      functionUses:    1
      BranchProfiles:
        - Branch String:   'textutils.c:169,36'
          Branch Sides:    []
        - Branch String:   'textutils.c:172,9'
          Branch Sides:    []
      Callsites:
        - Src:             'textutils.c:169,17'
          Dst:             hgetc
        - Src:             'textutils.c:171,18'
          Dst:             hgetc
        - Src:             'textutils.c:173,24'
          Dst:             kputc
        - Src:             'textutils.c:174,24'
          Dst:             kputc
        - Src:             'textutils.c:175,24'
          Dst:             kputc
        - Src:             'textutils.c:176,24'
          Dst:             kputc
        - Src:             'textutils.c:177,24'
          Dst:             kputc
        - Src:             'textutils.c:178,24'
          Dst:             kputc
        - Src:             'textutils.c:180,22'
          Dst:             hgetc
        - Src:             'textutils.c:180,49'
          Dst:             dehex
        - Src:             'textutils.c:181,22'
          Dst:             hgetc
        - Src:             'textutils.c:181,49'
          Dst:             dehex
        - Src:             'textutils.c:182,22'
          Dst:             hgetc
        - Src:             'textutils.c:182,49'
          Dst:             dehex
        - Src:             'textutils.c:183,22'
          Dst:             hgetc
        - Src:             'textutils.c:183,49'
          Dst:             dehex
        - Src:             'textutils.c:185,29'
          Dst:             encode_utf8
        - Src:             'textutils.c:186,22'
          Dst:             kputsn
        - Src:             'textutils.c:196,14'
          Dst:             kputc
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    token_type
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 203
      functionLinenumberEnd: 220
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          113
      EdgeCount:       39
      CyclomaticComplexity: 21
      functionsReached:
        - strcmp
      functionUses:    2
      BranchProfiles:
        - Branch String:   'textutils.c:206,5'
          Branch Sides:    []
      Callsites:
        - Src:             'textutils.c:208,17'
          Dst:             strcmp
        - Src:             'textutils.c:210,17'
          Dst:             strcmp
        - Src:             'textutils.c:212,17'
          Dst:             strcmp
    - functionName:    dehex
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 43
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          90
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_json_fskip_value
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 404
      functionLinenumberEnd: 408
      functionDepth:   0
      returnType:      char
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fnext
        - skip_value
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:406,16'
          Dst:             skip_value
        - Src:             'textutils.c:406,16'
          Dst:             fnext
    - functionName:    skip_value
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 339
      functionLinenumberEnd: 384
      functionDepth:   0
      returnType:      char
      argCount:        4
      argTypes:
        - char
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          142
      EdgeCount:       30
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'textutils.c:343,5'
          Branch Sides:    []
        - Branch String:   'textutils.c:362,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    snext
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 387
      functionLinenumberEnd: 388
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_json_snext
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:388,12'
          Dst:             hts_json_snext
    - functionName:    hts_json_snext
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 244
      functionLinenumberEnd: 290
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          220
      EdgeCount:       30
      CyclomaticComplexity: 4
      functionsReached:
        - sscan_string
        - strcspn
        - token_type
      functionUses:    1
      BranchProfiles:
        - Branch String:   'textutils.c:255,14'
          Branch Sides:    []
      Callsites:
        - Src:             'textutils.c:277,18'
          Dst:             sscan_string
        - Src:             'textutils.c:282,14'
          Dst:             strcspn
        - Src:             'textutils.c:286,30'
          Dst:             token_type
    - functionName:    sscan_string
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         28
      ICount:          214
      EdgeCount:       30
      CyclomaticComplexity: 4
      functionsReached:
        - dehex
        - encode_utf8
      functionUses:    1
      BranchProfiles:
        - Branch String:   'textutils.c:130,14'
          Branch Sides:    []
        - Branch String:   'textutils.c:132,9'
          Branch Sides:    []
      Callsites:
        - Src:             'textutils.c:141,23'
          Dst:             dehex
        - Src:             'textutils.c:141,50'
          Dst:             dehex
        - Src:             'textutils.c:142,23'
          Dst:             dehex
        - Src:             'textutils.c:142,50'
          Dst:             dehex
        - Src:             'textutils.c:143,21'
          Dst:             encode_utf8
    - functionName:    hts_json_sskip_value
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 393
      functionLinenumberEnd: 394
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - skip_value
        - snext
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:394,12'
          Dst:             skip_value
        - Src:             'textutils.c:394,12'
          Dst:             snext
    - functionName:    hts_json_token_str
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 239
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_json_free_token
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 233
      functionLinenumberEnd: 235
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_json_token_type
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 228
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_json_alloc_token
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 223
      functionLinenumberEnd: 224
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:224,12'
          Dst:             calloc
    - functionName:    debase64
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          113
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_decode_base64
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          176
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - debase64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:85,14'
          Dst:             debase64
        - Src:             'textutils.c:86,25'
          Dst:             debase64
        - Src:             'textutils.c:87,25'
          Dst:             debase64
        - Src:             'textutils.c:88,25'
          Dst:             debase64
    - functionName:    hts_base64_decoded_length
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          13
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_decode_percent
      functionSourceFile: '/src/htslib/textutils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          100
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - dehex
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'textutils.c:51,32'
          Dst:             dehex
        - Src:             'textutils.c:51,59'
          Dst:             dehex
    - functionName:    hts_tpool_add_result
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 96
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          195
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - __assert_fail
        - hts_tpool_process_shutdown
        - pthread_cond_broadcast
        - pthread_cond_signal
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:100,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:106,9'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:110,9'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:115,9'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:116,9'
          Dst:             hts_tpool_process_shutdown
        - Src:             'thread_pool.c:133,5'
          Dst:             __assert_fail
        - Src:             'thread_pool.c:138,9'
          Dst:             pthread_cond_broadcast
        - Src:             'thread_pool.c:142,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_shutdown
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 328
      functionLinenumberEnd: 332
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_tpool_process_shutdown_locked
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:329,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:330,5'
          Dst:             hts_tpool_process_shutdown_locked
        - Src:             'thread_pool.c:331,5'
          Dst:             pthread_mutex_unlock
    - functionName:    pthread_cond_broadcast
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_process_shutdown_locked
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 326
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_cond_broadcast
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:322,5'
          Dst:             pthread_cond_broadcast
        - Src:             'thread_pool.c:323,5'
          Dst:             pthread_cond_broadcast
        - Src:             'thread_pool.c:324,5'
          Dst:             pthread_cond_broadcast
        - Src:             'thread_pool.c:325,5'
          Dst:             pthread_cond_broadcast
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_kill
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1129
      functionLinenumberEnd: 1148
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          98
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - pthread_cond_destroy
        - pthread_kill
        - pthread_mutex_destroy
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:1135,9'
          Dst:             pthread_kill
        - Src:             'thread_pool.c:1137,5'
          Dst:             pthread_mutex_destroy
        - Src:             'thread_pool.c:1139,9'
          Dst:             pthread_cond_destroy
    - functionName:    pthread_kill
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_destroy
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1090
      functionLinenumberEnd: 1122
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          136
      EdgeCount:       30
      CyclomaticComplexity: 6
      functionsReached:
        - pthread_cond_destroy
        - pthread_cond_signal
        - pthread_join
        - pthread_mutex_destroy
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:1096,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:1102,9'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:1104,5'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:1109,9'
          Dst:             pthread_join
        - Src:             'thread_pool.c:1111,5'
          Dst:             pthread_mutex_destroy
        - Src:             'thread_pool.c:1113,9'
          Dst:             pthread_cond_destroy
    - functionName:    hts_tpool_process_qsize
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1082
      functionLinenumberEnd: 1083
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_process_flush
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 942
      functionLinenumberEnd: 999
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         44
      ICount:          265
      EdgeCount:       56
      CyclomaticComplexity: 14
      functionsReached:
        - gettimeofday
        - pthread_cond_signal
        - pthread_cond_timedwait
        - pthread_cond_wait
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:949,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:954,13'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:967,13'
          Dst:             pthread_cond_wait
        - Src:             'thread_pool.c:976,13'
          Dst:             gettimeofday
        - Src:             'thread_pool.c:979,13'
          Dst:             pthread_cond_timedwait
        - Src:             'thread_pool.c:986,13'
          Dst:             gettimeofday
        - Src:             'thread_pool.c:989,13'
          Dst:             pthread_cond_timedwait
        - Src:             'thread_pool.c:995,5'
          Dst:             pthread_mutex_unlock
    - functionName:    gettimeofday
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_cond_timedwait
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_wake_dispatch
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 924
      functionLinenumberEnd: 929
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_cond_signal
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:925,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:927,5'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:928,5'
          Dst:             pthread_mutex_unlock
    - functionName:    wake_next_worker
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 655
      functionLinenumberEnd: 718
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          175
      EdgeCount:       35
      CyclomaticComplexity: 9
      functionsReached:
        - __assert_fail
        - pthread_cond_signal
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:659,9'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:663,5'
          Dst:             __assert_fail
        - Src:             'thread_pool.c:677,5'
          Dst:             __assert_fail
        - Src:             'thread_pool.c:714,9'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:717,9'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_dispatch2
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 843
      functionLinenumberEnd: 844
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_tpool_dispatch3
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:844,12'
          Dst:             hts_tpool_dispatch3
    - functionName:    hts_tpool_dispatch3
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 851
      functionLinenumberEnd: 918
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          302
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - pthread_cond_wait
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - wake_next_worker
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:854,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:860,9'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:861,9'
          Dst:             __errno_location
        - Src:             'thread_pool.c:866,9'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:881,13'
          Dst:             pthread_cond_wait
        - Src:             'thread_pool.c:885,13'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:913,9'
          Dst:             wake_next_worker
        - Src:             'thread_pool.c:915,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_dispatch
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 831
      functionLinenumberEnd: 832
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_tpool_dispatch3
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:832,12'
          Dst:             hts_tpool_dispatch3
    - functionName:    hts_tpool_size
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 820
      functionLinenumberEnd: 821
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tpool_worker
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 519
      functionLinenumberEnd: 653
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         93
      ICount:          548
      EdgeCount:       120
      CyclomaticComplexity: 29
      functionsReached:
        - __assert_fail
        - hts_tpool_add_result
        - hts_tpool_process_destroy
        - hts_tpool_process_shutdown_locked
        - pthread_cond_broadcast
        - pthread_cond_signal
        - pthread_cond_wait
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:524,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:528,9'
          Dst:             __assert_fail
        - Src:             'thread_pool.c:558,13'
          Dst:             pthread_cond_wait
        - Src:             'thread_pool.c:588,13'
          Dst:             __assert_fail
        - Src:             'thread_pool.c:601,17'
          Dst:             pthread_cond_broadcast
        - Src:             'thread_pool.c:604,17'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:608,13'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:613,17'
          Dst:             hts_tpool_add_result
        - Src:             'thread_pool.c:618,13'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:621,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'thread_pool.c:631,5'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:642,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:646,13'
          Dst:             hts_tpool_process_shutdown_locked
        - Src:             'thread_pool.c:651,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_destroy
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 411
      functionLinenumberEnd: 446
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          90
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - hts_tpool_process_detach_locked
        - hts_tpool_process_reset
        - hts_tpool_process_shutdown_locked
        - pthread_cond_destroy
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:421,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:423,5'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:426,5'
          Dst:             hts_tpool_process_reset
        - Src:             'thread_pool.c:427,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:428,5'
          Dst:             hts_tpool_process_detach_locked
        - Src:             'thread_pool.c:429,5'
          Dst:             hts_tpool_process_shutdown_locked
        - Src:             'thread_pool.c:433,9'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:437,5'
          Dst:             pthread_cond_destroy
        - Src:             'thread_pool.c:438,5'
          Dst:             pthread_cond_destroy
        - Src:             'thread_pool.c:439,5'
          Dst:             pthread_cond_destroy
        - Src:             'thread_pool.c:440,5'
          Dst:             pthread_cond_destroy
        - Src:             'thread_pool.c:441,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_reset
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1014
      functionLinenumberEnd: 1079
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          240
      EdgeCount:       34
      CyclomaticComplexity: 9
      functionsReached:
        - hts_tpool_delete_result
        - hts_tpool_process_flush
        - pthread_cond_signal
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:1018,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:1031,5'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:1047,9'
          Dst:             hts_tpool_delete_result
        - Src:             'thread_pool.c:1053,9'
          Dst:             hts_tpool_process_flush
        - Src:             'thread_pool.c:1057,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:1064,5'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:1065,5'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:1075,9'
          Dst:             hts_tpool_delete_result
    - functionName:    hts_tpool_process_detach_locked
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 474
      functionLinenumberEnd: 494
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          112
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_delete_result
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 345
      functionLinenumberEnd: 353
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          50
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    hts_tpool_init
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 726
      functionLinenumberEnd: 815
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         33
      ICount:          288
      EdgeCount:       44
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - hts_log
        - hts_malloc_p
        - pthread_attr_destroy
        - pthread_attr_getstacksize
        - pthread_attr_init
        - pthread_attr_setstacksize
        - pthread_cond_destroy
        - pthread_cond_init
        - pthread_create
        - pthread_join
        - pthread_mutex_destroy
        - pthread_mutex_init
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - pthread_mutexattr_destroy
        - pthread_mutexattr_init
        - pthread_mutexattr_settype
        - strerror
        - tpool_worker
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:742,12'
          Dst:             hts_malloc_p
        - Src:             'thread_pool.c:747,18'
          Dst:             hts_malloc_p
        - Src:             'thread_pool.c:756,5'
          Dst:             pthread_mutexattr_init
        - Src:             'thread_pool.c:757,5'
          Dst:             pthread_mutexattr_settype
        - Src:             'thread_pool.c:758,5'
          Dst:             pthread_mutex_init
        - Src:             'thread_pool.c:759,5'
          Dst:             pthread_mutexattr_destroy
        - Src:             'thread_pool.c:761,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:767,9'
          Dst:             pthread_attr_init
        - Src:             'thread_pool.c:770,9'
          Dst:             pthread_attr_getstacksize
        - Src:             'thread_pool.c:773,13'
          Dst:             pthread_attr_setstacksize
        - Src:             'thread_pool.c:782,9'
          Dst:             pthread_cond_init
        - Src:             'thread_pool.c:783,18'
          Dst:             pthread_create
        - Src:             'thread_pool.c:783,18'
          Dst:             tpool_worker
        - Src:             'thread_pool.c:787,5'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:788,5'
          Dst:             pthread_attr_destroy
        - Src:             'thread_pool.c:797,26'
          Dst:             __errno_location
        - Src:             'thread_pool.c:798,9'
          Dst:             __errno_location
        - Src:             'thread_pool.c:798,9'
          Dst:             strerror
        - Src:             'thread_pool.c:798,9'
          Dst:             hts_log
        - Src:             'thread_pool.c:801,9'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:803,13'
          Dst:             pthread_join
        - Src:             'thread_pool.c:804,13'
          Dst:             pthread_cond_destroy
        - Src:             'thread_pool.c:806,9'
          Dst:             pthread_mutex_destroy
        - Src:             'thread_pool.c:808,13'
          Dst:             pthread_attr_destroy
        - Src:             'thread_pool.c:812,9'
          Dst:             __errno_location
    - functionName:    pthread_mutexattr_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_mutexattr_settype
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_mutexattr_destroy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_attr_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_attr_getstacksize
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_attr_setstacksize
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_attr_destroy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_process_detach
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 496
      functionLinenumberEnd: 500
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_tpool_process_detach_locked
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:497,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:498,5'
          Dst:             hts_tpool_process_detach_locked
        - Src:             'thread_pool.c:499,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_attach
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 457
      functionLinenumberEnd: 471
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          111
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - __assert_fail
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:458,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:469,5'
          Dst:             __assert_fail
        - Src:             'thread_pool.c:470,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_init
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 373
      functionLinenumberEnd: 406
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          108
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hts_tpool_process_attach
        - pthread_cond_init
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:378,5'
          Dst:             pthread_cond_init
        - Src:             'thread_pool.c:379,5'
          Dst:             pthread_cond_init
        - Src:             'thread_pool.c:380,5'
          Dst:             pthread_cond_init
        - Src:             'thread_pool.c:381,5'
          Dst:             pthread_cond_init
        - Src:             'thread_pool.c:403,5'
          Dst:             hts_tpool_process_attach
    - functionName:    hts_tpool_result_data
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 359
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_tpool_process_is_shutdown
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 334
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:335,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:337,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_sz
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 304
      functionLinenumberEnd: 311
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          37
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:307,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:309,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_len
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 297
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:293,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:295,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_ref_decr
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 275
      functionLinenumberEnd: 285
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hts_tpool_process_destroy
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:276,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:278,9'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:279,9'
          Dst:             hts_tpool_process_destroy
        - Src:             'thread_pool.c:284,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_ref_incr
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 273
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:270,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:272,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_process_empty
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 259
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          57
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:262,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:264,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_next_result_wait
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 225
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          106
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - gettimeofday
        - hts_tpool_next_result_locked
        - hts_tpool_process_destroy
        - pthread_cond_timedwait
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:228,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:229,18'
          Dst:             hts_tpool_next_result_locked
        - Src:             'thread_pool.c:234,9'
          Dst:             gettimeofday
        - Src:             'thread_pool.c:241,13'
          Dst:             pthread_mutex_unlock
        - Src:             'thread_pool.c:243,17'
          Dst:             hts_tpool_process_destroy
        - Src:             'thread_pool.c:246,9'
          Dst:             pthread_cond_timedwait
        - Src:             'thread_pool.c:250,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_next_result_locked
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 189
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         36
      ICount:          206
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - pthread_cond_signal
        - wake_next_worker
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:182,17'
          Dst:             pthread_cond_signal
        - Src:             'thread_pool.c:184,17'
          Dst:             wake_next_worker
    - functionName:    hts_tpool_next_result
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 201
      functionLinenumberEnd: 212
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 2
      functionsReached:
        - hts_tpool_next_result_locked
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:206,5'
          Dst:             pthread_mutex_lock
        - Src:             'thread_pool.c:207,9'
          Dst:             hts_tpool_next_result_locked
        - Src:             'thread_pool.c:208,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_tpool_worker_id
      functionSourceFile: '/src/htslib/thread_pool.c'
      linkageType:     InternalLinkage
      functionLinenumber: 57
      functionLinenumberEnd: 67
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          68
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - pthread_equal
        - pthread_self
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'thread_pool.c:60,19'
          Dst:             pthread_self
        - Src:             'thread_pool.c:63,13'
          Dst:             pthread_equal
    - functionName:    pthread_self
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_equal
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    svlen_on_ref_for_vcf_alt
      functionSourceFile: '/src/htslib/./hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 182
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          136
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - memcmp
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_internal.h:186,38'
          Dst:             strlen
        - Src:             './hts_internal.h:191,9'
          Dst:             memcmp
        - Src:             './hts_internal.h:192,12'
          Dst:             memcmp
        - Src:             './hts_internal.h:193,12'
          Dst:             memcmp
        - Src:             './hts_internal.h:194,12'
          Dst:             memcmp
    - functionName:    toupper_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 180
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - toupper
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:180,47'
          Dst:             toupper
    - functionName:    bcf_set_variant_type
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5487
      functionLinenumberEnd: 5555
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         109
      ICount:          708
      EdgeCount:       150
      CyclomaticComplexity: 43
      functionsReached:
        - strcmp
        - toupper_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5501,15'
          Dst:             strcmp
        - Src:             'vcf.c:5514,24'
          Dst:             toupper_c
        - Src:             'vcf.c:5514,39'
          Dst:             toupper_c
        - Src:             'vcf.c:5536,29'
          Dst:             toupper_c
        - Src:             'vcf.c:5536,45'
          Dst:             toupper_c
        - Src:             'vcf.c:5541,14'
          Dst:             toupper_c
        - Src:             'vcf.c:5541,30'
          Dst:             toupper_c
        - Src:             'vcf.c:5547,14'
          Dst:             toupper_c
        - Src:             'vcf.c:5547,30'
          Dst:             toupper_c
    - functionName:    kh_destroy_str2int
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 30
      functionLinenumberEnd: 30
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_str2int
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 30
      functionLinenumberEnd: 30
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             __errno_location
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             realloc
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             realloc
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             realloc
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_put_str2int
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 30
      functionLinenumberEnd: 30
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_str2int
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             kh_resize_str2int
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             kh_resize_str2int
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             strcmp
    - functionName:    kh_get_str2int
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 30
      functionLinenumberEnd: 30
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             strcmp
    - functionName:    kh_init_str2int
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 30
      functionLinenumberEnd: 30
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:30,1'
          Dst:             calloc
    - functionName:    bcf_hdr_name2id
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1221
      functionLinenumberEnd: 1221
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_hdr_id2int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1221,86'
          Dst:             bcf_hdr_id2int
    - functionName:    bcf_hdr_id2int
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4709
      functionLinenumberEnd: 4713
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          54
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_get_vdict
      functionUses:    18
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4712,9'
          Dst:             kh_get_vdict
    - functionName:    kh_get_vdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    19
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:75,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'vcf.c:75,1'
          Dst:             strcmp
    - functionName:    bcf_hdr_id2name
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1223
      functionLinenumberEnd: 1226
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    le_to_u64
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 160
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    le_to_i64
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 262
      functionLinenumberEnd: 265
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u64
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:263,18'
          Dst:             le_to_u64
    - functionName:    isdigit_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:171,46'
          Dst:             __ctype_b_loc
    - functionName:    align_mem
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3202
      functionLinenumberEnd: 3208
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kputsn
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3206,13'
          Dst:             kputsn
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    18
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    21
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    vcf_parse_format_check7
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3743
      functionLinenumberEnd: 3762
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          92
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_seqname_safe
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3746,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3746,9'
          Dst:             hts_log
        - Src:             'vcf.c:3753,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3753,9'
          Dst:             hts_log
    - functionName:    bcf_seqname_safe
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1238
      functionLinenumberEnd: 1240
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_seqname
      functionUses:    58
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1239,28'
          Dst:             bcf_seqname
    - functionName:    bcf_seqname
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1227
      functionLinenumberEnd: 1228
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_hdr_id2name
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1228,16'
          Dst:             bcf_hdr_id2name
    - functionName:    vcf_parse_format_gt6
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3699
      functionLinenumberEnd: 3740
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          324
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - bcf_enc_int1
        - bcf_enc_size
        - bcf_enc_vint
        - bcf_seqname_safe
        - hts_log
        - kputsn
        - serialize_float_array
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3709,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:3711,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3712,17'
          Dst:             kputsn
        - Src:             'vcf.c:3714,17'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:3716,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3717,21'
          Dst:             serialize_float_array
        - Src:             'vcf.c:3720,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3720,21'
          Dst:             hts_log
    - functionName:    bcf_enc_int1
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1634
      functionLinenumberEnd: 1664
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          157
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - i16_to_le
        - i32_to_le
        - ks_resize
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1635,9'
          Dst:             ks_resize
        - Src:             './htslib/vcf.h:1655,9'
          Dst:             i16_to_le
        - Src:             './htslib/vcf.h:1659,9'
          Dst:             i32_to_le
    - functionName:    bcf_enc_size
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1592
      functionLinenumberEnd: 1624
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          158
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - i16_to_le
        - i32_to_le
        - ks_resize
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1595,13'
          Dst:             ks_resize
        - Src:             './htslib/vcf.h:1603,9'
          Dst:             ks_resize
        - Src:             './htslib/vcf.h:1615,13'
          Dst:             i16_to_le
        - Src:             './htslib/vcf.h:1619,13'
          Dst:             i32_to_le
    - functionName:    bcf_enc_vint
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2912
      functionLinenumberEnd: 2999
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         130
      ICount:          862
      EdgeCount:       173
      CyclomaticComplexity: 45
      functionsReached:
        - bcf_enc_int1
        - bcf_enc_size
        - i16_to_le
        - i32_to_le
        - ks_resize
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2916,16'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2918,16'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:2958,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2959,17'
          Dst:             ks_resize
        - Src:             'vcf.c:2970,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2971,17'
          Dst:             ks_resize
        - Src:             'vcf.c:2980,17'
          Dst:             i16_to_le
        - Src:             'vcf.c:2986,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2987,17'
          Dst:             ks_resize
        - Src:             'vcf.c:2991,17'
          Dst:             i32_to_le
    - functionName:    serialize_float_array
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3021
      functionLinenumberEnd: 3037
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          94
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - float_to_le
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3027,9'
          Dst:             ks_resize
        - Src:             'vcf.c:3031,9'
          Dst:             float_to_le
    - functionName:    float_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 338
      functionLinenumberEnd: 346
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - u32_to_le
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:345,5'
          Dst:             u32_to_le
    - functionName:    u32_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    i16_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 276
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - short
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - u16_to_le
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:275,5'
          Dst:             u16_to_le
    - functionName:    i32_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 282
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - u32_to_le
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:283,5'
          Dst:             u32_to_le
    - functionName:    u16_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 184
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - short
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    vcf_parse_format_fill5
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3455
      functionLinenumberEnd: 3695
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         216
      ICount:          1447
      EdgeCount:       285
      CyclomaticComplexity: 71
      functionsReached:
        - bcf_float_set
        - bcf_get_version
        - bcf_seqname
        - bcf_seqname_safe
        - hts_log
        - hts_str2dbl
        - hts_str2int
        - hts_str2uint
        - hts_strprint
        - isdigit_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3464,15'
          Dst:             bcf_get_version
        - Src:             'vcf.c:3487,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3487,17'
          Dst:             hts_log
        - Src:             'vcf.c:3535,39'
          Dst:             hts_str2uint
        - Src:             'vcf.c:3560,25'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3560,25'
          Dst:             hts_log
        - Src:             'vcf.c:3564,25'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3564,25'
          Dst:             hts_log
        - Src:             'vcf.c:3590,44'
          Dst:             hts_str2int
        - Src:             'vcf.c:3595,33'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3595,33'
          Dst:             hts_log
        - Src:             'vcf.c:3616,39'
          Dst:             isdigit_c
        - Src:             'vcf.c:3617,25'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3621,41'
          Dst:             hts_str2dbl
        - Src:             'vcf.c:3624,29'
          Dst:             bcf_seqname
        - Src:             'vcf.c:3624,29'
          Dst:             hts_log
        - Src:             'vcf.c:3634,21'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3636,21'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3638,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3638,17'
          Dst:             hts_log
        - Src:             'vcf.c:3651,17'
          Dst:             hts_strprint
        - Src:             'vcf.c:3651,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3651,17'
          Dst:             hts_log
        - Src:             'vcf.c:3686,17'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3687,50'
          Dst:             bcf_float_set
    - functionName:    bcf_get_version
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 193
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         50
      ICount:          247
      EdgeCount:       67
      CyclomaticComplexity: 19
      functionsReached:
        - __errno_location
        - bcf_hdr_get_version
        - get_hdr_aux
        - hts_log
        - strchr
        - strstr
        - strtol
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:159,20'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:163,19'
          Dst:             bcf_hdr_get_version
        - Src:             'vcf.c:168,19'
          Dst:             strstr
        - Src:             'vcf.c:172,19'
          Dst:             strchr
        - Src:             'vcf.c:175,11'
          Dst:             strtol
        - Src:             'vcf.c:176,18'
          Dst:             __errno_location
        - Src:             'vcf.c:177,50'
          Dst:             __errno_location
        - Src:             'vcf.c:181,11'
          Dst:             strtol
        - Src:             'vcf.c:182,18'
          Dst:             __errno_location
        - Src:             'vcf.c:183,50'
          Dst:             __errno_location
        - Src:             'vcf.c:190,5'
          Dst:             hts_log
    - functionName:    hts_str2uint
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          224
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_str2int
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 219
      functionLinenumberEnd: 275
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          290
      EdgeCount:       59
      CyclomaticComplexity: 14
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   './textutils_internal.h:227,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    bcf_float_set
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1550
      functionLinenumberEnd: 1554
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_str2dbl
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 354
      functionLinenumberEnd: 419
      functionDepth:   0
      returnType:      double
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         75
      ICount:          425
      EdgeCount:       95
      CyclomaticComplexity: 22
      functionsReached:
        - __ctype_b_loc
        - strtod
      functionUses:    2
      BranchProfiles:
        - Branch String:   './textutils_internal.h:375,5'
          Branch Sides:    []
      Callsites:
        - Src:             './textutils_internal.h:365,12'
          Dst:             __ctype_b_loc
        - Src:             './textutils_internal.h:386,13'
          Dst:             strtod
        - Src:             './textutils_internal.h:409,13'
          Dst:             strtod
    - functionName:    get_hdr_aux
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 127
      functionLinenumberEnd: 128
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bcf_hdr_get_version
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1660
      functionLinenumberEnd: 1668
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_hdr_get_hrec
        - hts_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1661,24'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:1664,9'
          Dst:             hts_log
    - functionName:    bcf_hdr_get_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1273
      functionLinenumberEnd: 1326
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          384
      EdgeCount:       66
      CyclomaticComplexity: 20
      functionsReached:
        - bcf_hrec_find_key
        - get_hdr_aux
        - kh_get_hdict
        - kh_get_vdict
        - ksprintf
        - strcmp
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1283,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1284,34'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1285,25'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1293,18'
          Dst:             strcmp
        - Src:             'vcf.c:1303,15'
          Dst:             strcmp
        - Src:             'vcf.c:1306,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1307,34'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1308,25'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1316,18'
          Dst:             strcmp
        - Src:             'vcf.c:1317,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1318,27'
          Dst:             strcmp
        - Src:             'vcf.c:1323,17'
          Dst:             kh_get_vdict
    - functionName:    kh_get_hdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'vcf.c:80,1'
          Dst:             strcmp
    - functionName:    bcf_hrec_find_key
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 521
      functionLinenumberEnd: 526
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - strcasecmp
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:524,15'
          Dst:             strcasecmp
    - functionName:    vcf_parse_format_alloc4
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3378
      functionLinenumberEnd: 3451
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          467
      EdgeCount:       71
      CyclomaticComplexity: 19
      functionsReached:
        - align_mem
        - bcf_seqname_safe
        - hts_log
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3391,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3391,13'
          Dst:             hts_log
        - Src:             'vcf.c:3396,13'
          Dst:             align_mem
        - Src:             'vcf.c:3397,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3397,13'
          Dst:             hts_log
        - Src:             'vcf.c:3407,28'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3407,28'
          Dst:             hts_log
        - Src:             'vcf.c:3416,13'
          Dst:             ks_resize
        - Src:             'vcf.c:3417,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3417,13'
          Dst:             hts_log
        - Src:             'vcf.c:3442,28'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3442,28'
          Dst:             hts_log
    - functionName:    vcf_parse_format_max3
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3290
      functionLinenumberEnd: 3373
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          422
      EdgeCount:       77
      CyclomaticComplexity: 17
      functionsReached:
        - hts_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'vcf.c:3331,13'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:3355,25'
          Dst:             hts_log
    - functionName:    vcf_parse_format_dict2
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3236
      functionLinenumberEnd: 3286
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          409
      EdgeCount:       57
      CyclomaticComplexity: 16
      functionsReached:
        - bcf_hdr_add_hrec
        - bcf_hdr_parse_line
        - bcf_hdr_sync
        - bcf_hrec_destroy
        - bcf_seqname_safe
        - hts_log
        - kh_get_vdict
        - ksprintf
        - kstrtok
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3242,21'
          Dst:             kstrtok
        - Src:             'vcf.c:3245,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3245,13'
          Dst:             hts_log
        - Src:             'vcf.c:3251,21'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3255,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3255,17'
          Dst:             hts_log
        - Src:             'vcf.c:3259,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3259,13'
          Dst:             hts_log
        - Src:             'vcf.c:3261,17'
          Dst:             hts_log
        - Src:             'vcf.c:3264,13'
          Dst:             ksprintf
        - Src:             'vcf.c:3265,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3267,30'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3268,26'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3269,32'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3271,17'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3274,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3274,17'
          Dst:             hts_log
        - Src:             'vcf.c:3242,52'
          Dst:             kstrtok
    - functionName:    bcf_hdr_parse_line
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 656
      functionLinenumberEnd: 800
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         171
      ICount:          1032
      EdgeCount:       230
      CyclomaticComplexity: 61
      functionsReached:
        - bcf_hrec_add_key
        - bcf_hrec_destroy
        - bcf_hrec_set_val
        - calloc
        - hts_log
        - hts_malloc_p
        - hts_malloc_ps
        - hts_strprint
        - is_escaped
        - isalnum_c
        - isalpha_c
        - isspace_c
      functionUses:    10
      BranchProfiles:
        - Branch String:   'vcf.c:720,9'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:672,26'
          Dst:             calloc
        - Src:             'vcf.c:674,17'
          Dst:             hts_malloc_ps
        - Src:             'vcf.c:684,23'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:701,28'
          Dst:             isalpha_c
        - Src:             'vcf.c:704,28'
          Dst:             isalnum_c
        - Src:             'vcf.c:714,13'
          Dst:             bcf_hrec_add_key
        - Src:             'vcf.c:734,49'
          Dst:             is_escaped
        - Src:             'vcf.c:756,13'
          Dst:             bcf_hrec_set_val
        - Src:             'vcf.c:773,45'
          Dst:             isspace_c
        - Src:             'vcf.c:776,9'
          Dst:             hts_strprint
        - Src:             'vcf.c:776,9'
          Dst:             hts_log
        - Src:             'vcf.c:786,5'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:793,9'
          Dst:             hts_strprint
        - Src:             'vcf.c:793,9'
          Dst:             hts_log
        - Src:             'vcf.c:797,9'
          Dst:             bcf_hrec_destroy
    - functionName:    bcf_hdr_add_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1188
      functionLinenumberEnd: 1270
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          310
      EdgeCount:       50
      CyclomaticComplexity: 16
      functionsReached:
        - bcf_get_version
        - bcf_hdr_register_hrec
        - bcf_hdr_unregister_hrec
        - bcf_hrec_check
        - bcf_hrec_destroy
        - bcf_hrec_find_key
        - get_hdr_aux
        - hts_realloc_p
        - kh_get_hdict
        - kh_put_hdict
        - ksprintf
        - strcmp
      functionUses:    16
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1190,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1195,5'
          Dst:             bcf_hrec_check
        - Src:             'vcf.c:1197,11'
          Dst:             bcf_hdr_register_hrec
        - Src:             'vcf.c:1204,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1208,14'
          Dst:             ksprintf
        - Src:             'vcf.c:1213,21'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1217,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1221,14'
          Dst:             strcmp
        - Src:             'vcf.c:1222,28'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1227,39'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1229,14'
          Dst:             ksprintf
        - Src:             'vcf.c:1234,21'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1238,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1246,29'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:1249,9'
          Dst:             bcf_hdr_unregister_hrec
        - Src:             'vcf.c:1256,21'
          Dst:             kh_put_hdict
    - functionName:    bcf_hrec_destroy
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 353
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          89
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    19
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bcf_hdr_sync
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 318
      functionLinenumberEnd: 350
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          218
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - get_hdr_aux
        - hts_realloc_p
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:328,26'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:342,26'
          Dst:             get_hdr_aux
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    bcf_hrec_check
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 598
      functionLinenumberEnd: 646
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         63
      ICount:          356
      EdgeCount:       87
      CyclomaticComplexity: 26
      functionsReached:
        - bcf_hrec_find_key
        - bcf_hrec_set_type
        - hts_log
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:600,5'
          Dst:             bcf_hrec_set_type
        - Src:             'vcf.c:604,13'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:614,13'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:617,15'
          Dst:             strcmp
        - Src:             'vcf.c:625,13'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:636,5'
          Dst:             hts_log
        - Src:             'vcf.c:640,5'
          Dst:             hts_log
        - Src:             'vcf.c:644,5'
          Dst:             hts_log
    - functionName:    bcf_hdr_register_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1059
      functionLinenumberEnd: 1077
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          60
      EdgeCount:       21
      CyclomaticComplexity: 12
      functionsReached:
        - bcf_hdr_register_hrec_ctg
        - bcf_hdr_register_hrec_info
        - bcf_hrec_set_type
      functionUses:    1
      BranchProfiles:
        - Branch String:   'vcf.c:1062,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:1060,5'
          Dst:             bcf_hrec_set_type
        - Src:             'vcf.c:1064,16'
          Dst:             bcf_hdr_register_hrec_ctg
        - Src:             'vcf.c:1069,16'
          Dst:             bcf_hdr_register_hrec_info
    - functionName:    bcf_hdr_unregister_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1080
      functionLinenumberEnd: 1095
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          162
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - bcf_hrec_find_key
        - kh_get_vdict
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1085,18'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1091,21'
          Dst:             kh_get_vdict
    - functionName:    kh_put_hdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_hdict
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:80,1'
          Dst:             kh_resize_hdict
        - Src:             'vcf.c:80,1'
          Dst:             kh_resize_hdict
        - Src:             'vcf.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'vcf.c:80,1'
          Dst:             strcmp
    - functionName:    kh_resize_hdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:80,1'
          Dst:             __errno_location
        - Src:             'vcf.c:80,1'
          Dst:             realloc
        - Src:             'vcf.c:80,1'
          Dst:             realloc
        - Src:             'vcf.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'vcf.c:80,1'
          Dst:             realloc
        - Src:             'vcf.c:80,1'
          Dst:             realloc
    - functionName:    bcf_hrec_set_type
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 529
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          93
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:530,11'
          Dst:             strcmp
        - Src:             'vcf.c:531,16'
          Dst:             strcmp
        - Src:             'vcf.c:532,16'
          Dst:             strcmp
        - Src:             'vcf.c:533,16'
          Dst:             strcmp
    - functionName:    bcf_hdr_register_hrec_ctg
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 838
      functionLinenumberEnd: 913
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         47
      ICount:          367
      EdgeCount:       64
      CyclomaticComplexity: 19
      functionsReached:
        - bcf_hdr_set_idx
        - bcf_hrec_find_key
        - hrec_add_idx
        - hts_log
        - kh_del_vdict
        - kh_get_vdict
        - kh_put_vdict
        - strdup
        - strtol
        - strtoll
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:844,16'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:847,17'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:852,15'
          Dst:             strtoll
        - Src:             'vcf.c:854,13'
          Dst:             hts_log
        - Src:             'vcf.c:863,15'
          Dst:             strdup
        - Src:             'vcf.c:868,17'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:875,13'
          Dst:             kh_put_vdict
        - Src:             'vcf.c:879,15'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:883,15'
          Dst:             strtol
        - Src:             'vcf.c:887,17'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:890,13'
          Dst:             hts_log
        - Src:             'vcf.c:899,9'
          Dst:             bcf_hdr_set_idx
        - Src:             'vcf.c:901,13'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:907,13'
          Dst:             hrec_add_idx
    - functionName:    bcf_hdr_register_hrec_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 918
      functionLinenumberEnd: 1055
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         146
      ICount:          974
      EdgeCount:       198
      CyclomaticComplexity: 54
      functionsReached:
        - __isoc99_sscanf
        - bcf_hdr_set_idx
        - hrec_add_idx
        - hts_log
        - kh_del_vdict
        - kh_get_vdict
        - kh_put_vdict
        - strcmp
        - strdup
        - strtol
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:928,15'
          Dst:             strcmp
        - Src:             'vcf.c:929,20'
          Dst:             strcmp
        - Src:             'vcf.c:932,19'
          Dst:             strtol
        - Src:             'vcf.c:935,17'
          Dst:             hts_log
        - Src:             'vcf.c:939,20'
          Dst:             strcmp
        - Src:             'vcf.c:941,19'
          Dst:             strcmp
        - Src:             'vcf.c:942,24'
          Dst:             strcmp
        - Src:             'vcf.c:943,24'
          Dst:             strcmp
        - Src:             'vcf.c:944,24'
          Dst:             strcmp
        - Src:             'vcf.c:945,24'
          Dst:             strcmp
        - Src:             'vcf.c:948,17'
          Dst:             hts_log
        - Src:             'vcf.c:952,20'
          Dst:             strcmp
        - Src:             'vcf.c:955,19'
          Dst:             strcmp
        - Src:             'vcf.c:956,24'
          Dst:             strcmp
        - Src:             'vcf.c:957,24'
          Dst:             strcmp
        - Src:             'vcf.c:958,24'
          Dst:             strcmp
        - Src:             'vcf.c:959,34'
          Dst:             strcmp
        - Src:             'vcf.c:960,34'
          Dst:             strcmp
        - Src:             'vcf.c:961,34'
          Dst:             strcmp
        - Src:             'vcf.c:962,34'
          Dst:             strcmp
        - Src:             'vcf.c:963,34'
          Dst:             strcmp
        - Src:             'vcf.c:966,21'
          Dst:             __isoc99_sscanf
        - Src:             'vcf.c:974,13'
          Dst:             hts_log
        - Src:             'vcf.c:979,13'
          Dst:             hts_log
        - Src:             'vcf.c:985,13'
          Dst:             hts_log
        - Src:             'vcf.c:996,15'
          Dst:             strdup
        - Src:             'vcf.c:1000,9'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:1004,23'
          Dst:             strcmp
        - Src:             'vcf.c:1015,34'
          Dst:             hrec_add_idx
        - Src:             'vcf.c:1028,17'
          Dst:             hrec_add_idx
        - Src:             'vcf.c:1034,9'
          Dst:             kh_put_vdict
        - Src:             'vcf.c:1043,9'
          Dst:             bcf_hdr_set_idx
        - Src:             'vcf.c:1044,9'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:1049,13'
          Dst:             hrec_add_idx
    - functionName:    __isoc99_sscanf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hrec_add_idx
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 497
      functionLinenumberEnd: 518
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          130
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - hts_realloc_p
        - kputw
        - strdup
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:499,18'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:503,11'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:507,31'
          Dst:             strdup
        - Src:             'vcf.c:511,9'
          Dst:             kputw
    - functionName:    kh_put_vdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_vdict
        - strcmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:75,1'
          Dst:             kh_resize_vdict
        - Src:             'vcf.c:75,1'
          Dst:             kh_resize_vdict
        - Src:             'vcf.c:75,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'vcf.c:75,1'
          Dst:             strcmp
    - functionName:    bcf_hdr_set_idx
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 803
      functionLinenumberEnd: 834
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          200
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - hts_log
        - hts_resize_array_
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:811,9'
          Dst:             hts_log
        - Src:             'vcf.c:813,9'
          Dst:             __errno_location
        - Src:             'vcf.c:823,9'
          Dst:             hts_resize_array_
    - functionName:    kh_del_vdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_vdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          581
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:75,1'
          Dst:             __errno_location
        - Src:             'vcf.c:75,1'
          Dst:             realloc
        - Src:             'vcf.c:75,1'
          Dst:             realloc
        - Src:             'vcf.c:75,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'vcf.c:75,1'
          Dst:             realloc
        - Src:             'vcf.c:75,1'
          Dst:             realloc
    - functionName:    kputw
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 372
      functionLinenumberEnd: 382
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - kputuw
        - ks_resize
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:376,13'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:381,12'
          Dst:             kputuw
    - functionName:    kputuw
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 287
      functionLinenumberEnd: 369
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          169
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - ks_resize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:320,13'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:350,9'
          Dst:             ks_resize
    - functionName:    hts_malloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:146,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:147,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:148,12'
          Dst:             hts_malloc
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    isalpha_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:170,46'
          Dst:             __ctype_b_loc
    - functionName:    isalnum_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:169,46'
          Dst:             __ctype_b_loc
    - functionName:    bcf_hrec_add_key
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 442
      functionLinenumberEnd: 460
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          152
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - __assert_fail
        - hts_malloc_ps
        - hts_realloc_p
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:445,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:446,11'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:449,11'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:453,31'
          Dst:             hts_malloc_ps
    - functionName:    is_escaped
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 649
      functionLinenumberEnd: 652
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          44
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bcf_hrec_set_val
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 463
      functionLinenumberEnd: 494
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          207
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - hts_malloc_ps
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:472,13'
          Dst:             __errno_location
        - Src:             'vcf.c:475,25'
          Dst:             hts_malloc_ps
        - Src:             'vcf.c:485,13'
          Dst:             __errno_location
        - Src:             'vcf.c:488,25'
          Dst:             hts_malloc_ps
    - functionName:    isspace_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:176,46'
          Dst:             __ctype_b_loc
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    vcf_parse_format_empty1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3215
      functionLinenumberEnd: 3232
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          103
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - bcf_seqname_safe
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3219,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3219,9'
          Dst:             hts_log
    - functionName:    kputsn_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:279,23'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:280,6'
          Dst:             ks_resize
    - functionName:    bcf1_sync_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2386
      functionLinenumberEnd: 2406
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          196
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - kputsn_
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2398,14'
          Dst:             kputsn_
    - functionName:    bcf1_sync_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2376
      functionLinenumberEnd: 2383
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_enc_vint
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2379,16'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:2381,16'
          Dst:             bcf_enc_vint
    - functionName:    bcf1_sync_alleles
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2365
      functionLinenumberEnd: 2374
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          105
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - bcf_enc_vchar
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2369,32'
          Dst:             strlen
        - Src:             'vcf.c:2369,13'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:2372,55'
          Dst:             strlen
    - functionName:    bcf_enc_vchar
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3048
      functionLinenumberEnd: 3051
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_enc_size
        - kputsn
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3049,5'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3050,5'
          Dst:             kputsn
    - functionName:    bcf1_sync_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2356
      functionLinenumberEnd: 2363
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          60
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_enc_size
        - bcf_enc_vchar
        - strcmp
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2358,24'
          Dst:             strcmp
        - Src:             'vcf.c:2359,35'
          Dst:             strlen
        - Src:             'vcf.c:2359,16'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:2361,16'
          Dst:             bcf_enc_size
    - functionName:    updatephasing
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2051
      functionLinenumberEnd: 2094
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          221
      EdgeCount:       38
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'vcf.c:2067,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    bcf_record_check_err
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2097
      functionLinenumberEnd: 2103
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          57
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_seqname_safe
        - hts_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2099,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2099,9'
          Dst:             hts_log
    - functionName:    bcf_dec_typed_int1_safe
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1984
      functionLinenumberEnd: 2013
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          120
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - le_to_i16
        - le_to_i32
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1995,20'
          Dst:             le_to_i16
        - Src:             'vcf.c:1998,20'
          Dst:             le_to_i32
    - functionName:    le_to_i16
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u16
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:241,18'
          Dst:             le_to_u16
    - functionName:    le_to_i32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 251
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u32
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:252,18'
          Dst:             le_to_u32
    - functionName:    le_to_u32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    le_to_u16
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 131
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_type_name
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2030
      functionLinenumberEnd: 2036
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          37
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bcf_dec_size_safe
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2016
      functionLinenumberEnd: 2028
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          89
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - bcf_dec_typed_int1_safe
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2025,9'
          Dst:             bcf_dec_typed_int1_safe
    - functionName:    bcf_hdr_decr_ref
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 211
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          52
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_hdr_destroy
        - get_hdr_aux
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:205,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:210,9'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_hdr_destroy
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1740
      functionLinenumberEnd: 1773
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         41
      ICount:          282
      EdgeCount:       53
      CyclomaticComplexity: 14
      functionsReached:
        - bcf_hrec_destroy
        - get_hdr_aux
        - kh_destroy_hdict
        - kh_destroy_vdict
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1744,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1759,13'
          Dst:             kh_destroy_hdict
        - Src:             'vcf.c:1762,9'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:1766,9'
          Dst:             bcf_hrec_destroy
    - functionName:    kh_destroy_hdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_vdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_initialize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:320,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:321,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:322,12'
          Dst:             hts_realloc
    - functionName:    kinsert_char
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 470
      functionLinenumberEnd: 481
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - char
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          92
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:474,9'
          Dst:             ks_resize
    - functionName:    add_desc_to_buffer
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6401
      functionLinenumberEnd: 6415
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          121
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - snprintf
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6407,22'
          Dst:             strlen
        - Src:             'vcf.c:6408,20'
          Dst:             snprintf
        - Src:             'vcf.c:6411,9'
          Dst:             snprintf
    - functionName:    bcf_get_format_values
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6306
      functionLinenumberEnd: 6374
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         133
      ICount:          890
      EdgeCount:       170
      CyclomaticComplexity: 39
      functionsReached:
        - bcf_float_set
        - bcf_hdr_id2int
        - bcf_seqname_safe
        - bcf_unpack
        - exit
        - hts_log
        - hts_realloc_p
        - le_to_i16
        - le_to_i32
        - le_to_i8
        - le_to_u32
        - realloc
      functionUses:    0
      BranchProfiles:
        - Branch String:   'vcf.c:6364,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6307,23'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6316,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6329,21'
          Dst:             realloc
        - Src:             'vcf.c:6343,17'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:6365,28'
          Dst:             le_to_i8
        - Src:             'vcf.c:6366,28'
          Dst:             le_to_i16
        - Src:             'vcf.c:6367,28'
          Dst:             le_to_i32
        - Src:             'vcf.c:6368,28'
          Dst:             le_to_u32
        - Src:             'vcf.c:6368,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6368,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6368,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6368,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6369,18'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:6369,18'
          Dst:             hts_log
        - Src:             'vcf.c:6369,125'
          Dst:             exit
    - functionName:    bcf_unpack
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4322
      functionLinenumberEnd: 4389
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         97
      ICount:          788
      EdgeCount:       125
      CyclomaticComplexity: 30
      functionsReached:
        - bcf_dec_int1
        - bcf_dec_size
        - bcf_fmt_sized_array
        - bcf_unpack_fmt_core1
        - bcf_unpack_info_core1
        - hts_realloc_or_die
        - kputc_
      functionUses:    20
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4336,15'
          Dst:             bcf_fmt_sized_array
        - Src:             'vcf.c:4338,9'
          Dst:             kputc_
        - Src:             'vcf.c:4342,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4348,19'
          Dst:             bcf_fmt_sized_array
        - Src:             'vcf.c:4349,13'
          Dst:             kputc_
        - Src:             'vcf.c:4364,24'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4365,13'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4367,29'
          Dst:             bcf_dec_int1
        - Src:             'vcf.c:4374,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4377,19'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:4382,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4385,19'
          Dst:             bcf_unpack_fmt_core1
    - functionName:    le_to_i8
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 231
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          33
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bcf_fmt_sized_array
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3159
      functionLinenumberEnd: 3163
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          35
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_dec_size
        - bcf_fmt_array
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3161,9'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:3162,5'
          Dst:             bcf_fmt_array
    - functionName:    kputc_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    36
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:270,6'
          Dst:             ks_resize
    - functionName:    bcf_dec_size
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1722
      functionLinenumberEnd: 1728
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          55
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_dec_typed_int1
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1727,19'
          Dst:             bcf_dec_typed_int1
    - functionName:    bcf_dec_int1
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1682
      functionLinenumberEnd: 1698
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          87
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - le_to_i16
        - le_to_i32
        - le_to_i64
        - le_to_i8
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1685,16'
          Dst:             le_to_i8
        - Src:             './htslib/vcf.h:1688,16'
          Dst:             le_to_i16
        - Src:             './htslib/vcf.h:1691,16'
          Dst:             le_to_i32
        - Src:             './htslib/vcf.h:1694,16'
          Dst:             le_to_i64
    - functionName:    bcf_unpack_info_core1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4280
      functionLinenumberEnd: 4318
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          174
      EdgeCount:       15
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_dec_size
        - bcf_dec_typed_int1
        - le_to_float
        - le_to_i16
        - le_to_i32
        - le_to_i64
      functionUses:    6
      BranchProfiles:
        - Branch String:   'vcf.c:4290,9'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:4283,17'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4284,23'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4296,26'
          Dst:             le_to_i16
        - Src:             'vcf.c:4300,26'
          Dst:             le_to_i32
        - Src:             'vcf.c:4304,26'
          Dst:             le_to_float
        - Src:             'vcf.c:4308,26'
          Dst:             le_to_i64
    - functionName:    bcf_unpack_fmt_core1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4266
      functionLinenumberEnd: 4276
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          91
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_dec_size
        - bcf_dec_typed_int1
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4268,15'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4269,14'
          Dst:             bcf_dec_size
    - functionName:    bcf_dec_typed_int1
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1717
      functionLinenumberEnd: 1718
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_dec_int1
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/vcf.h:1718,12'
          Dst:             bcf_dec_int1
    - functionName:    le_to_float
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 308
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - le_to_u32
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:314,17'
          Dst:             le_to_u32
    - functionName:    bcf_fmt_array
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3114
      functionLinenumberEnd: 3156
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         80
      ICount:          492
      EdgeCount:       100
      CyclomaticComplexity: 22
      functionsReached:
        - exit
        - hts_log
        - kputc
        - kputc_
        - kputd
        - kputsn
        - kputw
        - le_to_float
        - le_to_i16
        - le_to_i32
        - le_to_i8
        - le_to_u32
        - memchr
      functionUses:    4
      BranchProfiles:
        - Branch String:   'vcf.c:3146,9'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:3118,16'
          Dst:             kputc_
        - Src:             'vcf.c:3127,27'
          Dst:             memchr
        - Src:             'vcf.c:3128,18'
          Dst:             kputsn
        - Src:             'vcf.c:3131,21'
          Dst:             kputc
        - Src:             'vcf.c:3147,32'
          Dst:             le_to_i8
        - Src:             'vcf.c:3147,32'
          Dst:             kputc_
        - Src:             'vcf.c:3147,32'
          Dst:             kputc
        - Src:             'vcf.c:3147,32'
          Dst:             kputw
        - Src:             'vcf.c:3148,32'
          Dst:             le_to_i16
        - Src:             'vcf.c:3148,32'
          Dst:             kputc_
        - Src:             'vcf.c:3148,32'
          Dst:             kputc
        - Src:             'vcf.c:3148,32'
          Dst:             kputw
        - Src:             'vcf.c:3149,32'
          Dst:             le_to_i32
        - Src:             'vcf.c:3149,32'
          Dst:             kputc_
        - Src:             'vcf.c:3149,32'
          Dst:             kputc
        - Src:             'vcf.c:3149,32'
          Dst:             kputw
        - Src:             'vcf.c:3150,32'
          Dst:             le_to_u32
        - Src:             'vcf.c:3150,32'
          Dst:             kputc_
        - Src:             'vcf.c:3150,32'
          Dst:             kputc
        - Src:             'vcf.c:3150,32'
          Dst:             le_to_float
        - Src:             'vcf.c:3150,32'
          Dst:             kputd
        - Src:             'vcf.c:3151,22'
          Dst:             hts_log
        - Src:             'vcf.c:3151,65'
          Dst:             exit
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    23
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    bcf_get_format_string
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6267
      functionLinenumberEnd: 6303
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          353
      EdgeCount:       58
      CyclomaticComplexity: 17
      functionsReached:
        - bcf_hdr_id2int
        - bcf_unpack
        - hts_malloc_p
        - realloc
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6268,20'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6272,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6283,16'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:6290,21'
          Dst:             realloc
    - functionName:    bcf_get_info_values
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6183
      functionLinenumberEnd: 6264
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         142
      ICount:          902
      EdgeCount:       178
      CyclomaticComplexity: 38
      functionsReached:
        - bcf_float_set
        - bcf_hdr_id2int
        - bcf_seqname_safe
        - bcf_unpack
        - hts_log
        - hts_realloc_p
        - le_to_i16
        - le_to_i32
        - le_to_i8
        - le_to_u32
        - realloc
      functionUses:    0
      BranchProfiles:
        - Branch String:   'vcf.c:6211,5'
          Branch Sides:    []
        - Branch String:   'vcf.c:6238,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6184,31'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6188,44'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6202,21'
          Dst:             realloc
        - Src:             'vcf.c:6216,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:6216,13'
          Dst:             hts_log
        - Src:             'vcf.c:6222,17'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:6241,17'
          Dst:             le_to_i8
        - Src:             'vcf.c:6243,17'
          Dst:             le_to_i8
        - Src:             'vcf.c:6248,17'
          Dst:             le_to_i16
        - Src:             'vcf.c:6250,17'
          Dst:             le_to_i16
        - Src:             'vcf.c:6255,17'
          Dst:             le_to_i32
        - Src:             'vcf.c:6257,17'
          Dst:             le_to_i32
        - Src:             'vcf.c:6259,28'
          Dst:             le_to_u32
        - Src:             'vcf.c:6259,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6259,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6260,18'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:6260,18'
          Dst:             hts_log
    - functionName:    bcf_get_info_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6171
      functionLinenumberEnd: 6179
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          84
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - bcf_unpack
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6173,44'
          Dst:             bcf_unpack
    - functionName:    bcf_get_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6153
      functionLinenumberEnd: 6157
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          90
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - bcf_get_info_id
        - bcf_hdr_id2int
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6154,14'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6156,12'
          Dst:             bcf_get_info_id
    - functionName:    bcf_get_fmt_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6160
      functionLinenumberEnd: 6168
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          85
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - bcf_unpack
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6162,43'
          Dst:             bcf_unpack
    - functionName:    bcf_get_fmt
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6146
      functionLinenumberEnd: 6150
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          90
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - bcf_get_fmt_id
        - bcf_hdr_id2int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6147,14'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6149,12'
          Dst:             bcf_get_fmt_id
    - functionName:    bcf_add_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6117
      functionLinenumberEnd: 6143
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          232
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached:
        - bcf_unpack
        - kputc
        - kputs
        - strlen
        - strstr
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6119,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6124,15'
          Dst:             strlen
        - Src:             'vcf.c:6126,26'
          Dst:             strstr
        - Src:             'vcf.c:6134,17'
          Dst:             strlen
        - Src:             'vcf.c:6135,9'
          Dst:             kputc
        - Src:             'vcf.c:6137,5'
          Dst:             kputs
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    bcf_update_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6103
      functionLinenumberEnd: 6113
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          83
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_unpack
        - kputs
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6104,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6108,9'
          Dst:             kputs
        - Src:             'vcf.c:6110,9'
          Dst:             kputs
    - functionName:    bcf_update_alleles_str
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6085
      functionLinenumberEnd: 6099
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          109
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - _bcf1_sync_alleles
        - bcf_unpack
        - kputs
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6086,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6089,5'
          Dst:             kputs
        - Src:             'vcf.c:6099,12'
          Dst:             _bcf1_sync_alleles
    - functionName:    _bcf1_sync_alleles
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5999
      functionLinenumberEnd: 6018
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          151
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - get_rlen
        - hts_realloc_or_die
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6004,5'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:6016,18'
          Dst:             get_rlen
    - functionName:    get_rlen
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6535
      functionLinenumberEnd: 6771
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         259
      ICount:          1520
      EdgeCount:       336
      CyclomaticComplexity: 79
      functionsReached:
        - bcf_dec_size
        - bcf_dec_typed_int1
        - bcf_get_fmt
        - bcf_get_info
        - bcf_hdr_id2int
        - bcf_unpack_fmt_core1
        - bcf_unpack_info_core1
        - le_to_i16
        - le_to_i32
        - le_to_i64
        - le_to_i8
        - strcmp
        - strlen
        - strncmp
        - svlen_on_ref_for_vcf_alt
      functionUses:    7
      BranchProfiles:
        - Branch String:   'vcf.c:6662,9'
          Branch Sides:    []
        - Branch String:   'vcf.c:6679,13'
          Branch Sides:    []
        - Branch String:   'vcf.c:6723,17'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6547,13'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6558,17'
          Dst:             svlen_on_ref_for_vcf_alt
        - Src:             'vcf.c:6562,25'
          Dst:             strcmp
        - Src:             'vcf.c:6563,27'
          Dst:             strcmp
        - Src:             'vcf.c:6568,33'
          Dst:             strlen
        - Src:             'vcf.c:6571,16'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6576,20'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6580,21'
          Dst:             svlen_on_ref_for_vcf_alt
        - Src:             'vcf.c:6584,43'
          Dst:             strncmp
        - Src:             'vcf.c:6585,36'
          Dst:             strncmp
        - Src:             'vcf.c:6596,16'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6601,27'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6606,23'
          Dst:             bcf_get_info
        - Src:             'vcf.c:6607,25'
          Dst:             bcf_get_info
        - Src:             'vcf.c:6610,22'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:6612,25'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:6618,25'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:6625,28'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6634,20'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6641,22'
          Dst:             bcf_get_fmt
        - Src:             'vcf.c:6644,22'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:6646,29'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:6651,28'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6681,27'
          Dst:             le_to_i8
        - Src:             'vcf.c:6685,27'
          Dst:             le_to_i16
        - Src:             'vcf.c:6689,27'
          Dst:             le_to_i32
        - Src:             'vcf.c:6693,27'
          Dst:             le_to_i64
        - Src:             'vcf.c:6725,27'
          Dst:             le_to_i8
        - Src:             'vcf.c:6729,27'
          Dst:             le_to_i16
        - Src:             'vcf.c:6733,27'
          Dst:             le_to_i32
        - Src:             'vcf.c:6737,27'
          Dst:             le_to_i64
    - functionName:    bcf_update_alleles
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6021
      functionLinenumberEnd: 6082
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          318
      EdgeCount:       56
      CyclomaticComplexity: 14
      functionsReached:
        - __assert_fail
        - _bcf1_sync_alleles
        - bcf_unpack
        - hts_log
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6022,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6037,21'
          Dst:             strlen
        - Src:             'vcf.c:6050,23'
          Dst:             strlen
        - Src:             'vcf.c:6054,13'
          Dst:             hts_log
        - Src:             'vcf.c:6067,9'
          Dst:             __assert_fail
        - Src:             'vcf.c:6074,21'
          Dst:             strlen
        - Src:             'vcf.c:6081,12'
          Dst:             _bcf1_sync_alleles
    - functionName:    bcf_has_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5984
      functionLinenumberEnd: 5996
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          190
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - bcf_hdr_id2int
        - bcf_unpack
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5986,14'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5989,43'
          Dst:             bcf_unpack
    - functionName:    bcf_remove_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5970
      functionLinenumberEnd: 5981
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          172
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - bcf_add_filter
        - bcf_unpack
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5971,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5979,35'
          Dst:             bcf_add_filter
    - functionName:    bcf_add_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5952
      functionLinenumberEnd: 5968
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          217
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - bcf_unpack
        - hts_realloc_or_die
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5953,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5965,5'
          Dst:             hts_realloc_or_die
    - functionName:    bcf_update_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5939
      functionLinenumberEnd: 5949
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          145
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - bcf_unpack
        - hts_realloc_or_die
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5940,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5944,5'
          Dst:             hts_realloc_or_die
    - functionName:    bcf_update_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5825
      functionLinenumberEnd: 5935
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         97
      ICount:          770
      EdgeCount:       126
      CyclomaticComplexity: 31
      functionsReached:
        - __assert_fail
        - abort
        - bcf_enc_int1
        - bcf_enc_size
        - bcf_enc_vint
        - bcf_hdr_id2int
        - bcf_seqname_safe
        - bcf_unpack
        - bcf_unpack_fmt_core1
        - get_rlen
        - hts_log
        - hts_realloc_or_die
        - kputsn
        - serialize_float_array
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5827,21'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5835,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5841,14'
          Dst:             strcmp
        - Src:             'vcf.c:5856,26'
          Dst:             get_rlen
        - Src:             'vcf.c:5863,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:5867,5'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5868,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:5870,9'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:5873,9'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5874,9'
          Dst:             serialize_float_array
        - Src:             'vcf.c:5878,9'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5879,9'
          Dst:             kputsn
        - Src:             'vcf.c:5883,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5883,9'
          Dst:             hts_log
        - Src:             'vcf.c:5884,9'
          Dst:             abort
        - Src:             'vcf.c:5891,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:5902,9'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5917,13'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5924,13'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5932,22'
          Dst:             get_rlen
    - functionName:    bcf_update_format_string
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5799
      functionLinenumberEnd: 5822
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          187
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - bcf_update_format
        - hts_malloc_p
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5801,16'
          Dst:             bcf_update_format
        - Src:             'vcf.c:5806,19'
          Dst:             strlen
        - Src:             'vcf.c:5809,17'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:5819,15'
          Dst:             bcf_update_format
    - functionName:    bcf_update_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5661
      functionLinenumberEnd: 5796
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         127
      ICount:          845
      EdgeCount:       169
      CyclomaticComplexity: 44
      functionsReached:
        - abort
        - bcf_enc_int1
        - bcf_enc_size
        - bcf_enc_vchar
        - bcf_enc_vfloat
        - bcf_enc_vint
        - bcf_hdr_id2int
        - bcf_seqname_safe
        - bcf_unpack
        - bcf_unpack_info_core1
        - get_rlen
        - hts_log
        - hts_realloc_or_die
        - strcmp
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5666,21'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5668,44'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5670,18'
          Dst:             strcmp
        - Src:             'vcf.c:5671,20'
          Dst:             strcmp
        - Src:             'vcf.c:5692,26'
          Dst:             get_rlen
        - Src:             'vcf.c:5701,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5701,13'
          Dst:             hts_log
        - Src:             'vcf.c:5707,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5707,13'
          Dst:             hts_log
        - Src:             'vcf.c:5715,5'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5717,9'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:5719,9'
          Dst:             bcf_enc_vfloat
        - Src:             'vcf.c:5723,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5725,33'
          Dst:             strlen
        - Src:             'vcf.c:5725,13'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:5739,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5739,9'
          Dst:             hts_log
        - Src:             'vcf.c:5740,9'
          Dst:             abort
        - Src:             'vcf.c:5754,13'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:5761,13'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:5770,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:5772,9'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:5786,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5786,21'
          Dst:             hts_log
        - Src:             'vcf.c:5793,22'
          Dst:             get_rlen
    - functionName:    bcf_enc_vfloat
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3040
      functionLinenumberEnd: 3044
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       6
      CyclomaticComplexity: 2
      functionsReached:
        - __assert_fail
        - bcf_enc_size
        - serialize_float_array
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3041,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:3042,5'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3043,5'
          Dst:             serialize_float_array
    - functionName:    bcf_has_variant_types
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5638
      functionLinenumberEnd: 5658
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          169
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - bcf_set_variant_types
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5640,13'
          Dst:             bcf_set_variant_types
    - functionName:    bcf_set_variant_types
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5558
      functionLinenumberEnd: 5581
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          165
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - bcf_set_variant_type
        - bcf_unpack
        - hts_realloc_p
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5559,40'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5563,34'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:5576,9'
          Dst:             bcf_set_variant_type
    - functionName:    bcf_variant_length
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5628
      functionLinenumberEnd: 5634
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          80
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - bcf_set_variant_types
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5630,13'
          Dst:             bcf_set_variant_types
    - functionName:    bcf_has_variant_type
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5616
      functionLinenumberEnd: 5625
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          105
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - bcf_set_variant_types
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5618,13'
          Dst:             bcf_set_variant_types
    - functionName:    bcf_get_variant_type
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5600
      functionLinenumberEnd: 5611
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          82
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - bcf_set_variant_types
        - exit
        - hts_log
        - strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5602,13'
          Dst:             bcf_set_variant_types
        - Src:             'vcf.c:5603,13'
          Dst:             __errno_location
        - Src:             'vcf.c:5603,13'
          Dst:             strerror
        - Src:             'vcf.c:5603,13'
          Dst:             hts_log
        - Src:             'vcf.c:5604,13'
          Dst:             exit
        - Src:             'vcf.c:5608,9'
          Dst:             hts_log
        - Src:             'vcf.c:5609,9'
          Dst:             exit
    - functionName:    bcf_get_variant_types
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5589
      functionLinenumberEnd: 5596
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          47
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - bcf_set_variant_types
        - exit
        - hts_log
        - strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5591,13'
          Dst:             bcf_set_variant_types
        - Src:             'vcf.c:5592,13'
          Dst:             __errno_location
        - Src:             'vcf.c:5592,13'
          Dst:             strerror
        - Src:             'vcf.c:5592,13'
          Dst:             hts_log
        - Src:             'vcf.c:5593,13'
          Dst:             exit
    - functionName:    bcf_is_snp
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5469
      functionLinenumberEnd: 5483
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          203
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - bcf_unpack
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5471,5'
          Dst:             bcf_unpack
    - functionName:    bcf_subset
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5442
      functionLinenumberEnd: 5465
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          251
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - bcf_enc_int1
        - bcf_enc_size
        - bcf_unpack_fmt_core1
        - kputsn
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5450,19'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5453,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5454,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5456,35'
          Dst:             kputsn
    - functionName:    bcf_hdr_set_samples
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5334
      functionLinenumberEnd: 5439
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         94
      ICount:          699
      EdgeCount:       124
      CyclomaticComplexity: 32
      functionsReached:
        - __assert_fail
        - bcf_hdr_id2int
        - bcf_hdr_sync
        - calloc
        - hts_malloc_p
        - hts_readlist
        - kh_del_vdict
        - kh_destroy_vdict
        - kh_get_vdict
        - kh_init_vdict
        - kh_put_vdict
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5335,22'
          Dst:             strcmp
        - Src:             'vcf.c:5338,36'
          Dst:             calloc
        - Src:             'vcf.c:5347,20'
          Dst:             kh_init_vdict
        - Src:             'vcf.c:5354,9'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:5356,13'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:5365,20'
          Dst:             hts_readlist
        - Src:             'vcf.c:5369,15'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5375,9'
          Dst:             __assert_fail
        - Src:             'vcf.c:5392,26'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:5397,20'
          Dst:             kh_init_vdict
        - Src:             'vcf.c:5406,21'
          Dst:             kh_put_vdict
        - Src:             'vcf.c:5409,21'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:5421,21'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5422,32'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:5428,9'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:5434,13'
          Dst:             bcf_hdr_sync
    - functionName:    kh_init_vdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:75,1'
          Dst:             calloc
    - functionName:    khash_str2int_destroy
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 48
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          29
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_destroy_str2int
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:47,15'
          Dst:             kh_destroy_str2int
    - functionName:    khash_str2int_inc
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 107
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          82
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - kh_put_str2int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:102,9'
          Dst:             kh_put_str2int
    - functionName:    khash_str2int_has_key
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 72
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_get_str2int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:69,17'
          Dst:             kh_get_str2int
    - functionName:    find_chrom_header_line
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 220
      functionLinenumberEnd: 225
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          44
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - strncmp
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:222,9'
          Dst:             strncmp
        - Src:             'vcf.c:223,20'
          Dst:             strstr
    - functionName:    khash_str2int_init
      functionSourceFile: '/src/htslib/./htslib/khash_str2int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 37
      functionLinenumberEnd: 38
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - kh_init_str2int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/khash_str2int.h:38,12'
          Dst:             kh_init_str2int
    - functionName:    bcf_hdr_subset
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5271
      functionLinenumberEnd: 5331
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          376
      EdgeCount:       65
      CyclomaticComplexity: 18
      functionsReached:
        - __errno_location
        - bcf_hdr_destroy
        - bcf_hdr_format
        - bcf_hdr_get_version
        - bcf_hdr_id2int
        - bcf_hdr_init
        - bcf_hdr_parse
        - bcf_hdr_set_version
        - find_chrom_header_line
        - hts_log
        - khash_str2int_destroy
        - khash_str2int_has_key
        - khash_str2int_inc
        - khash_str2int_init
        - kputc
        - kputs
        - kputsn
        - ks_free
        - strchr
        - strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5272,24'
          Dst:             khash_str2int_init
        - Src:             'vcf.c:5275,20'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:5278,9'
          Dst:             hts_log
        - Src:             'vcf.c:5281,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:5282,9'
          Dst:             hts_log
        - Src:             'vcf.c:5285,27'
          Dst:             bcf_hdr_get_version
        - Src:             'vcf.c:5285,5'
          Dst:             bcf_hdr_set_version
        - Src:             'vcf.c:5289,19'
          Dst:             find_chrom_header_line
        - Src:             'vcf.c:5291,21'
          Dst:             strchr
        - Src:             'vcf.c:5293,13'
          Dst:             hts_log
        - Src:             'vcf.c:5296,14'
          Dst:             kputsn
        - Src:             'vcf.c:5298,18'
          Dst:             khash_str2int_has_key
        - Src:             'vcf.c:5300,17'
          Dst:             hts_log
        - Src:             'vcf.c:5303,23'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5305,18'
          Dst:             kputc
        - Src:             'vcf.c:5306,18'
          Dst:             kputs
        - Src:             'vcf.c:5307,18'
          Dst:             khash_str2int_inc
        - Src:             'vcf.c:5309,17'
          Dst:             kputsn
        - Src:             'vcf.c:5311,10'
          Dst:             kputc
        - Src:             'vcf.c:5313,9'
          Dst:             __errno_location
        - Src:             'vcf.c:5313,9'
          Dst:             strerror
        - Src:             'vcf.c:5313,9'
          Dst:             hts_log
        - Src:             'vcf.c:5316,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:5317,9'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:5322,5'
          Dst:             khash_str2int_destroy
        - Src:             'vcf.c:5326,5'
          Dst:             ks_free
        - Src:             'vcf.c:5327,5'
          Dst:             ks_free
        - Src:             'vcf.c:5328,5'
          Dst:             khash_str2int_destroy
        - Src:             'vcf.c:5329,5'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_hdr_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1701
      functionLinenumberEnd: 1737
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          170
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - bcf_hdr_append
        - calloc
        - kh_destroy_vdict
        - kh_init_hdict
        - kh_init_vdict
        - kh_resize_vdict
        - strchr
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1704,21'
          Dst:             calloc
        - Src:             'vcf.c:1707,27'
          Dst:             kh_init_vdict
        - Src:             'vcf.c:1710,13'
          Dst:             kh_resize_vdict
        - Src:             'vcf.c:1713,42'
          Dst:             calloc
        - Src:             'vcf.c:1715,22'
          Dst:             kh_init_hdict
        - Src:             'vcf.c:1723,10'
          Dst:             strchr
        - Src:             'vcf.c:1725,9'
          Dst:             bcf_hdr_append
        - Src:             'vcf.c:1727,9'
          Dst:             bcf_hdr_append
        - Src:             'vcf.c:1734,9'
          Dst:             kh_destroy_vdict
    - functionName:    bcf_hdr_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2818
      functionLinenumberEnd: 2832
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          130
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - _bcf_hrec_format
        - ksprintf
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2821,14'
          Dst:             _bcf_hrec_format
        - Src:             'vcf.c:2823,10'
          Dst:             ksprintf
        - Src:             'vcf.c:2826,14'
          Dst:             ksprintf
        - Src:             'vcf.c:2828,18'
          Dst:             ksprintf
        - Src:             'vcf.c:2830,10'
          Dst:             ksprintf
    - functionName:    bcf_hdr_set_version
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1671
      functionLinenumberEnd: 1698
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          111
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - bcf_get_version
        - bcf_hdr_get_hrec
        - bcf_hdr_parse_line
        - bcf_hdr_update_hrec
        - bcf_hrec_destroy
        - bcf_hrec_dup
        - get_hdr_aux
        - ksprintf
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1672,24'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:1677,14'
          Dst:             ksprintf
        - Src:             'vcf.c:1678,16'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1683,37'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1683,9'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1687,27'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:1690,22'
          Dst:             strdup
        - Src:             'vcf.c:1692,9'
          Dst:             bcf_hdr_update_hrec
        - Src:             'vcf.c:1693,9'
          Dst:             bcf_hrec_destroy
    - functionName:    bcf_hdr_parse
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1474
      functionLinenumberEnd: 1552
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         57
      ICount:          284
      EdgeCount:       76
      CyclomaticComplexity: 21
      functionsReached:
        - __assert_fail
        - __errno_location
        - bcf_hdr_add_hrec
        - bcf_hdr_check_sanity
        - bcf_hdr_parse_line
        - bcf_hdr_parse_sample_line
        - bcf_hdr_sync
        - bcf_hrec_destroy
        - hts_log
        - hts_strprint
        - strcasecmp
        - strchr
        - strerror
        - strncmp
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1479,24'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1480,33'
          Dst:             strcasecmp
        - Src:             'vcf.c:1481,9'
          Dst:             hts_log
        - Src:             'vcf.c:1482,9'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:1483,9'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1488,12'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1489,18'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:1490,9'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1496,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1497,17'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:1498,17'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1503,9'
          Dst:             __assert_fail
        - Src:             'vcf.c:1506,13'
          Dst:             __errno_location
        - Src:             'vcf.c:1506,13'
          Dst:             strerror
        - Src:             'vcf.c:1506,13'
          Dst:             hts_log
        - Src:             'vcf.c:1521,14'
          Dst:             strncmp
        - Src:             'vcf.c:1521,41'
          Dst:             strncmp
        - Src:             'vcf.c:1522,25'
          Dst:             strchr
        - Src:             'vcf.c:1525,17'
          Dst:             hts_strprint
        - Src:             'vcf.c:1525,17'
          Dst:             hts_log
        - Src:             'vcf.c:1542,9'
          Dst:             hts_log
        - Src:             'vcf.c:1546,9'
          Dst:             bcf_hdr_parse_sample_line
        - Src:             'vcf.c:1548,9'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:1550,5'
          Dst:             bcf_hdr_check_sanity
    - functionName:    ks_free
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_initialize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:238,9'
          Dst:             ks_initialize
    - functionName:    bcf_hdr_parse_sample_line
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 288
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         35
      ICount:          187
      EdgeCount:       47
      CyclomaticComplexity: 14
      functionsReached:
        - bcf_hdr_add_sample_len
        - hts_log
        - strlen
        - strncmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:290,32'
          Dst:             strlen
        - Src:             'vcf.c:290,10'
          Dst:             strncmp
        - Src:             'vcf.c:292,9'
          Dst:             hts_log
        - Src:             'vcf.c:296,29'
          Dst:             strlen
        - Src:             'vcf.c:298,10'
          Dst:             strncmp
        - Src:             'vcf.c:300,9'
          Dst:             hts_log
        - Src:             'vcf.c:310,14'
          Dst:             bcf_hdr_add_sample_len
    - functionName:    bcf_hdr_check_sanity
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1333
      functionLinenumberEnd: 1471
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         75
      ICount:          612
      EdgeCount:       102
      CyclomaticComplexity: 29
      functionsReached:
        - atoi
        - bcf_get_version
        - bcf_hdr_id2int
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1334,19'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1413,18'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:1419,67'
          Dst:             atoi
        - Src:             'vcf.c:1424,17'
          Dst:             hts_log
        - Src:             'vcf.c:1429,17'
          Dst:             hts_log
        - Src:             'vcf.c:1440,18'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:1455,66'
          Dst:             atoi
        - Src:             'vcf.c:1460,17'
          Dst:             hts_log
        - Src:             'vcf.c:1465,17'
          Dst:             hts_log
    - functionName:    bcf_hdr_add_sample_len
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 234
      functionLinenumberEnd: 275
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          206
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - hts_log
        - hts_realloc_ps
        - isspace_c
        - kh_put_vdict
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:236,20'
          Dst:             isspace_c
        - Src:             'vcf.c:239,9'
          Dst:             hts_log
        - Src:             'vcf.c:252,26'
          Dst:             hts_realloc_ps
        - Src:             'vcf.c:259,13'
          Dst:             kh_put_vdict
        - Src:             'vcf.c:268,9'
          Dst:             hts_log
    - functionName:    bcf_hrec_dup
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 370
      functionLinenumberEnd: 412
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         43
      ICount:          311
      EdgeCount:       58
      CyclomaticComplexity: 17
      functionsReached:
        - __errno_location
        - bcf_hrec_destroy
        - calloc
        - hts_log
        - hts_malloc_p
        - strcmp
        - strdup
        - strerror
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:372,37'
          Dst:             calloc
        - Src:             'vcf.c:377,20'
          Dst:             strdup
        - Src:             'vcf.c:381,22'
          Dst:             strdup
        - Src:             'vcf.c:385,17'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:387,17'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:392,32'
          Dst:             strcmp
        - Src:             'vcf.c:394,28'
          Dst:             strdup
        - Src:             'vcf.c:398,28'
          Dst:             strdup
        - Src:             'vcf.c:407,18'
          Dst:             __errno_location
        - Src:             'vcf.c:408,5'
          Dst:             __errno_location
        - Src:             'vcf.c:408,5'
          Dst:             strerror
        - Src:             'vcf.c:408,5'
          Dst:             hts_log
        - Src:             'vcf.c:409,5'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:410,5'
          Dst:             __errno_location
    - functionName:    bcf_hdr_update_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1139
      functionLinenumberEnd: 1185
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          221
      EdgeCount:       36
      CyclomaticComplexity: 9
      functionsReached:
        - __assert_fail
        - bcf_get_version
        - get_hdr_aux
        - kh_del_hdict
        - kh_put_hdict
        - ks_free
        - ksprintf
        - strcmp
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1140,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:1143,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1150,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:1155,10'
          Dst:             ksprintf
        - Src:             'vcf.c:1157,11'
          Dst:             strdup
        - Src:             'vcf.c:1163,5'
          Dst:             kh_del_hdict
        - Src:             'vcf.c:1166,9'
          Dst:             kh_put_hdict
        - Src:             'vcf.c:1175,10'
          Dst:             strcmp
        - Src:             'vcf.c:1177,37'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1177,9'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1182,5'
          Dst:             ks_free
    - functionName:    kh_del_hdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _bcf_hrec_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2790
      functionLinenumberEnd: 2809
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          159
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - kputc
        - ksprintf
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2795,14'
          Dst:             ksprintf
        - Src:             'vcf.c:2799,30'
          Dst:             strcmp
        - Src:             'vcf.c:2800,30'
          Dst:             kputc
        - Src:             'vcf.c:2801,18'
          Dst:             ksprintf
        - Src:             'vcf.c:2804,14'
          Dst:             ksprintf
        - Src:             'vcf.c:2807,14'
          Dst:             ksprintf
    - functionName:    kh_init_hdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:80,1'
          Dst:             calloc
    - functionName:    bcf_hdr_append
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1555
      functionLinenumberEnd: 1562
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          47
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_hdr_add_hrec
        - bcf_hdr_parse_line
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1557,24'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1559,9'
          Dst:             bcf_hdr_add_hrec
    - functionName:    bcf_hdr_dup
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5251
      functionLinenumberEnd: 5268
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          66
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - bcf_hdr_destroy
        - bcf_hdr_format
        - bcf_hdr_init
        - bcf_hdr_parse
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5252,23'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:5254,9'
          Dst:             hts_log
        - Src:             'vcf.c:5258,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:5262,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:5263,9'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_translate
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5134
      functionLinenumberEnd: 5248
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         93
      ICount:          908
      EdgeCount:       123
      CyclomaticComplexity: 32
      functionsReached:
        - bcf_enc_int1
        - bcf_enc_size
        - bcf_hdr_id2int
        - bcf_seqname_safe
        - bcf_strerror
        - bcf_unpack
        - exit
        - hts_log
        - hts_malloc_p
        - i16_to_le
        - i32_to_le
        - kputsn
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5139,9'
          Dst:             bcf_strerror
        - Src:             'vcf.c:5139,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5139,9'
          Dst:             hts_log
        - Src:             'vcf.c:5140,9'
          Dst:             exit
        - Src:             'vcf.c:5148,37'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:5156,44'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5168,5'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5203,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5204,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5206,13'
          Dst:             kputsn
        - Src:             'vcf.c:5229,50'
          Dst:             i16_to_le
        - Src:             'vcf.c:5230,20'
          Dst:             i32_to_le
        - Src:             'vcf.c:5236,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5237,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5239,13'
          Dst:             kputsn
    - functionName:    bcf_strerror
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6418
      functionLinenumberEnd: 6445
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          143
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - add_desc_to_buffer
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:6433,19'
          Dst:             add_desc_to_buffer
        - Src:             'vcf.c:6442,9'
          Dst:             add_desc_to_buffer
    - functionName:    bcf_hdr_merge
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5032
      functionLinenumberEnd: 5131
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         79
      ICount:          684
      EdgeCount:       105
      CyclomaticComplexity: 28
      functionsReached:
        - __assert_fail
        - bcf_get_version
        - bcf_hdr_add_hrec
        - bcf_hdr_destroy
        - bcf_hdr_format
        - bcf_hdr_get_hrec
        - bcf_hdr_init
        - bcf_hdr_parse
        - bcf_hdr_set_version
        - bcf_hdr_sync
        - bcf_hrec_dup
        - bcf_hrec_find_key
        - hts_log
        - kh_get_vdict
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:5036,15'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:5038,13'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:5042,14'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:5043,13'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:5063,23'
          Dst:             strcmp
        - Src:             'vcf.c:5066,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:5066,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:5070,24'
          Dst:             strcmp
        - Src:             'vcf.c:5072,31'
          Dst:             bcf_get_version
        - Src:             'vcf.c:5073,31'
          Dst:             bcf_get_version
        - Src:             'vcf.c:5076,25'
          Dst:             bcf_hdr_set_version
        - Src:             'vcf.c:5085,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:5088,35'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:5090,49'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:5090,27'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:5098,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:5099,13'
          Dst:             __assert_fail
        - Src:             'vcf.c:5101,31'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:5103,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:5103,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:5112,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5113,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5116,21'
          Dst:             hts_log
        - Src:             'vcf.c:5121,21'
          Dst:             hts_log
        - Src:             'vcf.c:5128,13'
          Dst:             bcf_hdr_sync
    - functionName:    bcf_hdr_combine
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4956
      functionLinenumberEnd: 5029
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         64
      ICount:          574
      EdgeCount:       84
      CyclomaticComplexity: 22
      functionsReached:
        - __assert_fail
        - bcf_hdr_add_hrec
        - bcf_hdr_get_hrec
        - bcf_hdr_sync
        - bcf_hrec_dup
        - bcf_hrec_find_key
        - hts_log
        - kh_get_vdict
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4970,23'
          Dst:             strcmp
        - Src:             'vcf.c:4973,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4973,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:4981,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:4984,35'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:4986,49'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4986,27'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:4994,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:4995,13'
          Dst:             __assert_fail
        - Src:             'vcf.c:4997,31'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:4999,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4999,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:5008,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5009,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5012,21'
          Dst:             hts_log
        - Src:             'vcf.c:5018,21'
          Dst:             hts_log
        - Src:             'vcf.c:5026,13'
          Dst:             bcf_hdr_sync
    - functionName:    bcf_itr_regions
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4945
      functionLinenumberEnd: 4946
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_hdr_name2id_wrapper
        - bcf_readrec
        - bgzf_pseek
        - bgzf_ptell
        - hts_itr_multi_bam
        - hts_itr_regions
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4946,12'
          Dst:             hts_itr_regions
        - Src:             'vcf.c:4946,12'
          Dst:             bcf_hdr_name2id_wrapper
        - Src:             'vcf.c:4946,12'
          Dst:             hts_itr_multi_bam
        - Src:             'vcf.c:4946,12'
          Dst:             bcf_readrec
        - Src:             'vcf.c:4946,12'
          Dst:             bgzf_pseek
        - Src:             'vcf.c:4946,12'
          Dst:             bgzf_ptell
    - functionName:    bcf_hdr_name2id_wrapper
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4914
      functionLinenumberEnd: 4915
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_hdr_name2id
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4915,12'
          Dst:             bcf_hdr_name2id
    - functionName:    bcf_readrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2345
      functionLinenumberEnd: 2352
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          83
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_read1_core
        - bcf_record_check
        - bgzf_get_private_data
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2347,48'
          Dst:             bgzf_get_private_data
        - Src:             'vcf.c:2348,15'
          Dst:             bcf_read1_core
        - Src:             'vcf.c:2349,25'
          Dst:             bcf_record_check
    - functionName:    bgzf_get_private_data
      functionSourceFile: '/src/htslib/./bgzf_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       6
      CyclomaticComplexity: 2
      functionsReached:
        - __assert_fail
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './bgzf_internal.h:68,5'
          Dst:             __assert_fail
    - functionName:    bcf_read1_core
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1940
      functionLinenumberEnd: 1976
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          336
      EdgeCount:       51
      CyclomaticComplexity: 16
      functionsReached:
        - bcf_clear
        - bgzf_read
        - ks_resize
        - le_to_float
        - le_to_i32
        - le_to_u16
        - le_to_u32
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1944,16'
          Dst:             bgzf_read
        - Src:             'vcf.c:1948,5'
          Dst:             bcf_clear
        - Src:             'vcf.c:1949,18'
          Dst:             le_to_u32
        - Src:             'vcf.c:1952,17'
          Dst:             le_to_u32
        - Src:             'vcf.c:1957,9'
          Dst:             ks_resize
        - Src:             'vcf.c:1958,9'
          Dst:             ks_resize
        - Src:             'vcf.c:1959,15'
          Dst:             le_to_i32
        - Src:             'vcf.c:1960,15'
          Dst:             le_to_u32
        - Src:             'vcf.c:1962,15'
          Dst:             le_to_i32
        - Src:             'vcf.c:1963,15'
          Dst:             le_to_float
        - Src:             'vcf.c:1964,17'
          Dst:             le_to_u16
        - Src:             'vcf.c:1965,19'
          Dst:             le_to_u16
        - Src:             'vcf.c:1966,19'
          Dst:             le_to_u32
        - Src:             'vcf.c:1973,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1974,9'
          Dst:             bgzf_read
    - functionName:    bcf_record_check
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2105
      functionLinenumberEnd: 2289
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         178
      ICount:          1111
      EdgeCount:       242
      CyclomaticComplexity: 66
      functionsReached:
        - bcf_dec_int1
        - bcf_dec_size_safe
        - bcf_dec_typed_int1_safe
        - bcf_get_version
        - bcf_hdr_id2int
        - bcf_record_check_err
        - bcf_seqname_safe
        - get_rlen
        - get_type_name
        - hts_log
        - updatephasing
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2127,21'
          Dst:             bcf_get_version
        - Src:             'vcf.c:2128,25'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:2135,9'
          Dst:             hts_log
        - Src:             'vcf.c:2142,9'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2144,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2144,9'
          Dst:             get_type_name
        - Src:             'vcf.c:2144,9'
          Dst:             hts_log
        - Src:             'vcf.c:2153,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2153,9'
          Dst:             hts_log
        - Src:             'vcf.c:2160,13'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2163,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2163,17'
          Dst:             get_type_name
        - Src:             'vcf.c:2163,17'
          Dst:             hts_log
        - Src:             'vcf.c:2173,9'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2177,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2177,13'
          Dst:             get_type_name
        - Src:             'vcf.c:2177,13'
          Dst:             hts_log
        - Src:             'vcf.c:2184,31'
          Dst:             bcf_dec_int1
        - Src:             'vcf.c:2189,25'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2189,25'
          Dst:             hts_log
        - Src:             'vcf.c:2201,13'
          Dst:             bcf_dec_typed_int1_safe
        - Src:             'vcf.c:2205,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2205,17'
          Dst:             hts_log
        - Src:             'vcf.c:2208,13'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2212,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2212,17'
          Dst:             get_type_name
        - Src:             'vcf.c:2212,17'
          Dst:             hts_log
        - Src:             'vcf.c:2226,13'
          Dst:             bcf_dec_typed_int1_safe
        - Src:             'vcf.c:2230,13'
          Dst:             bcf_record_check_err
        - Src:             'vcf.c:2233,13'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2236,13'
          Dst:             bcf_record_check_err
        - Src:             'vcf.c:2251,17'
          Dst:             updatephasing
        - Src:             'vcf.c:2264,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2264,13'
          Dst:             hts_log
        - Src:             'vcf.c:2270,25'
          Dst:             get_rlen
        - Src:             'vcf.c:2279,5'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2279,5'
          Dst:             hts_log
        - Src:             'vcf.c:2283,5'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2283,5'
          Dst:             hts_log
        - Src:             'vcf.c:2287,5'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2287,5'
          Dst:             hts_log
    - functionName:    bcf_clear
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1888
      functionLinenumberEnd: 1917
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          271
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - bcf_float_set
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1907,5'
          Dst:             bcf_float_set
    - functionName:    bcf_itr_regarray
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4925
      functionLinenumberEnd: 4942
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          63
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_hdr_name2id_wrapper
        - bcf_readrec
        - bgzf_pseek
        - bgzf_ptell
        - hts_itr_multi_bam
        - hts_itr_regions
        - hts_reglist_create
        - hts_reglist_free
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4930,14'
          Dst:             hts_reglist_create
        - Src:             'vcf.c:4930,14'
          Dst:             bcf_hdr_name2id_wrapper
        - Src:             'vcf.c:4935,11'
          Dst:             hts_itr_regions
        - Src:             'vcf.c:4935,11'
          Dst:             bcf_hdr_name2id_wrapper
        - Src:             'vcf.c:4935,11'
          Dst:             hts_itr_multi_bam
        - Src:             'vcf.c:4935,11'
          Dst:             bcf_readrec
        - Src:             'vcf.c:4935,11'
          Dst:             bgzf_pseek
        - Src:             'vcf.c:4935,11'
          Dst:             bgzf_ptell
        - Src:             'vcf.c:4939,9'
          Dst:             hts_reglist_free
    - functionName:    bcf_itr_querys1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4919
      functionLinenumberEnd: 4920
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_hdr_name2id_wrapper
        - bcf_readrec
        - hts_itr_query
        - hts_itr_querys
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4920,12'
          Dst:             hts_itr_querys
        - Src:             'vcf.c:4920,12'
          Dst:             bcf_hdr_name2id_wrapper
        - Src:             'vcf.c:4920,12'
          Dst:             hts_itr_query
        - Src:             'vcf.c:4920,12'
          Dst:             bcf_readrec
    - functionName:    bcf_idx_save
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4909
      functionLinenumberEnd: 4910
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sam_idx_save
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4910,12'
          Dst:             sam_idx_save
    - functionName:    vcf_idx_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4843
      functionLinenumberEnd: 4878
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          131
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - hts_idx_destroy
        - hts_idx_init
        - hts_idx_set_meta
        - idx_calc_n_lvls_ids
        - u32_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4854,18'
          Dst:             idx_calc_n_lvls_ids
        - Src:             'vcf.c:4858,15'
          Dst:             hts_idx_init
        - Src:             'vcf.c:4863,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4864,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4865,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4866,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4867,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4868,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4869,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4870,9'
          Dst:             hts_idx_set_meta
        - Src:             'vcf.c:4871,9'
          Dst:             hts_idx_destroy
    - functionName:    idx_calc_n_lvls_ids
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4725
      functionLinenumberEnd: 4741
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          128
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - hts_adjust_csi_settings
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4738,5'
          Dst:             hts_adjust_csi_settings
    - functionName:    bcf_idx_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4882
      functionLinenumberEnd: 4903
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          110
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - hts_idx_init
        - hts_log
        - idx_calc_n_lvls_ids
        - vcf_idx_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4886,9'
          Dst:             hts_log
        - Src:             'vcf.c:4891,16'
          Dst:             vcf_idx_init
        - Src:             'vcf.c:4896,14'
          Dst:             idx_calc_n_lvls_ids
        - Src:             'vcf.c:4898,15'
          Dst:             hts_idx_init
    - functionName:    bcf_index_build
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4837
      functionLinenumberEnd: 4838
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_index_build3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4838,12'
          Dst:             bcf_index_build3
    - functionName:    bcf_index_build3
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4788
      functionLinenumberEnd: 4829
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          168
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - bcf_index
        - hts_close
        - hts_get_bgzfp
        - hts_idx_destroy
        - hts_idx_save_as
        - hts_log
        - hts_open
        - hts_set_threads
        - tbx_destroy
        - tbx_index
      functionUses:    2
      BranchProfiles:
        - Branch String:   'vcf.c:4797,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:4793,15'
          Dst:             hts_open
        - Src:             'vcf.c:4795,9'
          Dst:             hts_set_threads
        - Src:             'vcf.c:4796,43'
          Dst:             hts_close
        - Src:             'vcf.c:4800,17'
          Dst:             hts_log
        - Src:             'vcf.c:4803,23'
          Dst:             bcf_index
        - Src:             'vcf.c:4805,27'
          Dst:             hts_idx_save_as
        - Src:             'vcf.c:4807,21'
          Dst:             hts_idx_destroy
        - Src:             'vcf.c:4814,29'
          Dst:             hts_get_bgzfp
        - Src:             'vcf.c:4814,19'
          Dst:             tbx_index
        - Src:             'vcf.c:4816,23'
          Dst:             hts_idx_save_as
        - Src:             'vcf.c:4818,17'
          Dst:             tbx_destroy
        - Src:             'vcf.c:4827,5'
          Dst:             hts_close
    - functionName:    bcf_index
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4745
      functionLinenumberEnd: 4775
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          168
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - bcf_destroy
        - bcf_hdr_destroy
        - bcf_hdr_read
        - bcf_init
        - bcf_read
        - hts_idx_destroy
        - hts_idx_finish
        - hts_idx_init
        - hts_idx_push
        - idx_calc_n_lvls_ids
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4751,9'
          Dst:             bcf_hdr_read
        - Src:             'vcf.c:4754,14'
          Dst:             idx_calc_n_lvls_ids
        - Src:             'vcf.c:4755,11'
          Dst:             hts_idx_init
        - Src:             'vcf.c:4757,9'
          Dst:             bcf_init
        - Src:             'vcf.c:4759,17'
          Dst:             bcf_read
        - Src:             'vcf.c:4761,15'
          Dst:             hts_idx_push
        - Src:             'vcf.c:4765,5'
          Dst:             hts_idx_finish
        - Src:             'vcf.c:4766,5'
          Dst:             bcf_destroy
        - Src:             'vcf.c:4767,5'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:4771,5'
          Dst:             hts_idx_destroy
        - Src:             'vcf.c:4772,5'
          Dst:             bcf_destroy
        - Src:             'vcf.c:4773,5'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_hdr_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1776
      functionLinenumberEnd: 1834
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         33
      ICount:          222
      EdgeCount:       45
      CyclomaticComplexity: 14
      functionsReached:
        - __assert_fail
        - __errno_location
        - bcf_hdr_destroy
        - bcf_hdr_incr_ref
        - bcf_hdr_init
        - bcf_hdr_parse
        - bgzf_read
        - bgzf_set_private_data
        - hdr_bgzf_private_data_cleanup
        - hts_log
        - strncmp
        - vcf_hdr_read
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1778,16'
          Dst:             vcf_hdr_read
        - Src:             'vcf.c:1780,9'
          Dst:             hts_log
        - Src:             'vcf.c:1784,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:1789,9'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:1791,9'
          Dst:             hts_log
        - Src:             'vcf.c:1794,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1796,9'
          Dst:             hts_log
        - Src:             'vcf.c:1797,9'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:1800,9'
          Dst:             strncmp
        - Src:             'vcf.c:1802,14'
          Dst:             strncmp
        - Src:             'vcf.c:1803,13'
          Dst:             hts_log
        - Src:             'vcf.c:1805,13'
          Dst:             hts_log
        - Src:             'vcf.c:1806,9'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:1812,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1814,29'
          Dst:             __errno_location
        - Src:             'vcf.c:1816,38'
          Dst:             __errno_location
        - Src:             'vcf.c:1820,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1822,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:1825,5'
          Dst:             bcf_hdr_incr_ref
        - Src:             'vcf.c:1826,5'
          Dst:             bgzf_set_private_data
        - Src:             'vcf.c:1826,5'
          Dst:             hdr_bgzf_private_data_cleanup
        - Src:             'vcf.c:1830,5'
          Dst:             hts_log
        - Src:             'vcf.c:1832,5'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1881
      functionLinenumberEnd: 1884
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1883,18'
          Dst:             calloc
    - functionName:    bcf_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2334
      functionLinenumberEnd: 2342
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          102
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - bcf_read1_core
        - bcf_record_check
        - bcf_subset_format
        - bgzf_get_private_data
        - vcf_read
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2335,42'
          Dst:             vcf_read
        - Src:             'vcf.c:2337,33'
          Dst:             bgzf_get_private_data
        - Src:             'vcf.c:2338,15'
          Dst:             bcf_read1_core
        - Src:             'vcf.c:2339,25'
          Dst:             bcf_record_check
        - Src:             'vcf.c:2341,12'
          Dst:             bcf_subset_format
    - functionName:    bcf_destroy
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1933
      functionLinenumberEnd: 1937
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          28
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_empty
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1935,5'
          Dst:             bcf_empty
    - functionName:    bcf_empty
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1920
      functionLinenumberEnd: 1930
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          83
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_clear
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1921,5'
          Dst:             bcf_clear
    - functionName:    vcf_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4258
      functionLinenumberEnd: 4263
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hts_getline
        - vcf_parse
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4260,11'
          Dst:             hts_getline
        - Src:             'vcf.c:4262,12'
          Dst:             vcf_parse
    - functionName:    bcf_subset_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2293
      functionLinenumberEnd: 2331
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         33
      ICount:          457
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - bcf_unpack_fmt_core1
        - hts_realloc_or_die
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2304,5'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:2309,15'
          Dst:             bcf_unpack_fmt_core1
    - functionName:    vcf_parse
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4073
      functionLinenumberEnd: 4239
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         102
      ICount:          705
      EdgeCount:       140
      CyclomaticComplexity: 40
      functionsReached:
        - atof
        - bcf_clear
        - bcf_enc_size
        - bcf_enc_vchar
        - bcf_enc_vint
        - bcf_float_set
        - bcf_seqname_safe
        - fix_chromosome
        - get_rlen
        - hts_log
        - hts_str2uint
        - kh_get_vdict
        - ks_resize
        - kstrtok
        - memcmp
        - vcf_parse_filter
        - vcf_parse_format
        - vcf_parse_info
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4095,9'
          Dst:             ks_resize
        - Src:             'vcf.c:4108,5'
          Dst:             bcf_clear
        - Src:             'vcf.c:4113,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4118,9'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:4120,9'
          Dst:             hts_log
        - Src:             'vcf.c:4122,17'
          Dst:             hts_log
        - Src:             'vcf.c:4124,18'
          Dst:             fix_chromosome
        - Src:             'vcf.c:4125,13'
          Dst:             hts_log
        - Src:             'vcf.c:4133,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4139,14'
          Dst:             hts_str2uint
        - Src:             'vcf.c:4141,9'
          Dst:             hts_log
        - Src:             'vcf.c:4144,9'
          Dst:             hts_log
        - Src:             'vcf.c:4153,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4157,9'
          Dst:             memcmp
        - Src:             'vcf.c:4157,21'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:4158,10'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:4161,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4165,5'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:4169,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4173,9'
          Dst:             memcmp
        - Src:             'vcf.c:4177,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4177,21'
          Dst:             hts_log
        - Src:             'vcf.c:4182,17'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:4191,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4195,9'
          Dst:             memcmp
        - Src:             'vcf.c:4195,31'
          Dst:             atof
        - Src:             'vcf.c:4196,10'
          Dst:             bcf_float_set
        - Src:             'vcf.c:4200,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4204,9'
          Dst:             memcmp
        - Src:             'vcf.c:4205,13'
          Dst:             vcf_parse_filter
        - Src:             'vcf.c:4208,12'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:4212,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4216,9'
          Dst:             memcmp
        - Src:             'vcf.c:4217,13'
          Dst:             vcf_parse_info
        - Src:             'vcf.c:4224,9'
          Dst:             kstrtok
        - Src:             'vcf.c:4228,13'
          Dst:             vcf_parse_format
        - Src:             'vcf.c:4234,15'
          Dst:             get_rlen
    - functionName:    fix_chromosome
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3823
      functionLinenumberEnd: 3840
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          98
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - bcf_hdr_add_hrec
        - bcf_hdr_parse_line
        - bcf_hdr_sync
        - bcf_hrec_destroy
        - kh_get_vdict
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3830,9'
          Dst:             ksprintf
        - Src:             'vcf.c:3832,24'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3834,22'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3835,18'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3836,24'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3837,9'
          Dst:             kh_get_vdict
    - functionName:    atof
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    vcf_parse_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3842
      functionLinenumberEnd: 3898
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          325
      EdgeCount:       56
      CyclomaticComplexity: 15
      functionsReached:
        - bcf_enc_vint
        - bcf_hdr_add_hrec
        - bcf_hdr_parse_line
        - bcf_hdr_sync
        - bcf_hrec_destroy
        - bcf_seqname_safe
        - hts_log
        - hts_malloc_p
        - kh_get_vdict
        - ksprintf
        - kstrtok
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3854,17'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:3856,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3856,13'
          Dst:             hts_log
        - Src:             'vcf.c:3863,14'
          Dst:             kstrtok
        - Src:             'vcf.c:3865,13'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3870,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3870,13'
          Dst:             hts_log
        - Src:             'vcf.c:3873,17'
          Dst:             hts_log
        - Src:             'vcf.c:3876,13'
          Dst:             ksprintf
        - Src:             'vcf.c:3877,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3879,30'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3880,26'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3881,32'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3882,17'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3885,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3885,17'
          Dst:             hts_log
        - Src:             'vcf.c:3863,52'
          Dst:             kstrtok
        - Src:             'vcf.c:3894,5'
          Dst:             bcf_enc_vint
    - functionName:    vcf_parse_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3900
      functionLinenumberEnd: 4070
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         151
      ICount:          926
      EdgeCount:       200
      CyclomaticComplexity: 51
      functionsReached:
        - bcf_enc_int1
        - bcf_enc_size
        - bcf_enc_vchar
        - bcf_enc_vfloat
        - bcf_enc_vint
        - bcf_float_set
        - bcf_hdr_add_hrec
        - bcf_hdr_parse_line
        - bcf_hdr_sync
        - bcf_hrec_destroy
        - bcf_seqname_safe
        - hts_log
        - hts_realloc_p
        - hts_str2dbl
        - hts_str2int
        - kh_get_vdict
        - ksprintf
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3915,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3915,13'
          Dst:             hts_log
        - Src:             'vcf.c:3929,13'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3932,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3932,13'
          Dst:             hts_log
        - Src:             'vcf.c:3935,17'
          Dst:             hts_log
        - Src:             'vcf.c:3938,13'
          Dst:             ksprintf
        - Src:             'vcf.c:3939,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3941,30'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3942,26'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3943,32'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3944,17'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3947,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3947,17'
          Dst:             hts_log
        - Src:             'vcf.c:3954,9'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:3956,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3958,13'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:3966,34'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:3968,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3968,21'
          Dst:             hts_log
        - Src:             'vcf.c:4004,40'
          Dst:             hts_str2int
        - Src:             'vcf.c:4010,29'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4010,29'
          Dst:             hts_log
        - Src:             'vcf.c:4029,21'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:4032,21'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:4035,24'
          Dst:             memcmp
        - Src:             'vcf.c:4041,29'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4041,29'
          Dst:             hts_log
        - Src:             'vcf.c:4051,32'
          Dst:             hts_str2dbl
        - Src:             'vcf.c:4053,25'
          Dst:             bcf_float_set
        - Src:             'vcf.c:4056,17'
          Dst:             bcf_enc_vfloat
    - functionName:    vcf_parse_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3767
      functionLinenumberEnd: 3821
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          155
      EdgeCount:       28
      CyclomaticComplexity: 10
      functionsReached:
        - vcf_parse_format_alloc4
        - vcf_parse_format_check7
        - vcf_parse_format_dict2
        - vcf_parse_format_empty1
        - vcf_parse_format_fill5
        - vcf_parse_format_gt6
        - vcf_parse_format_max3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:3776,16'
          Dst:             vcf_parse_format_empty1
        - Src:             'vcf.c:3780,9'
          Dst:             vcf_parse_format_dict2
        - Src:             'vcf.c:3801,9'
          Dst:             vcf_parse_format_max3
        - Src:             'vcf.c:3805,9'
          Dst:             vcf_parse_format_alloc4
        - Src:             'vcf.c:3809,9'
          Dst:             vcf_parse_format_fill5
        - Src:             'vcf.c:3813,9'
          Dst:             vcf_parse_format_gt6
        - Src:             'vcf.c:3817,9'
          Dst:             vcf_parse_format_check7
    - functionName:    vcf_hdr_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2672
      functionLinenumberEnd: 2755
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         67
      ICount:          421
      EdgeCount:       93
      CyclomaticComplexity: 28
      functionsReached:
        - add_missing_contig_hrec
        - atol
        - bcf_hdr_destroy
        - bcf_hdr_get_hrec
        - bcf_hdr_init
        - bcf_hdr_parse
        - bcf_hdr_sync
        - hclose
        - hopen
        - hts_getline
        - hts_log
        - khgetline
        - kputc
        - kputl
        - kputs
        - kputsn
        - strchr
        - tbx_destroy
        - tbx_index_load3
        - tbx_seqnames
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2678,9'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:2680,9'
          Dst:             hts_log
        - Src:             'vcf.c:2684,19'
          Dst:             hts_getline
        - Src:             'vcf.c:2688,13'
          Dst:             hts_log
        - Src:             'vcf.c:2693,24'
          Dst:             hopen
        - Src:             'vcf.c:2695,17'
          Dst:             hts_log
        - Src:             'vcf.c:2698,31'
          Dst:             khgetline
        - Src:             'vcf.c:2699,29'
          Dst:             strchr
        - Src:             'vcf.c:2701,23'
          Dst:             kputs
        - Src:             'vcf.c:2702,23'
          Dst:             kputsn
        - Src:             'vcf.c:2703,23'
          Dst:             kputs
        - Src:             'vcf.c:2704,29'
          Dst:             atol
        - Src:             'vcf.c:2704,23'
          Dst:             kputl
        - Src:             'vcf.c:2705,23'
          Dst:             kputsn
        - Src:             'vcf.c:2708,17'
          Dst:             hclose
        - Src:             'vcf.c:2709,17'
          Dst:             hts_log
        - Src:             'vcf.c:2714,13'
          Dst:             kputsn
        - Src:             'vcf.c:2715,13'
          Dst:             kputc
        - Src:             'vcf.c:2721,9'
          Dst:             hts_log
        - Src:             'vcf.c:2724,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:2727,11'
          Dst:             tbx_index_load3
        - Src:             'vcf.c:2731,17'
          Dst:             tbx_seqnames
        - Src:             'vcf.c:2735,32'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:2737,17'
          Dst:             add_missing_contig_hrec
        - Src:             'vcf.c:2741,17'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:2744,9'
          Dst:             tbx_destroy
        - Src:             'vcf.c:2750,14'
          Dst:             tbx_destroy
        - Src:             'vcf.c:2753,12'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_hdr_incr_ref
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 198
      functionLinenumberEnd: 201
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_hdr_aux
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:199,26'
          Dst:             get_hdr_aux
    - functionName:    hdr_bgzf_private_data_cleanup
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 217
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_hdr_decr_ref
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:216,5'
          Dst:             bcf_hdr_decr_ref
    - functionName:    bgzf_set_private_data
      functionSourceFile: '/src/htslib/./bgzf_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 52
      functionLinenumberEnd: 56
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       6
      CyclomaticComplexity: 2
      functionsReached:
        - __assert_fail
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './bgzf_internal.h:53,5'
          Dst:             __assert_fail
    - functionName:    atol
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputl
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 445
      functionLinenumberEnd: 446
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - kputll
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:446,12'
          Dst:             kputll
    - functionName:    add_missing_contig_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2648
      functionLinenumberEnd: 2669
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          106
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - bcf_hdr_add_hrec
        - bcf_hrec_add_key
        - bcf_hrec_destroy
        - bcf_hrec_set_val
        - calloc
        - hts_log
        - strdup
        - strerror
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2649,24'
          Dst:             calloc
        - Src:             'vcf.c:2653,17'
          Dst:             strdup
        - Src:             'vcf.c:2656,9'
          Dst:             bcf_hrec_add_key
        - Src:             'vcf.c:2657,53'
          Dst:             strlen
        - Src:             'vcf.c:2657,9'
          Dst:             bcf_hrec_set_val
        - Src:             'vcf.c:2659,9'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:2664,18'
          Dst:             __errno_location
        - Src:             'vcf.c:2665,5'
          Dst:             __errno_location
        - Src:             'vcf.c:2665,5'
          Dst:             strerror
        - Src:             'vcf.c:2665,5'
          Dst:             hts_log
        - Src:             'vcf.c:2666,15'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:2667,5'
          Dst:             __errno_location
    - functionName:    kputll
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 385
      functionLinenumberEnd: 443
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          177
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - kputuw
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:388,9'
          Dst:             ks_resize
        - Src:             './htslib/kstring.h:398,9'
          Dst:             kputuw
    - functionName:    bcf_index_build2
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4832
      functionLinenumberEnd: 4833
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_index_build3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4833,12'
          Dst:             bcf_index_build3
    - functionName:    bcf_index_load3
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4783
      functionLinenumberEnd: 4784
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_idx_load3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4784,12'
          Dst:             hts_idx_load3
    - functionName:    bcf_index_load2
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4778
      functionLinenumberEnd: 4779
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hts_idx_load
        - hts_idx_load2
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4779,19'
          Dst:             hts_idx_load2
        - Src:             'vcf.c:4779,46'
          Dst:             hts_idx_load
    - functionName:    vcf_write_line
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4664
      functionLinenumberEnd: 4671
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          87
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_write
        - hwrite
        - kputc
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4666,37'
          Dst:             kputc
        - Src:             'vcf.c:4668,15'
          Dst:             bgzf_write
        - Src:             'vcf.c:4670,15'
          Dst:             hwrite
    - functionName:    hwrite
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          166
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - hfile_set_blksize
        - hwrite2
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:303,13'
          Dst:             hfile_set_blksize
        - Src:             './htslib/hfile.h:312,16'
          Dst:             hwrite2
        - Src:             './htslib/hfile.h:318,39'
          Dst:             hwrite2
    - functionName:    bcf_fmt_array1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3056
      functionLinenumberEnd: 3111
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          226
      EdgeCount:       46
      CyclomaticComplexity: 10
      functionsReached:
        - hts_log
        - kputc_
        - kputd
        - kputw
        - le_to_float
        - le_to_i16
        - le_to_i32
        - le_to_u32
      functionUses:    2
      BranchProfiles:
        - Branch String:   'vcf.c:3066,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:3068,14'
          Dst:             kputc_
        - Src:             'vcf.c:3074,21'
          Dst:             kputc_
        - Src:             'vcf.c:3075,21'
          Dst:             kputw
        - Src:             'vcf.c:3079,13'
          Dst:             le_to_i16
        - Src:             'vcf.c:3082,21'
          Dst:             kputc_
        - Src:             'vcf.c:3083,21'
          Dst:             kputw
        - Src:             'vcf.c:3088,13'
          Dst:             le_to_i32
        - Src:             'vcf.c:3091,21'
          Dst:             kputc_
        - Src:             'vcf.c:3092,21'
          Dst:             kputw
        - Src:             'vcf.c:3097,13'
          Dst:             le_to_u32
        - Src:             'vcf.c:3100,21'
          Dst:             kputc_
        - Src:             'vcf.c:3101,27'
          Dst:             le_to_float
        - Src:             'vcf.c:3101,21'
          Dst:             kputd
        - Src:             'vcf.c:3106,9'
          Dst:             hts_log
    - functionName:    bcf_format_gt_v2
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6460
      functionLinenumberEnd: 6520
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         102
      ICount:          689
      EdgeCount:       131
      CyclomaticComplexity: 31
      functionsReached:
        - get_hdr_aux
        - hts_log
        - kinsert_char
        - kputc
        - kputw
        - le_to_i16
        - le_to_i32
        - le_to_i8
      functionUses:    1
      BranchProfiles:
        - Branch String:   'vcf.c:6484,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6485,28'
          Dst:             le_to_i8
        - Src:             'vcf.c:6485,28'
          Dst:             kputc
        - Src:             'vcf.c:6485,28'
          Dst:             kputc
        - Src:             'vcf.c:6485,28'
          Dst:             kputw
        - Src:             'vcf.c:6485,28'
          Dst:             kputc
        - Src:             'vcf.c:6487,28'
          Dst:             le_to_i16
        - Src:             'vcf.c:6487,28'
          Dst:             kputc
        - Src:             'vcf.c:6487,28'
          Dst:             kputc
        - Src:             'vcf.c:6487,28'
          Dst:             kputw
        - Src:             'vcf.c:6487,28'
          Dst:             kputc
        - Src:             'vcf.c:6489,28'
          Dst:             le_to_i32
        - Src:             'vcf.c:6489,28'
          Dst:             kputc
        - Src:             'vcf.c:6489,28'
          Dst:             kputc
        - Src:             'vcf.c:6489,28'
          Dst:             kputw
        - Src:             'vcf.c:6489,28'
          Dst:             kputc
        - Src:             'vcf.c:6491,33'
          Dst:             kputc
        - Src:             'vcf.c:6492,18'
          Dst:             hts_log
        - Src:             'vcf.c:6496,16'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:6506,22'
          Dst:             kinsert_char
        - Src:             'vcf.c:6508,30'
          Dst:             kinsert_char
        - Src:             'vcf.c:6515,22'
          Dst:             kinsert_char
    - functionName:    bcf_float_is_missing
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1558
      functionLinenumberEnd: 1561
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - float
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    vcf_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4392
      functionLinenumberEnd: 4661
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         213
      ICount:          1613
      EdgeCount:       285
      CyclomaticComplexity: 74
      functionsReached:
        - __errno_location
        - bcf_dec_size
        - bcf_dec_typed_int1
        - bcf_float_is_missing
        - bcf_fmt_array
        - bcf_fmt_array1
        - bcf_format_gt_v2
        - bcf_seqname
        - bcf_seqname_safe
        - bcf_unpack
        - calloc
        - get_hdr_aux
        - hts_log
        - hts_malloc_p
        - kputc
        - kputc_
        - kputd
        - kputll
        - kputs
        - kputsn
        - kputw
        - ks_resize
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4395,25'
          Dst:             bcf_seqname
        - Src:             'vcf.c:4397,9'
          Dst:             hts_log
        - Src:             'vcf.c:4399,9'
          Dst:             __errno_location
        - Src:             'vcf.c:4403,5'
          Dst:             bcf_unpack
        - Src:             'vcf.c:4414,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:4416,30'
          Dst:             calloc
        - Src:             'vcf.c:4421,5'
          Dst:             kputs
        - Src:             'vcf.c:4422,5'
          Dst:             kputc_
        - Src:             'vcf.c:4422,22'
          Dst:             kputll
        - Src:             'vcf.c:4423,5'
          Dst:             kputc_
        - Src:             'vcf.c:4423,22'
          Dst:             kputs
        - Src:             'vcf.c:4424,5'
          Dst:             kputc_
        - Src:             'vcf.c:4425,26'
          Dst:             kputs
        - Src:             'vcf.c:4426,10'
          Dst:             kputc_
        - Src:             'vcf.c:4427,5'
          Dst:             kputc_
        - Src:             'vcf.c:4430,24'
          Dst:             kputc_
        - Src:             'vcf.c:4431,13'
          Dst:             kputs
        - Src:             'vcf.c:4433,12'
          Dst:             kputc_
        - Src:             'vcf.c:4434,5'
          Dst:             kputc_
        - Src:             'vcf.c:4435,10'
          Dst:             bcf_float_is_missing
        - Src:             'vcf.c:4435,42'
          Dst:             kputc_
        - Src:             'vcf.c:4436,10'
          Dst:             kputd
        - Src:             'vcf.c:4437,5'
          Dst:             kputc_
        - Src:             'vcf.c:4443,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4443,17'
          Dst:             hts_log
        - Src:             'vcf.c:4445,17'
          Dst:             __errno_location
        - Src:             'vcf.c:4448,20'
          Dst:             kputc_
        - Src:             'vcf.c:4450,32'
          Dst:             strlen
        - Src:             'vcf.c:4451,13'
          Dst:             kputsn
        - Src:             'vcf.c:4453,12'
          Dst:             kputc_
        - Src:             'vcf.c:4455,5'
          Dst:             kputc_
        - Src:             'vcf.c:4475,27'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4476,27'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4492,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4492,17'
          Dst:             hts_log
        - Src:             'vcf.c:4497,17'
          Dst:             __errno_location
        - Src:             'vcf.c:4503,35'
          Dst:             strlen
        - Src:             'vcf.c:4505,17'
          Dst:             ks_resize
        - Src:             'vcf.c:4522,17'
          Dst:             bcf_fmt_array
        - Src:             'vcf.c:4527,26'
          Dst:             bcf_float_is_missing
        - Src:             'vcf.c:4528,25'
          Dst:             kputc_
        - Src:             'vcf.c:4530,25'
          Dst:             kputd
        - Src:             'vcf.c:4532,21'
          Dst:             kputc_
        - Src:             'vcf.c:4541,25'
          Dst:             kputc_
        - Src:             'vcf.c:4543,25'
          Dst:             kputw
        - Src:             'vcf.c:4546,25'
          Dst:             kputc_
        - Src:             'vcf.c:4548,25'
          Dst:             kputll
        - Src:             'vcf.c:4550,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4550,21'
          Dst:             hts_log
        - Src:             'vcf.c:4551,21'
          Dst:             __errno_location
        - Src:             'vcf.c:4556,22'
          Dst:             kputc_
        - Src:             'vcf.c:4557,12'
          Dst:             kputc_
        - Src:             'vcf.c:4576,23'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:4586,31'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4587,31'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4593,17'
          Dst:             kputc_
        - Src:             'vcf.c:4600,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4600,21'
          Dst:             hts_log
        - Src:             'vcf.c:4601,21'
          Dst:             __errno_location
        - Src:             'vcf.c:4608,38'
          Dst:             strlen
        - Src:             'vcf.c:4610,17'
          Dst:             kputsn
        - Src:             'vcf.c:4614,26'
          Dst:             kputsn
        - Src:             'vcf.c:4618,17'
          Dst:             kputc_
        - Src:             'vcf.c:4623,33'
          Dst:             kputc_
        - Src:             'vcf.c:4626,36'
          Dst:             bcf_format_gt_v2
        - Src:             'vcf.c:4627,29'
          Dst:             hts_log
        - Src:             'vcf.c:4628,29'
          Dst:             __errno_location
        - Src:             'vcf.c:4636,25'
          Dst:             bcf_fmt_array1
        - Src:             'vcf.c:4638,25'
          Dst:             bcf_fmt_array
        - Src:             'vcf.c:4644,21'
          Dst:             kputc_
        - Src:             'vcf.c:4646,25'
          Dst:             bcf_fmt_array1
        - Src:             'vcf.c:4648,25'
          Dst:             bcf_fmt_array
        - Src:             'vcf.c:4650,30'
          Dst:             kputc_
        - Src:             'vcf.c:4657,17'
          Dst:             kputsn
        - Src:             'vcf.c:4659,5'
          Dst:             kputc
    - functionName:    find_file_extension
      functionSourceFile: '/src/htslib/./hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         58
      ICount:          308
      EdgeCount:       79
      CyclomaticComplexity: 23
      functionsReached:
        - strlen
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_internal.h:142,30'
          Dst:             strstr
        - Src:             './hts_internal.h:144,30'
          Dst:             strlen
    - functionName:    vcf_open_mode
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4242
      functionLinenumberEnd: 4255
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          102
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - find_file_extension
        - strcasecmp
        - strcpy
        - vcf_open_mode
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4246,13'
          Dst:             find_file_extension
        - Src:             'vcf.c:4247,16'
          Dst:             vcf_open_mode
        - Src:             'vcf.c:4249,14'
          Dst:             strcasecmp
        - Src:             'vcf.c:4249,46'
          Dst:             strcpy
        - Src:             'vcf.c:4250,14'
          Dst:             strcasecmp
        - Src:             'vcf.c:4250,46'
          Dst:             strcpy
        - Src:             'vcf.c:4251,14'
          Dst:             strcasecmp
        - Src:             'vcf.c:4251,51'
          Dst:             strcasecmp
        - Src:             'vcf.c:4251,87'
          Dst:             strcpy
    - functionName:    bcf_hdr_seqnames
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2845
      functionLinenumberEnd: 2886
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          257
      EdgeCount:       49
      CyclomaticComplexity: 14
      functionsReached:
        - calloc
        - hts_log
        - hts_resize_array_
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2848,41'
          Dst:             calloc
        - Src:             'vcf.c:2851,9'
          Dst:             hts_log
        - Src:             'vcf.c:2864,18'
          Dst:             hts_resize_array_
        - Src:             'vcf.c:2866,17'
          Dst:             hts_log
    - functionName:    bcf_hdr_fmt_text
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2836
      functionLinenumberEnd: 2842
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          52
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf_hdr_format
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2838,9'
          Dst:             bcf_hdr_format
    - functionName:    bcf_hrec_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2813
      functionLinenumberEnd: 2814
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _bcf_hrec_format
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2814,12'
          Dst:             _bcf_hrec_format
    - functionName:    bcf_hdr_set
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2758
      functionLinenumberEnd: 2787
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          161
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - bcf_hdr_add_hrec
        - bcf_hdr_parse_line
        - bcf_hdr_parse_sample_line
        - bcf_hdr_sync
        - bcf_hrec_destroy
        - hts_readlines
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2760,20'
          Dst:             hts_readlines
        - Src:             'vcf.c:2765,28'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:2767,13'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:2768,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:2774,9'
          Dst:             bcf_hdr_parse_sample_line
        - Src:             'vcf.c:2775,9'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:2781,18'
          Dst:             __errno_location
        - Src:             'vcf.c:2785,5'
          Dst:             __errno_location
    - functionName:    vcf_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4675
      functionLinenumberEnd: 4702
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          228
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - bcf_seqname_safe
        - bgzf_flush_try
        - bgzf_idx_push
        - bgzf_write
        - hts_idx_amend_last
        - hts_idx_tbi_name
        - hwrite
        - vcf_format
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4678,9'
          Dst:             vcf_format
        - Src:             'vcf.c:4681,13'
          Dst:             bgzf_flush_try
        - Src:             'vcf.c:4684,13'
          Dst:             hts_idx_amend_last
        - Src:             'vcf.c:4685,15'
          Dst:             bgzf_write
        - Src:             'vcf.c:4687,15'
          Dst:             hwrite
        - Src:             'vcf.c:4692,54'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4692,20'
          Dst:             hts_idx_tbi_name
        - Src:             'vcf.c:4695,13'
          Dst:             bgzf_idx_push
    - functionName:    bcf_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2588
      functionLinenumberEnd: 2642
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          347
      EdgeCount:       43
      CyclomaticComplexity: 14
      functionsReached:
        - bcf1_sync
        - bcf_hdr_sync
        - bcf_seqname_safe
        - bcf_strerror
        - bgzf_idx_push
        - bgzf_write
        - float_to_le
        - hts_log
        - i32_to_le
        - u16_to_le
        - u32_to_le
        - vcf_write
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2590,13'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:2594,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2594,9'
          Dst:             hts_log
        - Src:             'vcf.c:2600,16'
          Dst:             vcf_write
        - Src:             'vcf.c:2609,9'
          Dst:             bcf_strerror
        - Src:             'vcf.c:2609,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2609,9'
          Dst:             hts_log
        - Src:             'vcf.c:2612,5'
          Dst:             bcf1_sync
        - Src:             'vcf.c:2616,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2616,9'
          Dst:             hts_log
        - Src:             'vcf.c:2622,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2623,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2624,5'
          Dst:             i32_to_le
        - Src:             'vcf.c:2625,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2626,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2627,5'
          Dst:             float_to_le
        - Src:             'vcf.c:2628,5'
          Dst:             u16_to_le
        - Src:             'vcf.c:2629,5'
          Dst:             u16_to_le
        - Src:             'vcf.c:2630,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2631,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:2632,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:2633,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:2636,13'
          Dst:             bgzf_idx_push
    - functionName:    bcf1_sync
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2410
      functionLinenumberEnd: 2548
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         100
      ICount:          980
      EdgeCount:       133
      CyclomaticComplexity: 35
      functionsReached:
        - bcf1_sync_alleles
        - bcf1_sync_filter
        - bcf1_sync_id
        - bcf1_sync_info
        - bcf_enc_vint
        - bcf_unpack
        - kputsn_
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2419,9'
          Dst:             bcf1_sync_id
        - Src:             'vcf.c:2422,9'
          Dst:             bcf1_sync_alleles
        - Src:             'vcf.c:2425,9'
          Dst:             bcf1_sync_filter
        - Src:             'vcf.c:2428,9'
          Dst:             bcf1_sync_info
        - Src:             'vcf.c:2435,47'
          Dst:             bcf_unpack
        - Src:             'vcf.c:2442,13'
          Dst:             bcf1_sync_id
        - Src:             'vcf.c:2444,13'
          Dst:             kputsn_
        - Src:             'vcf.c:2450,13'
          Dst:             bcf1_sync_alleles
        - Src:             'vcf.c:2453,13'
          Dst:             kputsn_
        - Src:             'vcf.c:2454,63'
          Dst:             strlen
        - Src:             'vcf.c:2463,17'
          Dst:             bcf1_sync_filter
        - Src:             'vcf.c:2465,17'
          Dst:             kputsn_
        - Src:             'vcf.c:2467,17'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:2476,21'
          Dst:             bcf1_sync_info
        - Src:             'vcf.c:2483,21'
          Dst:             kputsn_
        - Src:             'vcf.c:2520,13'
          Dst:             kputsn_
    - functionName:    bcf_dup
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2582
      functionLinenumberEnd: 2584
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bcf_copy
        - bcf_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2583,19'
          Dst:             bcf_init
        - Src:             'vcf.c:2584,12'
          Dst:             bcf_copy
    - functionName:    bcf_copy
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2552
      functionLinenumberEnd: 2579
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          227
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bcf1_sync
        - bcf_clear
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2553,5'
          Dst:             bcf1_sync
        - Src:             'vcf.c:2555,5'
          Dst:             bcf_clear
        - Src:             'vcf.c:2565,33'
          Dst:             realloc
        - Src:             'vcf.c:2573,32'
          Dst:             realloc
    - functionName:    vcf_hdr_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2889
      functionLinenumberEnd: 2905
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          124
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - bcf_hdr_format
        - bgzf_flush
        - bgzf_write
        - hwrite
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2891,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:2898,15'
          Dst:             bgzf_write
        - Src:             'vcf.c:2899,13'
          Dst:             bgzf_flush
        - Src:             'vcf.c:2901,15'
          Dst:             hwrite
    - functionName:    bcf_hdr_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1837
      functionLinenumberEnd: 1874
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          192
      EdgeCount:       40
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - bcf_hdr_format
        - bcf_hdr_incr_ref
        - bcf_hdr_sync
        - bgzf_flush
        - bgzf_set_private_data
        - bgzf_write
        - hdr_bgzf_private_data_cleanup
        - kputc
        - u32_to_le
        - vcf_hdr_write
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1839,9'
          Dst:             __errno_location
        - Src:             'vcf.c:1843,13'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:1848,16'
          Dst:             vcf_hdr_write
        - Src:             'vcf.c:1855,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:1859,5'
          Dst:             kputc
        - Src:             'vcf.c:1862,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:1864,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:1865,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:1866,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:1867,10'
          Dst:             bgzf_flush
        - Src:             'vcf.c:1869,5'
          Dst:             bcf_hdr_incr_ref
        - Src:             'vcf.c:1870,5'
          Dst:             bgzf_set_private_data
        - Src:             'vcf.c:1870,5'
          Dst:             hdr_bgzf_private_data_cleanup
    - functionName:    bcf_hdr_printf
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1630
      functionLinenumberEnd: 1652
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          92
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - bcf_hdr_append
        - vsnprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1634,13'
          Dst:             vsnprintf
        - Src:             'vcf.c:1644,9'
          Dst:             vsnprintf
        - Src:             'vcf.c:1648,15'
          Dst:             bcf_hdr_append
    - functionName:    vsnprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bcf_hdr_remove_from_hdict
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1098
      functionLinenumberEnd: 1136
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          256
      EdgeCount:       46
      CyclomaticComplexity: 11
      functionsReached:
        - bcf_hrec_find_key
        - get_hdr_aux
        - kh_del_hdict
        - kh_get_hdict
        - ksprintf
      functionUses:    2
      BranchProfiles:
        - Branch String:   'vcf.c:1104,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:1100,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1106,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1110,14'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1114,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1121,13'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1133,9'
          Dst:             kh_del_hdict
    - functionName:    bcf_hdr_remove
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1565
      functionLinenumberEnd: 1627
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          440
      EdgeCount:       86
      CyclomaticComplexity: 23
      functionsReached:
        - __assert_fail
        - bcf_hdr_get_hrec
        - bcf_hdr_remove_from_hdict
        - bcf_hdr_unregister_hrec
        - bcf_hrec_destroy
        - bcf_hrec_find_key
        - kh_get_vdict
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1575,13'
          Dst:             bcf_hdr_unregister_hrec
        - Src:             'vcf.c:1576,13'
          Dst:             bcf_hdr_remove_from_hdict
        - Src:             'vcf.c:1581,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1589,20'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:1594,13'
          Dst:             __assert_fail
        - Src:             'vcf.c:1597,25'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:1607,27'
          Dst:             strcmp
        - Src:             'vcf.c:1612,29'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1613,35'
          Dst:             strcmp
        - Src:             'vcf.c:1618,13'
          Dst:             bcf_hdr_remove_from_hdict
        - Src:             'vcf.c:1624,9'
          Dst:             bcf_hrec_destroy
    - functionName:    bcf_header_debug
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 424
      functionLinenumberEnd: 439
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          162
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:430,13'
          Dst:             fprintf
        - Src:             'vcf.c:431,13'
          Dst:             fprintf
        - Src:             'vcf.c:433,17'
          Dst:             fprintf
        - Src:             'vcf.c:434,13'
          Dst:             fprintf
        - Src:             'vcf.c:437,13'
          Dst:             fprintf
    - functionName:    bcf_hrec_debug
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 421
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          76
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:416,5'
          Dst:             fprintf
        - Src:             'vcf.c:419,9'
          Dst:             fprintf
        - Src:             'vcf.c:420,5'
          Dst:             fprintf
    - functionName:    bcf_hdr_add_sample
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 285
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bcf_hdr_add_sample_len
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:284,41'
          Dst:             strlen
        - Src:             'vcf.c:284,12'
          Dst:             bcf_hdr_add_sample_len
    - functionName:    append_sub32
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 326
      functionLinenumberEnd: 337
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          104
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    append_uint32
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 288
      functionLinenumberEnd: 324
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          399
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    block_append_uint
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 278
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          53
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - append_uint32
        - block_grow
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:272,9'
          Dst:             block_grow
        - Src:             'cram/cram_io.h:276,16'
          Dst:             append_uint32
    - functionName:    block_grow
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 244
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - block_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:244,12'
          Dst:             block_resize
    - functionName:    block_resize
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 239
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_resize_exact
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:233,12'
          Dst:             block_resize_exact
    - functionName:    block_resize_exact
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 223
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - realloc
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:217,26'
          Dst:             realloc
    - functionName:    add_md_char
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1075
      functionLinenumberEnd: 1085
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          64
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - block_append_char
        - block_append_uint
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:1077,9'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1078,9'
          Dst:             block_append_char
    - functionName:    block_append_char
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 261
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - block_grow
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:262,9'
          Dst:             block_grow
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    aux_ele_size
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1981
      functionLinenumberEnd: 1994
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          61
      EdgeCount:       28
      CyclomaticComplexity: 15
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_decode.c:1982,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    map_find
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1917
      functionLinenumberEnd: 1924
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          59
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_initialize
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_calloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 199
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          45
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:201,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:204,12'
          Dst:             calloc
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          581
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             __errno_location
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    cram_drain_rqueue
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3696
      functionLinenumberEnd: 3752
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         56
      ICount:          303
      EdgeCount:       74
      CyclomaticComplexity: 20
      functionsReached:
        - cram_free_container
        - cram_free_slice
        - hts_tpool_delete_result
        - hts_tpool_next_result_wait
        - hts_tpool_process_empty
        - hts_tpool_result_data
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3703,13'
          Dst:             hts_tpool_process_empty
        - Src:             'cram/cram_decode.c:3704,31'
          Dst:             hts_tpool_next_result_wait
        - Src:             'cram/cram_decode.c:3707,49'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_decode.c:3716,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3720,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3721,9'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_decode.c:3736,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3740,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3750,9'
          Dst:             cram_free_container
    - functionName:    bam_set_mempolicy
      functionSourceFile: '/src/htslib/cram/../htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 969
      functionLinenumberEnd: 971
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_get_mempolicy
      functionSourceFile: '/src/htslib/cram/../htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 978
      functionLinenumberEnd: 979
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_get_bam_seq
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3662
      functionLinenumberEnd: 3691
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          156
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - bam_copy1
        - bam_get_mempolicy
        - bam_set_mempolicy
        - cram_get_seq
        - cram_to_bam
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3667,16'
          Dst:             cram_get_seq
        - Src:             'cram/cram_decode.c:3673,18'
          Dst:             bam_get_mempolicy
        - Src:             'cram/cram_decode.c:3677,20'
          Dst:             bam_copy1
        - Src:             'cram/cram_decode.c:3684,9'
          Dst:             bam_set_mempolicy
        - Src:             'cram/cram_decode.c:3690,12'
          Dst:             cram_to_bam
    - functionName:    cram_get_seq
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3588
      functionLinenumberEnd: 3654
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         48
      ICount:          360
      EdgeCount:       65
      CyclomaticComplexity: 19
      functionsReached:
        - cram_free_slice
        - cram_next_slice
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3599,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:3602,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:3605,23'
          Dst:             cram_next_slice
        - Src:             'cram/cram_decode.c:3630,17'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3637,17'
          Dst:             cram_free_slice
    - functionName:    cram_to_bam
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3126
      functionLinenumberEnd: 3238
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          653
      EdgeCount:       81
      CyclomaticComplexity: 23
      functionsReached:
        - append_uint64
        - bam_set1
        - bam_tag2cigar
        - hts_log
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3147,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:3155,28'
          Dst:             strlen
        - Src:             'cram/cram_decode.c:3164,36'
          Dst:             append_uint64
        - Src:             'cram/cram_decode.c:3168,36'
          Dst:             append_uint64
        - Src:             'cram/cram_decode.c:3203,11'
          Dst:             bam_set1
        - Src:             'cram/cram_decode.c:3234,13'
          Dst:             bam_tag2cigar
    - functionName:    append_uint64
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 340
      functionLinenumberEnd: 356
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          74
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - append_sub32
        - append_uint32
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:344,16'
          Dst:             append_uint32
        - Src:             'cram/cram_io.h:347,14'
          Dst:             append_uint32
        - Src:             'cram/cram_io.h:349,14'
          Dst:             append_sub32
        - Src:             'cram/cram_io.h:351,14'
          Dst:             append_uint32
        - Src:             'cram/cram_io.h:353,10'
          Dst:             append_sub32
    - functionName:    cram_next_slice
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3307
      functionLinenumberEnd: 3577
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         146
      ICount:          943
      EdgeCount:       201
      CyclomaticComplexity: 57
      functionsReached:
        - cram_decode_compression_header
        - cram_decode_slice_mt
        - cram_first_slice
        - cram_free_container
        - cram_free_slice
        - cram_read_block
        - cram_read_container
        - cram_read_slice
        - hseek
        - hts_log
        - hts_tpool_delete_result
        - hts_tpool_next_result_wait
        - hts_tpool_process_empty
        - hts_tpool_process_len
        - hts_tpool_process_qsize
        - hts_tpool_result_data
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_hrecs_sort_order
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3313,24'
          Dst:             cram_first_slice
        - Src:             'cram/cram_decode.c:3320,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3331,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3364,36'
          Dst:             cram_read_container
        - Src:             'cram/cram_decode.c:3377,21'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3390,25'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3399,25'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3412,25'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3415,29'
          Dst:             hseek
        - Src:             'cram/cram_decode.c:3425,48'
          Dst:             cram_read_block
        - Src:             'cram/cram_decode.c:3431,21'
          Dst:             cram_decode_compression_header
        - Src:             'cram/cram_decode.c:3436,21'
          Dst:             sam_hrecs_sort_order
        - Src:             'cram/cram_decode.c:3437,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:3439,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:3450,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3455,44'
          Dst:             cram_read_slice
        - Src:             'cram/cram_decode.c:3470,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3479,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3488,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3500,13'
          Dst:             cram_decode_slice_mt
        - Src:             'cram/cram_decode.c:3501,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:3502,13'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3523,13'
          Dst:             hts_tpool_process_len
        - Src:             'cram/cram_decode.c:3524,13'
          Dst:             hts_tpool_process_qsize
        - Src:             'cram/cram_decode.c:3535,24'
          Dst:             hts_tpool_process_empty
        - Src:             'cram/cram_decode.c:3540,15'
          Dst:             hts_tpool_next_result_wait
        - Src:             'cram/cram_decode.c:3542,22'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_decode.c:3543,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:3547,32'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_decode.c:3552,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:3554,13'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_decode.c:3558,9'
          Dst:             hts_tpool_delete_result
    - functionName:    cram_first_slice
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3251
      functionLinenumberEnd: 3305
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         54
      ICount:          311
      EdgeCount:       73
      CyclomaticComplexity: 21
      functionsReached:
        - cram_decode_compression_header
        - cram_free_container
        - cram_read_block
        - cram_read_container
        - cram_seek
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_hrecs_sort_order
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3256,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3258,29'
          Dst:             cram_read_container
        - Src:             'cram/cram_decode.c:3274,22'
          Dst:             cram_seek
        - Src:             'cram/cram_decode.c:3276,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3278,37'
          Dst:             cram_read_container
        - Src:             'cram/cram_decode.c:3289,31'
          Dst:             cram_read_block
        - Src:             'cram/cram_decode.c:3294,19'
          Dst:             cram_decode_compression_header
        - Src:             'cram/cram_decode.c:3298,9'
          Dst:             sam_hrecs_sort_order
        - Src:             'cram/cram_decode.c:3299,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:3301,9'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_decode_compression_header
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 537
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         303
      ICount:          2392
      EdgeCount:       405
      CyclomaticComplexity: 104
      functionsReached:
        - calloc
        - cram_decode_TD
        - cram_decoder_init
        - cram_free_compression_header
        - cram_uncompress_block
        - hts_log
        - hts_malloc_p
        - kh_init_map
        - kh_put_map
      functionUses:    3
      BranchProfiles:
        - Branch String:   'cram/cram_decode.c:217,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_decode.c:149,39'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:157,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:178,31'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_decode.c:186,29'
          Dst:             kh_init_map
        - Src:             'cram/cram_decode.c:194,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:213,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:226,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:228,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:238,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:240,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:250,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:252,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:262,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:264,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:274,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:305,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:307,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:314,22'
          Dst:             cram_decode_TD
        - Src:             'cram/cram_decode.c:316,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:323,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:325,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:333,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:340,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:357,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:371,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:454,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:459,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:463,34'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_decode.c:466,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:476,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:489,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:504,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:519,26'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_decode.c:521,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:532,9'
          Dst:             cram_free_compression_header
    - functionName:    cram_decode_slice_mt
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3073
      functionLinenumberEnd: 3105
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          120
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - cram_decode_slice
        - cram_decode_slice_thread
        - hts_tpool_dispatch2
        - hts_tpool_process_sz
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3078,16'
          Dst:             cram_decode_slice
        - Src:             'cram/cram_decode.c:3088,16'
          Dst:             hts_tpool_process_sz
        - Src:             'cram/cram_decode.c:3090,23'
          Dst:             __errno_location
        - Src:             'cram/cram_decode.c:3091,5'
          Dst:             __errno_location
        - Src:             'cram/cram_decode.c:3092,15'
          Dst:             hts_tpool_dispatch2
        - Src:             'cram/cram_decode.c:3092,15'
          Dst:             cram_decode_slice_thread
        - Src:             'cram/cram_decode.c:3095,13'
          Dst:             __errno_location
        - Src:             'cram/cram_decode.c:3101,5'
          Dst:             __errno_location
    - functionName:    cram_decode_slice
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2365
      functionLinenumberEnd: 3051
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         498
      ICount:          3795
      EdgeCount:       693
      CyclomaticComplexity: 197
      functionsReached:
        - block_resize
        - block_resize_exact
        - bulk_cram_to_bam
        - calloc
        - cram_decode_aux
        - cram_decode_aux_1_0
        - cram_decode_seq
        - cram_decode_slice_xref
        - cram_decode_tlen
        - cram_dependent_data_series
        - cram_free_block
        - cram_get_block_by_id
        - cram_get_ref
        - cram_ref_decr
        - cram_uncompress_block
        - hts_log
        - hts_malloc_p
        - hts_md5_destroy
        - hts_md5_final
        - hts_md5_init
        - hts_md5_update
        - ks_free
        - md5_print
        - memcmp
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_hdr_find_tag_id
        - sam_hdr_tid2name
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:2378,9'
          Dst:             cram_dependent_data_series
        - Src:             'cram/cram_decode.c:2399,38'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:2400,38'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:2401,38'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:2413,10'
          Dst:             strcmp
        - Src:             'cram/cram_decode.c:2421,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_decode.c:2431,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2436,17'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_decode.c:2439,17'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:2445,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2456,17'
          Dst:             cram_get_ref
        - Src:             'cram/cram_decode.c:2465,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2470,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2471,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2477,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2478,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2484,9'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2497,12'
          Dst:             memcmp
        - Src:             'cram/cram_decode.c:2507,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2515,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2520,25'
          Dst:             hts_md5_init
        - Src:             'cram/cram_decode.c:2525,17'
          Dst:             hts_md5_update
        - Src:             'cram/cram_decode.c:2526,13'
          Dst:             hts_md5_final
        - Src:             'cram/cram_decode.c:2527,13'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_decode.c:2529,29'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_decode.c:2531,29'
          Dst:             hts_md5_init
        - Src:             'cram/cram_decode.c:2533,17'
          Dst:             hts_md5_update
        - Src:             'cram/cram_decode.c:2534,17'
          Dst:             hts_md5_final
        - Src:             'cram/cram_decode.c:2535,17'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_decode.c:2541,17'
          Dst:             memcmp
        - Src:             'cram/cram_decode.c:2543,33'
          Dst:             sam_hdr_tid2name
        - Src:             'cram/cram_decode.c:2545,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2547,13'
          Dst:             md5_print
        - Src:             'cram/cram_decode.c:2547,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2548,13'
          Dst:             md5_print
        - Src:             'cram/cram_decode.c:2548,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2550,17'
          Dst:             sam_hdr_find_tag_id
        - Src:             'cram/cram_decode.c:2551,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2552,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2553,13'
          Dst:             ks_free
        - Src:             'cram/cram_decode.c:2559,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2560,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2561,16'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:2562,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2563,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2621,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2632,25'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2634,25'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2637,52'
          Dst:             cram_get_ref
        - Src:             'cram/cram_decode.c:2646,25'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2651,25'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2653,29'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2655,29'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2658,29'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:2663,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2664,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2666,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2667,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2678,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2689,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2706,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2708,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2746,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2794,25'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2809,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2835,21'
          Dst:             cram_decode_tlen
        - Src:             'cram/cram_decode.c:2863,25'
          Dst:             cram_decode_tlen
        - Src:             'cram/cram_decode.c:2872,21'
          Dst:             cram_decode_tlen
        - Src:             'cram/cram_decode.c:2899,18'
          Dst:             cram_decode_aux_1_0
        - Src:             'cram/cram_decode.c:2901,18'
          Dst:             cram_decode_aux
        - Src:             'cram/cram_decode.c:2907,13'
          Dst:             block_resize
        - Src:             'cram/cram_decode.c:2915,13'
          Dst:             block_resize
        - Src:             'cram/cram_decode.c:2925,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2932,22'
          Dst:             cram_decode_seq
        - Src:             'cram/cram_decode.c:2984,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2989,17'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:2994,9'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:2996,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2999,10'
          Dst:             cram_decode_slice_xref
        - Src:             'cram/cram_decode.c:3006,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:3020,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3021,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3022,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3023,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3034,14'
          Dst:             bulk_cram_to_bam
        - Src:             'cram/cram_decode.c:3041,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:3044,17'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:3047,9'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_decode_slice_thread
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3061
      functionLinenumberEnd: 3066
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          33
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_decode_slice
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3064,20'
          Dst:             cram_decode_slice
    - functionName:    cram_dependent_data_series
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 551
      functionLinenumberEnd: 865
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         265
      ICount:          1596
      EdgeCount:       343
      CyclomaticComplexity: 80
      functionsReached:
        - cram_codec_to_id
        - cram_uncompress_block
        - hts_calloc_ps
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_decode.c:692,17'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:738,25'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:783,17'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:829,21'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_decode.c:615,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:621,17'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:628,18'
          Dst:             hts_calloc_ps
        - Src:             'cram/cram_decode.c:689,21'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:705,33'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:735,29'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:751,41'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:780,21'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:826,25'
          Dst:             cram_codec_to_id
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    cram_get_block_by_id
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 183
      functionLinenumberEnd: 204
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          166
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    md5_print
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2265
      functionLinenumberEnd: 2273
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         5
      ICount:          64
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_free
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_initialize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:238,9'
          Dst:             ks_initialize
    - functionName:    cram_decode_tlen
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2283
      functionLinenumberEnd: 2295
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          85
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_decode_aux_1_0
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1931
      functionLinenumberEnd: 1977
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          240
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - block_append
        - map_find
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:1962,13'
          Dst:             map_find
        - Src:             'cram/cram_decode.c:1965,9'
          Dst:             block_append
    - functionName:    cram_decode_aux
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2002
      functionLinenumberEnd: 2097
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         81
      ICount:          620
      EdgeCount:       113
      CyclomaticComplexity: 34
      functionsReached:
        - aux_ele_size
        - block_append
        - hts_log
        - map_find
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:2022,17'
          Dst:             strlen
        - Src:             'cram/cram_decode.c:2050,13'
          Dst:             map_find
        - Src:             'cram/cram_decode.c:2054,9'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:2063,23'
          Dst:             aux_ele_size
        - Src:             'cram/cram_decode.c:2088,13'
          Dst:             hts_log
    - functionName:    cram_decode_seq
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1094
      functionLinenumberEnd: 1912
      functionDepth:   0
      returnType:      int
      argCount:        11
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         691
      ICount:          4648
      EdgeCount:       944
      CyclomaticComplexity: 255
      functionsReached:
        - add_md_char
        - block_append
        - block_append_char
        - block_append_uint
        - hts_log
        - hts_realloc_p
        - memchr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_decode.c:1281,9'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:1290,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_decode.c:1125,13'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1156,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_decode.c:1181,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1195,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1206,25'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1236,41'
          Dst:             memchr
        - Src:             'cram/cram_decode.c:1242,41'
          Dst:             add_md_char
        - Src:             'cram/cram_decode.c:1371,29'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1383,25'
          Dst:             add_md_char
        - Src:             'cram/cram_decode.c:1412,25'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1415,29'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1416,29'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1426,33'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1427,33'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1430,33'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1509,25'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1513,29'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1522,33'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1587,25'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1594,29'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1693,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1708,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1737,35'
          Dst:             memchr
        - Src:             'cram/cram_decode.c:1748,41'
          Dst:             add_md_char
        - Src:             'cram/cram_decode.c:1769,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_decode.c:1793,13'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1799,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_decode.c:1836,9'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1888,13'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1907,5'
          Dst:             hts_log
    - functionName:    cram_decode_slice_xref
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2100
      functionLinenumberEnd: 2263
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         109
      ICount:          863
      EdgeCount:       144
      CyclomaticComplexity: 37
      functionsReached:
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:2235,17'
          Dst:             hts_log
    - functionName:    bulk_cram_to_bam
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2305
      functionLinenumberEnd: 2357
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          294
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - bam_set_mempolicy
        - calloc
        - cram_to_bam
        - hts_realloc_p
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:2310,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2315,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2321,20'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_decode.c:2330,17'
          Dst:             bam_set_mempolicy
        - Src:             'cram/cram_decode.c:2335,14'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:2340,20'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:2347,13'
          Dst:             bam_set_mempolicy
        - Src:             'cram/cram_decode.c:2352,15'
          Dst:             cram_to_bam
    - functionName:    block_append
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          60
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_grow
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:249,9'
          Dst:             block_grow
    - functionName:    hts_calloc_ps
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:228,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:229,12'
          Dst:             hts_calloc
    - functionName:    kh_init_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             calloc
    - functionName:    kh_put_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_map
        - strcmp
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             kh_resize_map
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             kh_resize_map
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             strcmp
    - functionName:    cram_decode_TD
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 139
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          318
      EdgeCount:       60
      CyclomaticComplexity: 17
      functionsReached:
        - block_append
        - block_append_char
        - calloc
        - cram_free_block
        - cram_new_block
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:80,15'
          Dst:             cram_new_block
        - Src:             'cram/cram_decode.c:84,9'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:85,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:95,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:100,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:104,5'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:109,9'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:122,19'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:123,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:137,5'
          Dst:             cram_free_block
    - functionName:    cram_decode_slice_header
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 950
      functionLinenumberEnd: 1041
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         57
      ICount:          461
      EdgeCount:       78
      CyclomaticComplexity: 23
      functionsReached:
        - calloc
        - cram_uncompress_block
        - hts_log
        - hts_malloc_p
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:959,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:969,18'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:982,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1005,30'
          Dst:             hts_malloc_p
    - functionName:    cram_ds_unique
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 873
      functionLinenumberEnd: 900
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          126
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - cram_codec_to_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:884,17'
          Dst:             cram_codec_to_id
    - functionName:    cram_decode_estimate_sizes
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 910
      functionLinenumberEnd: 938
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          192
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - cram_codec_to_id
        - cram_ds_unique
        - cram_get_block_by_id
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:920,13'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:922,9'
          Dst:             cram_ds_unique
        - Src:             'cram/cram_decode.c:923,25'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_decode.c:932,13'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:934,9'
          Dst:             cram_ds_unique
        - Src:             'cram/cram_decode.c:935,25'
          Dst:             cram_get_block_by_id
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    kh_resize_m_s2i
      functionSourceFile: '/src/htslib/cram/../header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../header.h:169,1'
          Dst:             __errno_location
        - Src:             'cram/../header.h:169,1'
          Dst:             realloc
        - Src:             'cram/../header.h:169,1'
          Dst:             realloc
        - Src:             'cram/../header.h:169,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/../header.h:169,1'
          Dst:             realloc
        - Src:             'cram/../header.h:169,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_m_metrics
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          585
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             __errno_location
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             realloc
    - functionName:    kh_resize_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 380
      functionLinenumberEnd: 380
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          585
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             __errno_location
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             realloc
    - functionName:    kh_del_m_metrics
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_put_m_metrics
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          423
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_m_metrics
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             kh_resize_m_metrics
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             kh_resize_m_metrics
    - functionName:    kh_put_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 380
      functionLinenumberEnd: 380
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          423
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_m_tagmap
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             kh_resize_m_tagmap
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             kh_resize_m_tagmap
    - functionName:    hts_malloc_ps
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:146,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:147,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:148,12'
          Dst:             hts_malloc
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    cram_add_feature
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2515
      functionLinenumberEnd: 2541
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          188
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - cram_stats_add
        - hts_realloc_p
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2519,15'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_encode.c:2527,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2530,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2535,9'
          Dst:             cram_stats_add
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    kh_put_m_s2i
      functionSourceFile: '/src/htslib/cram/../header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_m_s2i
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../header.h:169,1'
          Dst:             kh_resize_m_s2i
        - Src:             'cram/../header.h:169,1'
          Dst:             kh_resize_m_s2i
        - Src:             'cram/../header.h:169,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/../header.h:169,1'
          Dst:             strcmp
    - functionName:    cram_encode_aux
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2731
      functionLinenumberEnd: 3164
      functionDepth:   0
      returnType:      'N/A'
      argCount:        12
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         284
      ICount:          2030
      EdgeCount:       370
      CyclomaticComplexity: 88
      functionsReached:
        - bam_aux2i_end
        - bam_data_end
        - block_append
        - block_append_char
        - calloc
        - cram_encoder_init
        - cram_new_block
        - cram_new_metrics
        - cram_stats_add
        - cram_stats_encoding
        - hts_log
        - hts_malloc_ps
        - kh_del_m_metrics
        - kh_put_m_metrics
        - kh_put_m_s2i
        - kh_put_m_tagmap
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - sam_hrecs_find_rg
        - string_ndup
        - strncasecmp
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:2812,21'
          Branch Sides:    []
        - Branch String:   'cram/cram_encode.c:2870,13'
          Branch Sides:    []
        - Branch String:   'cram/cram_encode.c:2981,9'
          Branch Sides:    []
        - Branch String:   'cram/cram_encode.c:3093,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:2735,27'
          Dst:             bam_data_end
        - Src:             'cram/cram_encode.c:2751,15'
          Dst:             hts_malloc_ps
        - Src:             'cram/cram_encode.c:2778,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2782,19'
          Dst:             sam_hrecs_find_rg
        - Src:             'cram/cram_encode.c:2787,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2795,36'
          Dst:             strncasecmp
        - Src:             'cram/cram_encode.c:2798,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2810,27'
          Dst:             bam_aux2i_end
        - Src:             'cram/cram_encode.c:2817,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2825,9'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2832,13'
          Dst:             kh_put_m_tagmap
        - Src:             'cram/cram_encode.c:2842,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2843,24'
          Dst:             kh_put_m_metrics
        - Src:             'cram/cram_encode.c:2845,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2849,51'
          Dst:             cram_new_metrics
        - Src:             'cram/cram_encode.c:2851,21'
          Dst:             kh_del_m_metrics
        - Src:             'cram/cram_encode.c:2852,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2857,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2861,31'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:2873,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2887,21'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2888,17'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2893,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2908,21'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2909,17'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2914,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2928,21'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2929,17'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2934,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2954,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2961,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2971,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2973,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2987,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:2995,13'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:3004,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3011,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:3020,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3027,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:3036,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3043,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:3052,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3062,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3083,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3104,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3118,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3127,5'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:3130,9'
          Dst:             kh_put_m_s2i
        - Src:             'cram/cram_encode.c:3138,28'
          Dst:             string_ndup
        - Src:             'cram/cram_encode.c:3149,9'
          Dst:             cram_stats_add
    - functionName:    bam_data_end
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1182
      functionLinenumberEnd: 1183
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bam_aux2i_end
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1189
      functionLinenumberEnd: 1232
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          172
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - le_to_i16
        - le_to_i32
        - le_to_u16
        - le_to_u32
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:1191,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:1194,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1200,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1206,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1209,20'
          Dst:             le_to_i16
        - Src:             'cram/cram_encode.c:1212,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1215,20'
          Dst:             le_to_u16
        - Src:             'cram/cram_encode.c:1218,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1221,20'
          Dst:             le_to_i32
        - Src:             'cram/cram_encode.c:1224,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1227,20'
          Dst:             le_to_u32
        - Src:             'cram/cram_encode.c:1229,13'
          Dst:             __errno_location
    - functionName:    block_append
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          60
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_grow
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:249,9'
          Dst:             block_grow
    - functionName:    block_append_char
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 261
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - block_grow
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:262,9'
          Dst:             block_grow
    - functionName:    block_grow
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 244
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - block_resize
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:244,12'
          Dst:             block_resize
    - functionName:    block_resize
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 239
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_resize_exact
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:233,12'
          Dst:             block_resize_exact
    - functionName:    block_resize_exact
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 223
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:217,26'
          Dst:             realloc
    - functionName:    le_to_i16
      functionSourceFile: '/src/htslib/cram/../htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_endian.h:241,18'
          Dst:             le_to_u16
    - functionName:    le_to_u16
      functionSourceFile: '/src/htslib/cram/../htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 131
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    le_to_i32
      functionSourceFile: '/src/htslib/cram/../htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 251
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_endian.h:252,18'
          Dst:             le_to_u32
    - functionName:    le_to_u32
      functionSourceFile: '/src/htslib/cram/../htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_add_pad
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2682
      functionLinenumberEnd: 2689
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_add_feature
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2687,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2688,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_hardclip
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2662
      functionLinenumberEnd: 2669
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_add_feature
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2667,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2668,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_softclip
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2626
      functionLinenumberEnd: 2659
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          170
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - block_append
        - block_append_char
        - cram_add_feature
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:2631,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:2634,9'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2635,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2642,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2646,17'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2648,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2655,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_quality
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2602
      functionLinenumberEnd: 2613
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          74
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_append_char
        - cram_add_feature
        - cram_stats_add
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2607,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2608,5'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2609,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_insertion
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2692
      functionLinenumberEnd: 2717
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          165
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - block_append
        - block_append_char
        - cram_add_feature
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2699,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2705,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2709,17'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2711,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2713,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_skip
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2672
      functionLinenumberEnd: 2679
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_add_feature
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2677,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2678,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_deletion
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2616
      functionLinenumberEnd: 2623
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_add_feature
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2621,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2622,12'
          Dst:             cram_add_feature
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             'cram/../htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    kputc_
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:270,6'
          Dst:             ks_resize
    - functionName:    cram_add_base
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2585
      functionLinenumberEnd: 2598
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - char
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          95
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - block_append_char
        - cram_add_feature
        - cram_stats_add
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2591,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2592,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2593,5'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2594,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_bases
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2572
      functionLinenumberEnd: 2580
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          51
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_add_feature
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2580,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_substitution
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2545
      functionLinenumberEnd: 2568
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - char
        - char
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          188
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - block_append_char
        - cram_add_feature
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2553,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2560,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2561,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2562,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2564,12'
          Dst:             cram_add_feature
    - functionName:    kputc
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    kputuw
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 287
      functionLinenumberEnd: 369
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          169
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:320,13'
          Dst:             ks_resize
        - Src:             'cram/../htslib/kstring.h:350,9'
          Dst:             ks_resize
    - functionName:    nibble2base
      functionSourceFile: '/src/htslib/cram/../sam_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 118
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_compress_slice
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 769
      functionLinenumberEnd: 954
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         171
      ICount:          1164
      EdgeCount:       233
      CyclomaticComplexity: 64
      functionsReached:
        - cram_compress_block2
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:776,9'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:843,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:847,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:850,9'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:857,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:862,21'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:867,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:870,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:874,17'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:879,21'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:884,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:887,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:891,17'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:896,21'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:906,9'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:912,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:929,17'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:947,17'
          Dst:             cram_compress_block2
    - functionName:    cram_encode_slice_read
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 567
      functionLinenumberEnd: 759
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          886
      EdgeCount:       57
      CyclomaticComplexity: 11
      functionsReached:
        - hts_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:650,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:745,17'
          Dst:             hts_log
    - functionName:    cram_allocate_block
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 971
      functionLinenumberEnd: 1019
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          187
      EdgeCount:       30
      CyclomaticComplexity: 6
      functionsReached:
        - cram_allocate_block
        - cram_new_block
      functionUses:    3
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:975,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:988,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:995,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1005,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1008,13'
          Dst:             cram_allocate_block
    - functionName:    hts_calloc_ps
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:228,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:229,12'
          Dst:             hts_calloc
    - functionName:    hts_calloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 199
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          45
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - calloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:201,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:204,12'
          Dst:             calloc
    - functionName:    next_cigar_op
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1411
      functionLinenumberEnd: 1434
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          104
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_str2uint
      functionSourceFile: '/src/htslib/cram/../textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          224
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_add_to_ref_MD
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1492
      functionLinenumberEnd: 1586
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          532
      EdgeCount:       97
      CyclomaticComplexity: 28
      functionsReached:
        - __ctype_b_loc
        - bam_cigar2rlen
        - extend_ref
        - hts_log
        - hts_str2uint
        - next_cigar_op
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1499,22'
          Dst:             bam_cigar2rlen
        - Src:             'cram/cram_encode.c:1503,28'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1513,13'
          Dst:             __ctype_b_loc
        - Src:             'cram/cram_encode.c:1516,23'
          Dst:             hts_str2uint
        - Src:             'cram/cram_encode.c:1518,17'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1523,32'
          Dst:             next_cigar_op
        - Src:             'cram/cram_encode.c:1530,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1549,20'
          Dst:             __ctype_b_loc
        - Src:             'cram/cram_encode.c:1550,21'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1553,32'
          Dst:             next_cigar_op
        - Src:             'cram/cram_encode.c:1559,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1567,17'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1570,28'
          Dst:             next_cigar_op
        - Src:             'cram/cram_encode.c:1576,17'
          Dst:             hts_log
    - functionName:    extend_ref
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1442
      functionLinenumberEnd: 1486
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          212
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - hts_realloc_p
        - realloc
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1463,17'
          Dst:             realloc
        - Src:             'cram/cram_encode.c:1469,29'
          Dst:             hts_realloc_p
    - functionName:    cram_add_to_ref
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1598
      functionLinenumberEnd: 1670
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          386
      EdgeCount:       53
      CyclomaticComplexity: 11
      functionsReached:
        - bam_aux_get
        - cram_add_to_ref_MD
        - extend_ref
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:1618,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:1599,25'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:1603,19'
          Dst:             cram_add_to_ref_MD
        - Src:             'cram/cram_encode.c:1631,17'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1660,17'
          Dst:             extend_ref
    - functionName:    kh_resize_m_s2u64
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             realloc
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             realloc
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             realloc
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             realloc
    - functionName:    kh_destroy_m_s2u64
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_get_m_s2u64
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             strcmp
    - functionName:    kh_put_m_s2u64
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_m_s2u64
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             kh_resize_m_s2u64
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             kh_resize_m_s2u64
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             strcmp
    - functionName:    expected_template_count
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1237
      functionLinenumberEnd: 1254
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          79
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - bam_aux2i_end
        - bam_aux_get
        - bam_data_end
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1240,30'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:1242,46'
          Dst:             bam_data_end
        - Src:             'cram/cram_encode.c:1242,17'
          Dst:             bam_aux2i_end
        - Src:             'cram/cram_encode.c:1247,16'
          Dst:             bam_aux_get
    - functionName:    kh_init_m_s2u64
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:55,1'
          Dst:             calloc
    - functionName:    kh_resize_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          581
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             __errno_location
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             realloc
    - functionName:    bam_set_mempolicy
      functionSourceFile: '/src/htslib/cram/../htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 969
      functionLinenumberEnd: 971
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_next_container
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3210
      functionLinenumberEnd: 3291
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          369
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached:
        - cram_flush_container_mt
        - cram_free_container
        - cram_free_slice
        - cram_new_container
        - cram_new_slice
        - cram_update_curr_slice
        - hts_log
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:3219,9'
          Dst:             cram_update_curr_slice
        - Src:             'cram/cram_encode.c:3225,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3230,19'
          Dst:             cram_flush_container_mt
        - Src:             'cram/cram_encode.c:3236,17'
          Dst:             cram_free_slice
        - Src:             'cram/cram_encode.c:3244,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_encode.c:3247,23'
          Dst:             cram_new_container
        - Src:             'cram/cram_encode.c:3252,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:3256,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:3264,9'
          Dst:             cram_new_slice
    - functionName:    cram_update_curr_slice
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3173
      functionLinenumberEnd: 3199
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          183
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_put_bam_seq
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3956
      functionLinenumberEnd: 4159
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         144
      ICount:          1085
      EdgeCount:       199
      CyclomaticComplexity: 57
      functionsReached:
        - bam_cigar2qlen
        - bam_copy1
        - bam_set_mempolicy
        - calloc
        - cram_new_container
        - cram_next_container
        - hts_log
        - hts_realloc_p
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:3960,19'
          Dst:             cram_new_container
        - Src:             'cram/cram_encode.c:3966,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:3969,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:3994,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3997,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4000,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:4002,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4011,30'
          Dst:             cram_next_container
        - Src:             'cram/cram_encode.c:4043,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4045,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:4056,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4059,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4060,32'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:4061,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4075,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4076,32'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:4077,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4081,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4084,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4094,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4099,23'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_encode.c:4102,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4108,21'
          Dst:             bam_set_mempolicy
        - Src:             'cram/cram_encode.c:4116,23'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:4119,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4124,17'
          Dst:             bam_set_mempolicy
        - Src:             'cram/cram_encode.c:4126,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4133,9'
          Dst:             bam_copy1
        - Src:             'cram/cram_encode.c:4143,26'
          Dst:             bam_cigar2qlen
        - Src:             'cram/cram_encode.c:4145,13'
          Dst:             hts_log
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    cram_encode_slice
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1029
      functionLinenumberEnd: 1180
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         102
      ICount:          932
      EdgeCount:       137
      CyclomaticComplexity: 37
      functionsReached:
        - block_append
        - cram_allocate_block
        - cram_compress_slice
        - cram_encode_slice_header
        - cram_encode_slice_read
        - cram_free_block
        - cram_new_block
        - hts_calloc_ps
        - hts_malloc_p
        - hts_prod_sat2
        - hts_realloc_p
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1055,30'
          Dst:             hts_prod_sat2
        - Src:             'cram/cram_encode.c:1054,16'
          Dst:             hts_calloc_ps
        - Src:             'cram/cram_encode.c:1056,33'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_encode.c:1063,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1069,37'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1078,34'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1081,9'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:1090,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1110,13'
          Dst:             cram_encode_slice_read
        - Src:             'cram/cram_encode.c:1118,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1120,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1122,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1124,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1143,9'
          Dst:             cram_compress_slice
        - Src:             'cram/cram_encode.c:1150,25'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_encode.c:1161,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1172,30'
          Dst:             cram_encode_slice_header
    - functionName:    cram_encode_slice_header
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 506
      functionLinenumberEnd: 553
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          390
      EdgeCount:       41
      CyclomaticComplexity: 11
      functionsReached:
        - __assert_fail
        - cram_free_block
        - cram_new_block
        - hts_log
        - hts_malloc_pse
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:509,21'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:515,16'
          Dst:             hts_malloc_pse
        - Src:             'cram/cram_encode.c:517,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:523,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:524,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:547,5'
          Dst:             __assert_fail
    - functionName:    hts_malloc_pse
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - size_t
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:173,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:174,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:175,20'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:176,12'
          Dst:             hts_malloc
    - functionName:    add_read_names
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1370
      functionLinenumberEnd: 1402
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          190
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - block_append
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1387,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:1394,13'
          Dst:             cram_stats_add
    - functionName:    process_one_read
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3304
      functionLinenumberEnd: 3947
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         451
      ICount:          3537
      EdgeCount:       612
      CyclomaticComplexity: 163
      functionsReached:
        - bam_aux_get
        - block_grow
        - cram_add_base
        - cram_add_bases
        - cram_add_deletion
        - cram_add_hardclip
        - cram_add_insertion
        - cram_add_pad
        - cram_add_quality
        - cram_add_skip
        - cram_add_softclip
        - cram_add_substitution
        - cram_encode_aux
        - cram_stats_add
        - cram_stats_del
        - hts_log
        - hts_realloc_p
        - kh_put_m_s2i
        - kputc
        - kputc_
        - kputsn
        - kputuw
        - nibble2base
        - sam_hrecs_find_rg
        - string_ndup
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:3422,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:3322,16'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:3331,19'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:3338,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3340,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3360,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3376,5'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3377,5'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3382,5'
          Dst:             nibble2base
        - Src:             'cram/cram_encode.c:3395,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3404,19'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_encode.c:3439,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3452,37'
          Dst:             kputuw
        - Src:             'cram/cram_encode.c:3453,37'
          Dst:             kputc
        - Src:             'cram/cram_encode.c:3516,37'
          Dst:             cram_add_substitution
        - Src:             'cram/cram_encode.c:3529,33'
          Dst:             cram_add_bases
        - Src:             'cram/cram_encode.c:3535,37'
          Dst:             cram_add_base
        - Src:             'cram/cram_encode.c:3544,33'
          Dst:             cram_add_base
        - Src:             'cram/cram_encode.c:3560,25'
          Dst:             kputuw
        - Src:             'cram/cram_encode.c:3562,29'
          Dst:             kputc_
        - Src:             'cram/cram_encode.c:3563,29'
          Dst:             kputsn
        - Src:             'cram/cram_encode.c:3569,21'
          Dst:             cram_add_deletion
        - Src:             'cram/cram_encode.c:3576,21'
          Dst:             cram_add_skip
        - Src:             'cram/cram_encode.c:3583,21'
          Dst:             cram_add_insertion
        - Src:             'cram/cram_encode.c:3588,25'
          Dst:             cram_add_quality
        - Src:             'cram/cram_encode.c:3597,21'
          Dst:             cram_add_softclip
        - Src:             'cram/cram_encode.c:3606,29'
          Dst:             cram_add_quality
        - Src:             'cram/cram_encode.c:3610,29'
          Dst:             cram_add_quality
        - Src:             'cram/cram_encode.c:3619,21'
          Dst:             cram_add_hardclip
        - Src:             'cram/cram_encode.c:3624,21'
          Dst:             cram_add_pad
        - Src:             'cram/cram_encode.c:3629,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3634,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3640,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3644,17'
          Dst:             kputuw
        - Src:             'cram/cram_encode.c:3653,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3661,9'
          Dst:             cram_encode_aux
        - Src:             'cram/cram_encode.c:3670,30'
          Dst:             sam_hrecs_find_rg
        - Src:             'cram/cram_encode.c:3676,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3688,13'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3692,13'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3717,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3729,17'
          Dst:             kh_put_m_s2i
        - Src:             'cram/cram_encode.c:3735,29'
          Dst:             string_ndup
        - Src:             'cram/cram_encode.c:3844,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3846,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3853,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3854,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3857,21'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3858,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3874,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3879,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3885,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3889,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3907,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3911,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3915,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3919,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3921,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3929,9'
          Dst:             cram_stats_add
    - functionName:    cram_generate_reference
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1684
      functionLinenumberEnd: 1750
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          325
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - cram_add_to_ref
        - extend_ref
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1695,9'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1708,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1713,13'
          Dst:             cram_add_to_ref
    - functionName:    lossy_read_names
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1277
      functionLinenumberEnd: 1356
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          311
      EdgeCount:       52
      CyclomaticComplexity: 14
      functionsReached:
        - expected_template_count
        - kh_destroy_m_s2u64
        - kh_get_m_s2u64
        - kh_init_m_s2u64
        - kh_put_m_s2u64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1287,31'
          Dst:             kh_init_m_s2u64
        - Src:             'cram/cram_encode.c:1305,13'
          Dst:             expected_template_count
        - Src:             'cram/cram_encode.c:1308,13'
          Dst:             kh_put_m_s2u64
        - Src:             'cram/cram_encode.c:1340,13'
          Dst:             kh_get_m_s2u64
        - Src:             'cram/cram_encode.c:1353,9'
          Dst:             kh_destroy_m_s2u64
    - functionName:    validate_md5
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1753
      functionLinenumberEnd: 1798
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          198
      EdgeCount:       29
      CyclomaticComplexity: 10
      functionsReached:
        - hts_log
        - hts_md5_destroy
        - hts_md5_final
        - hts_md5_hex
        - hts_md5_init
        - hts_md5_update
        - sam_hrecs_find_key
        - sam_hrecs_find_type_id
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1764,27'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_encode.c:1769,29'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_encode.c:1780,17'
          Dst:             hts_md5_init
        - Src:             'cram/cram_encode.c:1782,5'
          Dst:             hts_md5_update
        - Src:             'cram/cram_encode.c:1783,5'
          Dst:             hts_md5_final
        - Src:             'cram/cram_encode.c:1784,5'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_encode.c:1785,5'
          Dst:             hts_md5_hex
        - Src:             'cram/cram_encode.c:1788,9'
          Dst:             strcmp
        - Src:             'cram/cram_encode.c:1789,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1791,9'
          Dst:             hts_log
    - functionName:    cram_encode_container
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1805
      functionLinenumberEnd: 2502
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         404
      ICount:          3694
      EdgeCount:       552
      CyclomaticComplexity: 150
      functionsReached:
        - __assert_fail
        - add_read_names
        - cram_encode_compression_header
        - cram_encode_slice
        - cram_encoder_init
        - cram_generate_reference
        - cram_get_ref
        - cram_ref_decr
        - cram_ref_incr
        - cram_stats_encoding
        - hts_calloc
        - hts_log
        - hts_malloc_p
        - hts_md5_destroy
        - hts_md5_final
        - hts_md5_init
        - hts_md5_update
        - hts_prod_sat2
        - lossy_read_names
        - process_one_read
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - validate_md5
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1823,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1826,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1831,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1834,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1838,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1840,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1852,25'
          Dst:             cram_get_ref
        - Src:             'cram/cram_encode.c:1856,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1858,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1860,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1863,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1868,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1871,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1872,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1875,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1877,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1879,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1882,21'
          Dst:             validate_md5
        - Src:             'cram/cram_encode.c:1915,9'
          Dst:             cram_ref_incr
        - Src:             'cram/cram_encode.c:1922,21'
          Dst:             cram_get_ref
        - Src:             'cram/cram_encode.c:1923,25'
          Dst:             validate_md5
        - Src:             'cram/cram_encode.c:1926,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1941,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_encode.c:1945,13'
          Dst:             lossy_read_names
        - Src:             'cram/cram_encode.c:1956,34'
          Dst:             cram_generate_reference
        - Src:             'cram/cram_encode.c:1966,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1970,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1973,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1977,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1981,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1983,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2002,25'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_encode.c:2004,26'
          Dst:             cram_get_ref
        - Src:             'cram/cram_encode.c:2005,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2009,25'
          Dst:             validate_md5
        - Src:             'cram/cram_encode.c:2021,17'
          Dst:             process_one_read
        - Src:             'cram/cram_encode.c:2041,13'
          Dst:             add_read_names
        - Src:             'cram/cram_encode.c:2065,39'
          Dst:             hts_prod_sat2
        - Src:             'cram/cram_encode.c:2065,28'
          Dst:             hts_calloc
        - Src:             'cram/cram_encode.c:2085,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_encode.c:2091,13'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_encode.c:2099,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2102,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2106,5'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2108,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2110,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2114,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2128,40'
          Dst:             hts_md5_init
        - Src:             'cram/cram_encode.c:2131,17'
          Dst:             hts_md5_update
        - Src:             'cram/cram_encode.c:2134,17'
          Dst:             hts_md5_final
        - Src:             'cram/cram_encode.c:2135,17'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_encode.c:2147,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2147,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2153,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2153,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2167,35'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2167,17'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2172,32'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2178,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2184,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2184,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2192,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2192,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2198,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2198,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2204,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2204,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2210,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2210,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2216,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2216,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2222,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2222,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2228,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2228,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2234,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2234,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2240,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2240,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2246,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2246,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2252,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2252,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2258,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2258,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2273,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2282,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2282,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2296,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2296,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2302,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2302,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2311,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2311,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2318,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2318,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2324,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2324,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2330,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2330,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2336,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2336,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2345,32'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2370,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2376,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2382,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2391,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2395,13'
          Dst:             cram_encode_slice
        - Src:             'cram/cram_encode.c:2410,23'
          Dst:             cram_encode_compression_header
        - Src:             'cram/cram_encode.c:2417,19'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_encode.c:2486,13'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_encode.c:2494,17'
          Dst:             cram_ref_decr
    - functionName:    cram_encode_compression_header
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         261
      ICount:          2472
      EdgeCount:       358
      CyclomaticComplexity: 99
      functionsReached:
        - block_append
        - block_append_char
        - cram_free_block
        - cram_new_block
        - hts_log
        - itf8_put_blk
        - kh_destroy_map
        - kh_init_map
        - kh_put_map
        - sub_idx
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:190,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:87,23'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:88,23'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:107,14'
          Dst:             itf8_put_blk
        - Src:             'cram/cram_encode.c:108,14'
          Dst:             itf8_put_blk
        - Src:             'cram/cram_encode.c:109,14'
          Dst:             itf8_put_blk
        - Src:             'cram/cram_encode.c:110,14'
          Dst:             itf8_put_blk
        - Src:             'cram/cram_encode.c:111,14'
          Dst:             itf8_put_blk
        - Src:             'cram/cram_encode.c:113,18'
          Dst:             itf8_put_blk
        - Src:             'cram/cram_encode.c:118,9'
          Dst:             kh_destroy_map
        - Src:             'cram/cram_encode.c:128,37'
          Dst:             kh_init_map
        - Src:             'cram/cram_encode.c:131,13'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:136,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:140,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:144,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:150,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:154,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:158,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:164,21'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:188,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:198,17'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:211,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:212,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:213,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:214,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:216,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:217,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:218,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:219,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:221,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:222,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:223,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:224,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:226,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:227,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:228,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:229,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:231,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:232,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:233,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:234,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:235,17'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:241,17'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:248,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:257,5'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:458,5'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:484,5'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:486,5'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:490,5'
          Dst:             cram_free_block
    - functionName:    kh_destroy_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_init_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             calloc
    - functionName:    kh_put_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_map
        - strcmp
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             kh_resize_map
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             kh_resize_map
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:83,1'
          Dst:             strcmp
    - functionName:    sub_idx
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          46
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    20
      BranchProfiles:  []
      Callsites:       []
    - functionName:    link_index_
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 106
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          77
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - link_index_
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:104,18'
          Dst:             link_index_
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    cram_index_extents
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1041
      functionLinenumberEnd: 1057
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          84
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - cram_index_query
        - cram_index_query_last
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:1045,20'
          Dst:             cram_index_query
        - Src:             'cram/cram_index.c:1051,20'
          Dst:             cram_index_query_last
    - functionName:    cram_index_query
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 413
      functionLinenumberEnd: 508
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         75
      ICount:          496
      EdgeCount:       98
      CyclomaticComplexity: 25
      functionsReached: []
      functionUses:    6
      BranchProfiles:
        - Branch String:   'cram/cram_index.c:431,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_index_query_last
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 539
      functionLinenumberEnd: 562
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          88
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - cram_index_query
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:543,13'
          Dst:             cram_index_query
    - functionName:    cram_container_offset2num_
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 990
      functionLinenumberEnd: 1011
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          114
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - cram_container_offset2num_
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:1003,27'
          Dst:             cram_container_offset2num_
    - functionName:    cram_container_offset2num
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1013
      functionLinenumberEnd: 1027
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          108
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - cram_container_offset2num_
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:1022,18'
          Dst:             cram_container_offset2num_
    - functionName:    cram_container_num2offset_
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 944
      functionLinenumberEnd: 965
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          113
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - cram_container_num2offset_
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:957,27'
          Dst:             cram_container_num2offset_
    - functionName:    cram_container_num2offset
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 967
      functionLinenumberEnd: 981
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          110
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - cram_container_num2offset_
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:976,18'
          Dst:             cram_container_num2offset_
    - functionName:    cram_num_containers
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 934
      functionLinenumberEnd: 935
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_num_containers_between
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:935,12'
          Dst:             cram_num_containers_between
    - functionName:    cram_num_containers_between
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 910
      functionLinenumberEnd: 926
      functionDepth:   0
      returnType:      size_t
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          116
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - cram_num_containers_between_
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:917,15'
          Dst:             cram_num_containers_between_
    - functionName:    cram_num_containers_between_
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 873
      functionLinenumberEnd: 894
      functionDepth:   0
      returnType:      size_t
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          171
      EdgeCount:       38
      CyclomaticComplexity: 11
      functionsReached:
        - cram_num_containers_between_
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:891,15'
          Dst:             cram_num_containers_between_
    - functionName:    cram_index_container
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 739
      functionLinenumberEnd: 773
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          137
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - cram_free_slice
        - cram_index_slice
        - cram_read_slice
        - htell
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:749,16'
          Dst:             htell
        - Src:             'cram/cram_index.c:751,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:758,19'
          Dst:             cram_read_slice
        - Src:             'cram/cram_index.c:762,14'
          Dst:             htell
        - Src:             'cram/cram_index.c:763,15'
          Dst:             cram_index_slice
        - Src:             'cram/cram_index.c:765,9'
          Dst:             cram_free_slice
    - functionName:    htell
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 156
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          19
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_index_slice
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 709
      functionLinenumberEnd: 730
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          102
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_write
        - cram_index_build_multiref
        - hts_log
        - snprintf
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:714,9'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:720,15'
          Dst:             cram_index_build_multiref
        - Src:             'cram/cram_index.c:722,9'
          Dst:             snprintf
        - Src:             'cram/cram_index.c:726,36'
          Dst:             strlen
        - Src:             'cram/cram_index.c:726,16'
          Dst:             bgzf_write
    - functionName:    cram_index_build_multiref
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 698
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          285
      EdgeCount:       44
      CyclomaticComplexity: 13
      functionsReached:
        - bgzf_write
        - cram_decode_slice
        - hts_log
        - snprintf
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:652,18'
          Dst:             cram_decode_slice
        - Src:             'cram/cram_index.c:662,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:675,13'
          Dst:             snprintf
        - Src:             'cram/cram_index.c:679,37'
          Dst:             strlen
        - Src:             'cram/cram_index.c:679,17'
          Dst:             bgzf_write
        - Src:             'cram/cram_index.c:689,9'
          Dst:             snprintf
        - Src:             'cram/cram_index.c:693,33'
          Dst:             strlen
        - Src:             'cram/cram_index.c:693,13'
          Dst:             bgzf_write
    - functionName:    kputs
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             'cram/../htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             'cram/../htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/cram/../htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             'cram/../htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    cram_index_build
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 787
      functionLinenumberEnd: 867
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          278
      EdgeCount:       52
      CyclomaticComplexity: 16
      functionsReached:
        - bgzf_close
        - bgzf_open
        - cram_decode_compression_header
        - cram_free_container
        - cram_index_container
        - cram_read_block
        - cram_read_container
        - cram_set_option
        - htell
        - hts_log
        - kputs
        - perror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:796,5'
          Dst:             cram_set_option
        - Src:             'cram/cram_index.c:799,9'
          Dst:             kputs
        - Src:             'cram/cram_index.c:800,9'
          Dst:             kputs
        - Src:             'cram/cram_index.c:804,16'
          Dst:             bgzf_open
        - Src:             'cram/cram_index.c:805,9'
          Dst:             perror
        - Src:             'cram/cram_index.c:812,12'
          Dst:             htell
        - Src:             'cram/cram_index.c:813,17'
          Dst:             cram_read_container
        - Src:             'cram/cram_index.c:815,13'
          Dst:             perror
        - Src:             'cram/cram_index.c:819,16'
          Dst:             htell
        - Src:             'cram/cram_index.c:821,35'
          Dst:             cram_read_block
        - Src:             'cram/cram_index.c:824,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:829,23'
          Dst:             cram_decode_compression_header
        - Src:             'cram/cram_index.c:834,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:841,13'
          Dst:             cram_index_container
        - Src:             'cram/cram_index.c:844,27'
          Dst:             htell
        - Src:             'cram/cram_index.c:846,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:852,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_index.c:855,9'
          Dst:             bgzf_close
        - Src:             'cram/cram_index.c:859,13'
          Dst:             bgzf_close
        - Src:             'cram/cram_index.c:863,9'
          Dst:             bgzf_close
        - Src:             'cram/cram_index.c:865,9'
          Dst:             cram_free_container
    - functionName:    cram_seek_to_refpos
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 580
      functionLinenumberEnd: 627
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          189
      EdgeCount:       38
      CyclomaticComplexity: 11
      functionsReached:
        - cram_free_container
        - cram_index_query
        - cram_seek
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:589,14'
          Dst:             cram_index_query
        - Src:             'cram/cram_index.c:590,18'
          Dst:             cram_seek
        - Src:             'cram/cram_index.c:598,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_index.c:606,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_index.c:609,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_index.c:611,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_index.c:623,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_index.c:625,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_index_last
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 511
      functionLinenumberEnd: 533
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          104
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_index_free_recurse
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 371
      functionLinenumberEnd: 379
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          55
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - cram_index_free_recurse
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:375,13'
          Dst:             cram_index_free_recurse
    - functionName:    cram_index_free
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 381
      functionLinenumberEnd: 393
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - cram_index_free_recurse
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:388,9'
          Dst:             cram_index_free_recurse
    - functionName:    link_index
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          56
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - link_index_
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:114,18'
          Dst:             link_index_
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    kget_int64
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          221
      EdgeCount:       41
      CyclomaticComplexity: 12
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kget_int32
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 121
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          219
      EdgeCount:       41
      CyclomaticComplexity: 12
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hread
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    cram_index_load
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 369
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         109
      ICount:          758
      EdgeCount:       152
      CyclomaticComplexity: 45
      functionsReached:
        - calloc
        - cram_index_free
        - hclose
        - hisremote
        - hopen
        - hread
        - hts_idx_check_local
        - hts_idx_getfn
        - hts_log
        - hts_realloc_p
        - kget_int32
        - kget_int64
        - kputsn
        - link_index
        - sam_hdr_nref
        - strstr
        - zlib_mem_inflate
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_index.c:193,17'
          Dst:             calloc
        - Src:             'cram/cram_index.c:202,17'
          Dst:             calloc
        - Src:             'cram/cram_index.c:209,28'
          Dst:             strstr
        - Src:             'cram/cram_index.c:214,13'
          Dst:             hts_idx_check_local
        - Src:             'cram/cram_index.c:214,69'
          Dst:             hisremote
        - Src:             'cram/cram_index.c:215,23'
          Dst:             hts_idx_getfn
        - Src:             'cram/cram_index.c:218,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:224,16'
          Dst:             hopen
        - Src:             'cram/cram_index.c:225,9'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:230,19'
          Dst:             hread
        - Src:             'cram/cram_index.c:231,13'
          Dst:             kputsn
        - Src:             'cram/cram_index.c:238,9'
          Dst:             hclose
        - Src:             'cram/cram_index.c:244,19'
          Dst:             zlib_mem_inflate
        - Src:             'cram/cram_index.c:252,13'
          Dst:             kputsn
        - Src:             'cram/cram_index.c:258,16'
          Dst:             sam_hdr_nref
        - Src:             'cram/cram_index.c:263,13'
          Dst:             kget_int32
        - Src:             'cram/cram_index.c:266,13'
          Dst:             kget_int32
        - Src:             'cram/cram_index.c:269,13'
          Dst:             kget_int32
        - Src:             'cram/cram_index.c:272,13'
          Dst:             kget_int64
        - Src:             'cram/cram_index.c:275,13'
          Dst:             kget_int32
        - Src:             'cram/cram_index.c:278,13'
          Dst:             kget_int32
        - Src:             'cram/cram_index.c:285,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:294,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_index.c:306,17'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:326,21'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_index.c:340,25'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_index.c:357,5'
          Dst:             link_index
        - Src:             'cram/cram_index.c:367,5'
          Dst:             cram_index_free
    - functionName:    itf8_size
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 755
      functionLinenumberEnd: 756
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          49
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    safe_ltf8_put
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 751
      functionLinenumberEnd: 752
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ltf8_put
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:752,12'
          Dst:             ltf8_put
    - functionName:    ltf8_put
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 309
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          426
      EdgeCount:       25
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    safe_itf8_put
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 747
      functionLinenumberEnd: 748
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - itf8_put
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:748,12'
          Dst:             itf8_put
    - functionName:    itf8_put
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          163
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    safe_ltf8_get
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 673
      functionLinenumberEnd: 744
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          468
      EdgeCount:       43
      CyclomaticComplexity: 14
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    safe_itf8_get
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 644
      functionLinenumberEnd: 671
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          254
      EdgeCount:       31
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_init_varint
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4886
      functionLinenumberEnd: 4903
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          56
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    itf8_put_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 620
      functionLinenumberEnd: 630
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          43
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
        - itf8_put
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:624,10'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:625,5'
          Dst:             block_append
    - functionName:    ltf8_put_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 632
      functionLinenumberEnd: 642
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          43
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
        - ltf8_put
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:636,10'
          Dst:             ltf8_put
        - Src:             'cram/cram_io.c:637,5'
          Dst:             block_append
    - functionName:    itf8_decode_crc
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 269
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          263
      EdgeCount:       24
      CyclomaticComplexity: 5
      functionsReached:
        - crc32
        - hgetc
        - hread
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:228,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:214,19'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:224,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:231,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:237,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:244,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:252,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:264,20'
          Dst:             crc32
    - functionName:    ltf8_decode_crc
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 501
      functionLinenumberEnd: 611
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          611
      EdgeCount:       67
      CyclomaticComplexity: 20
      functionsReached:
        - crc32
        - hgetc
        - hread
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:503,19'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:511,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:515,17'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:520,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:524,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:529,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:533,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:539,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:543,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:550,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:554,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:562,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:566,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:575,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:580,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:590,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:595,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:605,16'
          Dst:             crc32
    - functionName:    hgetc
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 164
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hgetc2
      functionUses:    53
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hfile.h:167,68'
          Dst:             hgetc2
    - functionName:    crc32
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    28
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hread
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    block_append
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          60
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_grow
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:249,9'
          Dst:             block_grow
    - functionName:    block_grow
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 244
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - block_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:244,12'
          Dst:             block_resize
    - functionName:    block_resize
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 239
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_resize_exact
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:233,12'
          Dst:             block_resize_exact
    - functionName:    block_resize_exact
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 223
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:217,26'
          Dst:             realloc
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    kh_init_refs
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 684
      functionLinenumberEnd: 684
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             calloc
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    is_directory
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2636
      functionLinenumberEnd: 2640
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - stat
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2638,10'
          Dst:             stat
    - functionName:    mkdir_prefix
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2710
      functionLinenumberEnd: 2731
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          69
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - chmod
        - is_directory
        - mkdir
        - mkdir_prefix
        - strrchr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2711,16'
          Dst:             strrchr
        - Src:             'cram/cram_io.c:2716,9'
          Dst:             is_directory
        - Src:             'cram/cram_io.c:2721,9'
          Dst:             mkdir
        - Src:             'cram/cram_io.c:2722,9'
          Dst:             chmod
        - Src:             'cram/cram_io.c:2727,5'
          Dst:             mkdir_prefix
        - Src:             'cram/cram_io.c:2728,5'
          Dst:             mkdir
        - Src:             'cram/cram_io.c:2729,5'
          Dst:             chmod
    - functionName:    mkdir
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    chmod
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    expand_cache_path
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2647
      functionLinenumberEnd: 2705
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          365
      EdgeCount:       66
      CyclomaticComplexity: 20
      functionsReached:
        - strchr
        - strcpy
        - strlen
        - strncpy
        - strtol
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2652,18'
          Dst:             strchr
        - Src:             'cram/cram_io.c:2654,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:2659,19'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2661,13'
          Dst:             strcpy
        - Src:             'cram/cram_io.c:2670,17'
          Dst:             strtol
        - Src:             'cram/cram_io.c:2671,17'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2671,17'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2674,17'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:2693,11'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2695,5'
          Dst:             strcpy
        - Src:             'cram/cram_io.c:2699,11'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2703,5'
          Dst:             strcpy
    - functionName:    toupper_c
      functionSourceFile: '/src/htslib/cram/../textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 180
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - toupper
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../textutils_internal.h:180,47'
          Dst:             toupper
    - functionName:    isspace_c
      functionSourceFile: '/src/htslib/cram/../textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../textutils_internal.h:176,46'
          Dst:             __ctype_b_loc
    - functionName:    kh_resize_refs
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 684
      functionLinenumberEnd: 684
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             __errno_location
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_put_refs
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 684
      functionLinenumberEnd: 684
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_refs
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             kh_resize_refs
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             kh_resize_refs
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             strcmp
    - functionName:    hts_realloc_ps
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:320,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:321,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:322,12'
          Dst:             hts_realloc
    - functionName:    lzma_mem_deflate
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1058
      functionLinenumberEnd: 1073
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          52
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - lzma_easy_buffer_encode
        - lzma_stream_buffer_bound
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:1060,23'
          Dst:             lzma_stream_buffer_bound
        - Src:             'cram/cram_io.c:1066,20'
          Dst:             lzma_easy_buffer_encode
    - functionName:    lzma_stream_buffer_bound
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    lzma_easy_buffer_encode
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - int
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    zlib_mem_deflate
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 985
      functionLinenumberEnd: 1039
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          180
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - deflate
        - deflateEnd
        - deflateInit2_
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:1009,11'
          Dst:             deflateInit2_
        - Src:             'cram/cram_io.c:1011,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1020,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1023,15'
          Dst:             deflate
        - Src:             'cram/cram_io.c:1026,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1030,9'
          Dst:             deflate
        - Src:             'cram/cram_io.c:1031,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1035,9'
          Dst:             deflateEnd
        - Src:             'cram/cram_io.c:1036,9'
          Dst:             hts_log
    - functionName:    deflateInit2_
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    deflate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    deflateEnd
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_compress_by_method
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1521
      functionLinenumberEnd: 1666
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          502
      EdgeCount:       74
      CyclomaticComplexity: 10
      functionsReached:
        - BZ2_bzBuffToBuffCompress
        - arith_compress_to
        - fqz_compress
        - lzma_mem_deflate
        - rans_compress
        - rans_compress_4x16
        - tok3_encode_names
        - zlib_mem_deflate
      functionUses:    3
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:1522,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:1540,16'
          Dst:             zlib_mem_deflate
        - Src:             'cram/cram_io.c:1550,22'
          Dst:             BZ2_bzBuffToBuffCompress
        - Src:             'cram/cram_io.c:1583,22'
          Dst:             fqz_compress
        - Src:             'cram/cram_io.c:1591,16'
          Dst:             lzma_mem_deflate
        - Src:             'cram/cram_io.c:1600,14'
          Dst:             rans_compress
        - Src:             'cram/cram_io.c:1621,14'
          Dst:             rans_compress_4x16
        - Src:             'cram/cram_io.c:1641,14'
          Dst:             arith_compress_to
        - Src:             'cram/cram_io.c:1653,23'
          Dst:             tok3_encode_names
    - functionName:    BZ2_bzBuffToBuffCompress
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hclearerr
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    htell
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 156
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          19
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_check_EOF
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5684
      functionLinenumberEnd: 5732
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          174
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - hclearerr
        - hread
        - hseek
        - htell
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5718,20'
          Dst:             htell
        - Src:             'cram/cram_io.c:5719,9'
          Dst:             hseek
        - Src:             'cram/cram_io.c:5720,13'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:5721,13'
          Dst:             hclearerr
        - Src:             'cram/cram_io.c:5728,9'
          Dst:             hread
        - Src:             'cram/cram_io.c:5729,9'
          Dst:             hseek
        - Src:             'cram/cram_io.c:5731,13'
          Dst:             memcmp
    - functionName:    cram_set_voption
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5421
      functionLinenumberEnd: 5681
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         225
      ICount:          1547
      EdgeCount:       287
      CyclomaticComplexity: 64
      functionsReached:
        - __errno_location
        - __isoc99_sscanf
        - cram_init_tables
        - cram_load_reference
        - cram_seek_to_refpos
        - hts_log
        - hts_tpool_init
        - hts_tpool_process_init
        - hts_tpool_size
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - refs_free
        - strdup
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:5429,5'
          Branch Sides:    []
        - Branch String:   'cram/cram_io.c:5641,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:5425,9'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:5437,28'
          Dst:             strdup
        - Src:             'cram/cram_io.c:5513,17'
          Dst:             refs_free
        - Src:             'cram/cram_io.c:5520,17'
          Dst:             cram_seek_to_refpos
        - Src:             'cram/cram_io.c:5521,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:5526,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:5532,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:5545,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:5550,16'
          Dst:             cram_load_reference
        - Src:             'cram/cram_io.c:5555,18'
          Dst:             __isoc99_sscanf
        - Src:             'cram/cram_io.c:5556,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:5562,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:5564,13'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:5574,9'
          Dst:             cram_init_tables
        - Src:             'cram/cram_io.c:5588,30'
          Dst:             hts_tpool_init
        - Src:             'cram/cram_io.c:5591,26'
          Dst:             hts_tpool_process_init
        - Src:             'cram/cram_io.c:5605,71'
          Dst:             hts_tpool_size
        - Src:             'cram/cram_io.c:5604,26'
          Dst:             hts_tpool_process_init
        - Src:             'cram/cram_io.c:5675,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:5676,9'
          Dst:             __errno_location
    - functionName:    refs_free
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2189
      functionLinenumberEnd: 2227
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         28
      ICount:          169
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - bgzf_close
        - kh_destroy_refs
        - pthread_mutex_destroy
        - ref_entry_free_seq
        - string_pool_destroy
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2199,9'
          Dst:             string_pool_destroy
        - Src:             'cram/cram_io.c:2211,13'
          Dst:             ref_entry_free_seq
        - Src:             'cram/cram_io.c:2215,9'
          Dst:             kh_destroy_refs
        - Src:             'cram/cram_io.c:2222,9'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:2224,5'
          Dst:             pthread_mutex_destroy
    - functionName:    cram_load_reference
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3360
      functionLinenumberEnd: 3387
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          209
      EdgeCount:       51
      CyclomaticComplexity: 15
      functionsReached:
        - refs2id
        - refs_create
        - refs_free
        - refs_from_header
        - refs_load_fai
        - sanitise_SQ_lines
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3364,20'
          Dst:             refs_load_fai
        - Src:             'cram/cram_io.c:3369,9'
          Dst:             sanitise_SQ_lines
        - Src:             'cram/cram_io.c:3375,13'
          Dst:             refs_free
        - Src:             'cram/cram_io.c:3376,26'
          Dst:             refs_create
        - Src:             'cram/cram_io.c:3378,19'
          Dst:             refs_from_header
        - Src:             'cram/cram_io.c:3383,19'
          Dst:             refs2id
    - functionName:    cram_init_tables
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4910
      functionLinenumberEnd: 4989
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         88
      ICount:          721
      EdgeCount:       114
      CyclomaticComplexity: 28
      functionsReached:
        - cram_init_varint
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4988,5'
          Dst:             cram_init_varint
    - functionName:    refs_load_fai
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2303
      functionLinenumberEnd: 2450
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         113
      ICount:          691
      EdgeCount:       152
      CyclomaticComplexity: 41
      functionsReached:
        - bgzf_close
        - bgzf_open_ref
        - hclose
        - hclose_abruptly
        - hgets
        - hopen
        - hts_log
        - hts_realloc_p
        - isspace_c
        - kh_put_refs
        - perror
        - refs_create
        - refs_free
        - snprintf
        - strcmp
        - string_dup
        - string_ndup
        - strlen
        - strstr
        - strtol
        - strtoll
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2308,19'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2314,19'
          Dst:             refs_create
        - Src:             'cram/cram_io.c:2318,13'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:2323,28'
          Dst:             strstr
        - Src:             'cram/cram_io.c:2325,23'
          Dst:             string_ndup
        - Src:             'cram/cram_io.c:2328,9'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2331,25'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:2333,31'
          Dst:             string_ndup
        - Src:             'cram/cram_io.c:2336,13'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2339,27'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2341,13'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2345,19'
          Dst:             bgzf_open_ref
        - Src:             'cram/cram_io.c:2346,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2350,16'
          Dst:             hopen
        - Src:             'cram/cram_io.c:2351,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2353,13'
          Dst:             perror
        - Src:             'cram/cram_io.c:2356,12'
          Dst:             hgets
        - Src:             'cram/cram_io.c:2366,33'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2369,19'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2372,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2374,21'
          Dst:             strtoll
        - Src:             'cram/cram_io.c:2377,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2379,21'
          Dst:             strtoll
        - Src:             'cram/cram_io.c:2382,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2384,29'
          Dst:             strtol
        - Src:             'cram/cram_io.c:2387,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2389,26'
          Dst:             strtol
        - Src:             'cram/cram_io.c:2400,13'
          Dst:             kh_put_refs
        - Src:             'cram/cram_io.c:2426,24'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_io.c:2438,8'
          Dst:             hclose
        - Src:             'cram/cram_io.c:2444,9'
          Dst:             hclose_abruptly
        - Src:             'cram/cram_io.c:2447,9'
          Dst:             refs_free
    - functionName:    sanitise_SQ_lines
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2455
      functionLinenumberEnd: 2490
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          231
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - __assert_fail
        - hts_log
        - kh_get_refs
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2466,21'
          Dst:             kh_get_refs
        - Src:             'cram/cram_io.c:2478,13'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:2478,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:2482,13'
          Dst:             hts_log
    - functionName:    refs_create
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2229
      functionLinenumberEnd: 2255
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         11
      ICount:          69
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - kh_init_refs
        - pthread_mutex_init
        - refs_free
        - string_pool_create
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2230,17'
          Dst:             calloc
        - Src:             'cram/cram_io.c:2237,21'
          Dst:             string_pool_create
        - Src:             'cram/cram_io.c:2245,23'
          Dst:             kh_init_refs
        - Src:             'cram/cram_io.c:2248,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:2253,5'
          Dst:             refs_free
    - functionName:    refs_from_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2530
      functionLinenumberEnd: 2606
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          406
      EdgeCount:       62
      CyclomaticComplexity: 19
      functionsReached:
        - calloc
        - hts_realloc_ps
        - kh_get_refs
        - kh_put_refs
        - sam_hdr_fill_hrecs
        - sam_hrecs_find_key
        - sam_hrecs_find_type_id
        - string_dup
        - strtoll
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2543,19'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'cram/cram_io.c:2553,30'
          Dst:             hts_realloc_ps
        - Src:             'cram/cram_io.c:2567,13'
          Dst:             kh_get_refs
        - Src:             'cram/cram_io.c:2572,30'
          Dst:             calloc
        - Src:             'cram/cram_io.c:2578,30'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2583,19'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_io.c:2584,24'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:2585,36'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2587,24'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:2589,43'
          Dst:             strtoll
        - Src:             'cram/cram_io.c:2596,13'
          Dst:             kh_put_refs
    - functionName:    refs2id
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2499
      functionLinenumberEnd: 2523
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          158
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - hts_log
        - kh_get_refs
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2508,17'
          Dst:             calloc
        - Src:             'cram/cram_io.c:2514,21'
          Dst:             kh_get_refs
        - Src:             'cram/cram_io.c:2518,13'
          Dst:             hts_log
    - functionName:    kh_get_refs
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 684
      functionLinenumberEnd: 684
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:684,1'
          Dst:             strcmp
    - functionName:    bgzf_open_ref
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2265
      functionLinenumberEnd: 2292
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          127
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - access
        - bgzf_close
        - bgzf_index_load
        - bgzf_open
        - fai_build
        - hisremote
        - hts_log
        - perror
        - snprintf
        - strncmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2268,9'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:2271,21'
          Dst:             hisremote
        - Src:             'cram/cram_io.c:2274,9'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2275,13'
          Dst:             access
        - Src:             'cram/cram_io.c:2276,17'
          Dst:             fai_build
        - Src:             'cram/cram_io.c:2280,16'
          Dst:             bgzf_open
        - Src:             'cram/cram_io.c:2281,9'
          Dst:             perror
        - Src:             'cram/cram_io.c:2285,35'
          Dst:             bgzf_index_load
        - Src:             'cram/cram_io.c:2286,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2287,9'
          Dst:             bgzf_close
    - functionName:    ref_entry_free_seq
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2179
      functionLinenumberEnd: 2187
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          62
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - mfclose
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2181,9'
          Dst:             mfclose
    - functionName:    kh_destroy_refs
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 684
      functionLinenumberEnd: 684
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_set_option
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5403
      functionLinenumberEnd: 5411
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_set_voption
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5408,9'
          Dst:             cram_set_voption
    - functionName:    cram_eof
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5391
      functionLinenumberEnd: 5392
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_m_metrics
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_close
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5287
      functionLinenumberEnd: 5386
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         99
      ICount:          561
      EdgeCount:       132
      CyclomaticComplexity: 35
      functionsReached:
        - bgzf_close
        - cram_drain_rqueue
        - cram_flush_container_mt
        - cram_flush_result
        - cram_free_container
        - cram_free_file_def
        - cram_index_free
        - cram_update_curr_slice
        - cram_write_eof_block
        - free_bam_list
        - hclose
        - hts_tpool_destroy
        - hts_tpool_process_destroy
        - hts_tpool_process_flush
        - kh_destroy_m_metrics
        - pthread_mutex_destroy
        - refs_free
        - sam_hdr_destroy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5296,13'
          Dst:             cram_update_curr_slice
        - Src:             'cram/cram_io.c:5298,19'
          Dst:             cram_flush_container_mt
        - Src:             'cram/cram_io.c:5303,9'
          Dst:             cram_drain_rqueue
        - Src:             'cram/cram_io.c:5306,9'
          Dst:             hts_tpool_process_flush
        - Src:             'cram/cram_io.c:5308,18'
          Dst:             cram_flush_result
        - Src:             'cram/cram_io.c:5316,9'
          Dst:             hts_tpool_process_destroy
        - Src:             'cram/cram_io.c:5319,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5320,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5321,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5322,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5326,18'
          Dst:             cram_write_eof_block
        - Src:             'cram/cram_io.c:5332,9'
          Dst:             free_bam_list
        - Src:             'cram/cram_io.c:5336,9'
          Dst:             hclose
        - Src:             'cram/cram_io.c:5340,9'
          Dst:             cram_free_file_def
        - Src:             'cram/cram_io.c:5343,9'
          Dst:             sam_hdr_destroy
        - Src:             'cram/cram_io.c:5348,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5351,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5354,9'
          Dst:             refs_free
        - Src:             'cram/cram_io.c:5370,9'
          Dst:             kh_destroy_m_metrics
        - Src:             'cram/cram_io.c:5374,9'
          Dst:             cram_index_free
        - Src:             'cram/cram_io.c:5377,9'
          Dst:             hts_tpool_destroy
        - Src:             'cram/cram_io.c:5380,13'
          Dst:             bgzf_close
    - functionName:    cram_flush_container_mt
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4020
      functionLinenumberEnd: 4065
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          148
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - cram_flush_container
        - cram_flush_result
        - cram_flush_thread
        - hts_tpool_dispatch2
        - hts_usleep
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - reset_metrics
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4033,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:4036,9'
          Dst:             reset_metrics
        - Src:             'cram/cram_io.c:4039,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:4042,16'
          Dst:             cram_flush_container
        - Src:             'cram/cram_io.c:4053,9'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:4054,9'
          Dst:             hts_tpool_dispatch2
        - Src:             'cram/cram_io.c:4054,9'
          Dst:             cram_flush_thread
        - Src:             'cram/cram_io.c:4055,24'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:4056,13'
          Dst:             cram_flush_result
        - Src:             'cram/cram_io.c:4061,9'
          Dst:             hts_usleep
    - functionName:    cram_flush_result
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3913
      functionLinenumberEnd: 3979
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         51
      ICount:          290
      EdgeCount:       67
      CyclomaticComplexity: 18
      functionsReached:
        - cram_flush_container2
        - cram_free_container
        - cram_free_slice
        - hts_tpool_delete_result
        - hts_tpool_next_result
        - hts_tpool_result_data
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3921,17'
          Dst:             hts_tpool_next_result
        - Src:             'cram/cram_io.c:3922,35'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_io.c:3926,13'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_io.c:3934,22'
          Dst:             cram_flush_container2
        - Src:             'cram/cram_io.c:3941,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:3950,13'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:3963,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3968,9'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_io.c:3975,9'
          Dst:             cram_free_container
    - functionName:    cram_write_eof_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5212
      functionLinenumberEnd: 5280
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          117
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - cram_close
        - cram_encode_compression_header
        - cram_free_block
        - cram_write_block
        - cram_write_container
        - kh_destroy_map
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5247,28'
          Dst:             cram_encode_compression_header
        - Src:             'cram/cram_io.c:5252,13'
          Dst:             cram_write_container
        - Src:             'cram/cram_io.c:5253,13'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:5254,13'
          Dst:             cram_close
        - Src:             'cram/cram_io.c:5255,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5259,13'
          Dst:             kh_destroy_map
        - Src:             'cram/cram_io.c:5260,9'
          Dst:             cram_free_block
    - functionName:    free_bam_list
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3458
      functionLinenumberEnd: 3464
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          41
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_destroy1
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3461,9'
          Dst:             bam_destroy1
    - functionName:    cram_free_file_def
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4450
      functionLinenumberEnd: 4452
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_free_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3466
      functionLinenumberEnd: 3541
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         62
      ICount:          378
      EdgeCount:       81
      CyclomaticComplexity: 21
      functionsReached:
        - cram_free_block
        - cram_free_compression_header
        - cram_free_slice
        - cram_stats_free
        - free_bam_list
        - kh_destroy_m_tagmap
      functionUses:    45
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3480,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_io.c:3483,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:3489,17'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:3498,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:3503,27'
          Dst:             cram_stats_free
        - Src:             'cram/cram_io.c:3525,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:3526,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:3531,9'
          Dst:             kh_destroy_m_tagmap
        - Src:             'cram/cram_io.c:3538,9'
          Dst:             free_bam_list
    - functionName:    cram_free_compression_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4103
      functionLinenumberEnd: 4147
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         50
      ICount:          293
      EdgeCount:       64
      CyclomaticComplexity: 16
      functionsReached:
        - cram_free_block
        - kh_destroy_m_s2i
        - kh_destroy_map
        - string_pool_destroy
      functionUses:    20
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4110,9'
          Dst:             kh_destroy_map
        - Src:             'cram/cram_io.c:4140,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4142,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'cram/cram_io.c:4144,9'
          Dst:             string_pool_destroy
    - functionName:    cram_free_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1327
      functionLinenumberEnd: 1333
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          40
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    48
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_free_slice
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4166
      functionLinenumberEnd: 4247
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         79
      ICount:          452
      EdgeCount:       104
      CyclomaticComplexity: 27
      functionsReached:
        - cram_free_block
        - cram_free_slice_header
        - free_bam_list
        - kh_destroy_m_s2i
        - string_pool_destroy
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4171,9'
          Dst:             free_bam_list
        - Src:             'cram/cram_io.c:4176,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4185,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4196,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4203,9'
          Dst:             cram_free_slice_header
        - Src:             'cram/cram_io.c:4206,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4209,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4212,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4215,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4218,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4221,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4236,9'
          Dst:             string_pool_destroy
        - Src:             'cram/cram_io.c:4239,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'cram/cram_io.c:4241,9'
          Dst:             kh_destroy_m_s2i
    - functionName:    kh_destroy_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 380
      functionLinenumberEnd: 380
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_free_slice_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4154
      functionLinenumberEnd: 4164
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          40
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_m_s2i
      functionSourceFile: '/src/htslib/cram/../header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_map
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_write_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3773
      functionLinenumberEnd: 3831
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          470
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - crc32
        - hwrite
        - itf8_put
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3785,15'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:3813,20'
          Dst:             crc32
        - Src:             'cram/cram_io.c:3821,19'
          Dst:             hwrite
    - functionName:    cram_write_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1273
      functionLinenumberEnd: 1322
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          417
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached:
        - __assert_fail
        - crc32
        - hputc
        - hwrite
        - int32_encode
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:1277,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:1279,9'
          Dst:             hputc
        - Src:             'cram/cram_io.c:1280,9'
          Dst:             hputc
        - Src:             'cram/cram_io.c:1284,22'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:1289,35'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:1292,33'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:1297,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:1309,15'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1312,24'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1314,24'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1317,19'
          Dst:             int32_encode
    - functionName:    hputc
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 264
      functionLinenumberEnd: 269
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hputc2
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hfile.h:268,14'
          Dst:             hputc2
    - functionName:    hwrite
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          166
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - hfile_set_blksize
        - hwrite2
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hfile.h:303,13'
          Dst:             hfile_set_blksize
        - Src:             'cram/../htslib/hfile.h:312,16'
          Dst:             hwrite2
        - Src:             'cram/../htslib/hfile.h:318,39'
          Dst:             hwrite2
    - functionName:    int32_encode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 782
      functionLinenumberEnd: 788
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hwrite
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:784,14'
          Dst:             hwrite
    - functionName:    cram_flush_container2
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3834
      functionLinenumberEnd: 3878
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          219
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - cram_index_slice
        - cram_write_block
        - cram_write_container
        - htell
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3842,22'
          Dst:             htell
        - Src:             'cram/cram_io.c:3845,14'
          Dst:             cram_write_container
        - Src:             'cram/cram_io.c:3848,22'
          Dst:             htell
        - Src:             'cram/cram_io.c:3851,14'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:3855,25'
          Dst:             htell
        - Src:             'cram/cram_io.c:3860,18'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:3864,22'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:3868,23'
          Dst:             htell
        - Src:             'cram/cram_io.c:3872,17'
          Dst:             cram_index_slice
    - functionName:    reset_metrics
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3983
      functionLinenumberEnd: 4018
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          117
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - hts_tpool_process_flush
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4001,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:4002,9'
          Dst:             hts_tpool_process_flush
        - Src:             'cram/cram_io.c:4003,9'
          Dst:             pthread_mutex_lock
    - functionName:    cram_flush_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3888
      functionLinenumberEnd: 3894
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_encode_container
        - cram_flush_container2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3890,14'
          Dst:             cram_encode_container
        - Src:             'cram/cram_io.c:3893,12'
          Dst:             cram_flush_container2
    - functionName:    cram_flush_thread
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3901
      functionLinenumberEnd: 3911
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_encode_container
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3905,14'
          Dst:             cram_encode_container
        - Src:             'cram/cram_io.c:3906,9'
          Dst:             hts_log
    - functionName:    hts_usleep
      functionSourceFile: '/src/htslib/cram/../hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 160
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - nanosleep
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../hts_internal.h:162,12'
          Dst:             nanosleep
    - functionName:    cram_flush
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5184
      functionLinenumberEnd: 5204
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          113
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - cram_flush_container_mt
        - cram_free_container
        - cram_update_curr_slice
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5192,13'
          Dst:             cram_update_curr_slice
        - Src:             'cram/cram_io.c:5194,19'
          Dst:             cram_flush_container_mt
        - Src:             'cram/cram_io.c:5197,9'
          Dst:             cram_free_container
    - functionName:    cram_seek
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5169
      functionLinenumberEnd: 5174
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_drain_rqueue
        - hseek
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5172,5'
          Dst:             cram_drain_rqueue
        - Src:             'cram/cram_io.c:5174,12'
          Dst:             hseek
    - functionName:    kh_init_m_metrics
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:294,1'
          Dst:             calloc
    - functionName:    cram_dopen
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5027
      functionLinenumberEnd: 5161
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          503
      EdgeCount:       66
      CyclomaticComplexity: 19
      functionsReached:
        - calloc
        - cram_free_file_def
        - cram_init_tables
        - cram_new_metrics
        - cram_read_SAM_hdr
        - cram_read_file_def
        - kh_init_m_metrics
        - pthread_mutex_init
        - refs_create
        - refs_from_header
        - strdup
        - strncpy
        - strrchr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5030,19'
          Dst:             calloc
        - Src:             'cram/cram_io.c:5050,30'
          Dst:             cram_read_file_def
        - Src:             'cram/cram_io.c:5056,9'
          Dst:             cram_init_tables
        - Src:             'cram/cram_io.c:5058,28'
          Dst:             cram_read_SAM_hdr
        - Src:             'cram/cram_io.c:5059,13'
          Dst:             cram_free_file_def
        - Src:             'cram/cram_io.c:5065,30'
          Dst:             calloc
        - Src:             'cram/cram_io.c:5078,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:5081,9'
          Dst:             cram_init_tables
        - Src:             'cram/cram_io.c:5086,31'
          Dst:             strrchr
        - Src:             'cram/cram_io.c:5086,18'
          Dst:             strdup
        - Src:             'cram/cram_io.c:5094,17'
          Dst:             refs_create
        - Src:             'cram/cram_io.c:5130,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5131,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5132,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5133,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5136,20'
          Dst:             cram_new_metrics
        - Src:             'cram/cram_io.c:5141,27'
          Dst:             kh_init_m_metrics
        - Src:             'cram/cram_io.c:5151,15'
          Dst:             refs_from_header
    - functionName:    cram_read_file_def
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4412
      functionLinenumberEnd: 4439
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          100
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - hread
        - hts_log
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4417,15'
          Dst:             hread
        - Src:             'cram/cram_io.c:4422,9'
          Dst:             memcmp
        - Src:             'cram/cram_io.c:4428,9'
          Dst:             hts_log
    - functionName:    cram_read_SAM_hdr
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4467
      functionLinenumberEnd: 4596
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         56
      ICount:          516
      EdgeCount:       79
      CyclomaticComplexity: 25
      functionsReached:
        - cram_free_block
        - cram_free_container
        - cram_read_block
        - cram_read_container
        - cram_uncompress_block
        - hread
        - int32_decode
        - int32_get_blk
        - sam_hdr_add_lines
        - sam_hdr_destroy
        - sam_hdr_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4475,19'
          Dst:             int32_decode
        - Src:             'cram/cram_io.c:4487,27'
          Dst:             hread
        - Src:             'cram/cram_io.c:4495,29'
          Dst:             cram_read_container
        - Src:             'cram/cram_io.c:4507,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4511,19'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4512,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4515,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_io.c:4516,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4517,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4527,19'
          Dst:             int32_get_blk
        - Src:             'cram/cram_io.c:4530,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4531,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4535,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4536,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4541,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4545,23'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4546,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4554,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4561,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4566,36'
          Dst:             hread
        - Src:             'cram/cram_io.c:4567,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4575,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4579,11'
          Dst:             sam_hdr_init
        - Src:             'cram/cram_io.c:4585,15'
          Dst:             sam_hdr_add_lines
        - Src:             'cram/cram_io.c:4587,9'
          Dst:             sam_hdr_destroy
    - functionName:    cram_new_metrics
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2089
      functionLinenumberEnd: 2101
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - calloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2090,23'
          Dst:             calloc
    - functionName:    int32_decode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 767
      functionLinenumberEnd: 774
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hread
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:769,14'
          Dst:             hread
    - functionName:    cram_read_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3549
      functionLinenumberEnd: 3698
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         94
      ICount:          700
      EdgeCount:       126
      CyclomaticComplexity: 34
      functionsReached:
        - __errno_location
        - calloc
        - cram_free_container
        - crc32
        - hts_log
        - hts_malloc_p
        - int32_decode
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3568,18'
          Dst:             int32_decode
        - Src:             'cram/cram_io.c:3579,15'
          Dst:             crc32
        - Src:             'cram/cram_io.c:3624,15'
          Dst:             calloc
        - Src:             'cram/cram_io.c:3630,19'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:3631,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3641,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3644,45'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:3645,19'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:3646,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3651,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3659,19'
          Dst:             int32_decode
        - Src:             'cram/cram_io.c:3660,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3672,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3673,13'
          Dst:             cram_free_container
    - functionName:    cram_read_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1176
      functionLinenumberEnd: 1245
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         44
      ICount:          395
      EdgeCount:       62
      CyclomaticComplexity: 20
      functionsReached:
        - crc32
        - hgetc
        - hread
        - hts_log
        - int32_decode
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:1185,33'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:1187,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1190,26'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1191,33'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:1192,32'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1207,31'
          Dst:             hread
        - Src:             'cram/cram_io.c:1219,29'
          Dst:             hread
        - Src:             'cram/cram_io.c:1227,19'
          Dst:             int32_decode
    - functionName:    cram_uncompress_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1338
      functionLinenumberEnd: 1516
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         56
      ICount:          563
      EdgeCount:       73
      CyclomaticComplexity: 19
      functionsReached:
        - BZ2_bzBuffToBuffDecompress
        - __assert_fail
        - arith_uncompress_to
        - crc32
        - fqz_decompress
        - hts_log
        - lzma_mem_inflate
        - rans_uncompress
        - rans_uncompress_4x16
        - tok3_decode_names
        - zlib_mem_inflate
      functionUses:    8
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:1363,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:1348,24'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1351,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1361,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:1369,18'
          Dst:             zlib_mem_inflate
        - Src:             'cram/cram_io.c:1388,22'
          Dst:             BZ2_bzBuffToBuffDecompress
        - Src:             'cram/cram_io.c:1409,18'
          Dst:             lzma_mem_inflate
        - Src:             'cram/cram_io.c:1430,26'
          Dst:             rans_uncompress
        - Src:             'cram/cram_io.c:1448,18'
          Dst:             fqz_decompress
        - Src:             'cram/cram_io.c:1461,26'
          Dst:             rans_uncompress_4x16
        - Src:             'cram/cram_io.c:1480,26'
          Dst:             arith_uncompress_to
        - Src:             'cram/cram_io.c:1499,23'
          Dst:             tok3_decode_names
    - functionName:    int32_get_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 791
      functionLinenumberEnd: 804
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          100
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    zlib_mem_inflate
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 919
      functionLinenumberEnd: 980
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          173
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - hts_log
        - inflate
        - inflateEnd
        - inflateInit2_
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:942,11'
          Dst:             inflateInit2_
        - Src:             'cram/cram_io.c:944,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:955,15'
          Dst:             inflate
        - Src:             'cram/cram_io.c:960,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:962,13'
          Dst:             inflateEnd
        - Src:             'cram/cram_io.c:968,16'
          Dst:             realloc
        - Src:             'cram/cram_io.c:971,13'
          Dst:             inflateEnd
        - Src:             'cram/cram_io.c:976,5'
          Dst:             inflateEnd
    - functionName:    BZ2_bzBuffToBuffDecompress
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    lzma_mem_inflate
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1075
      functionLinenumberEnd: 1132
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          208
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached:
        - hts_log
        - lzma_code
        - lzma_easy_decoder_memusage
        - lzma_end
        - lzma_stream_decoder
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:1082,47'
          Dst:             lzma_easy_decoder_memusage
        - Src:             'cram/cram_io.c:1082,20'
          Dst:             lzma_stream_decoder
        - Src:             'cram/cram_io.c:1092,23'
          Dst:             realloc
        - Src:             'cram/cram_io.c:1100,13'
          Dst:             lzma_code
        - Src:             'cram/cram_io.c:1102,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1113,9'
          Dst:             lzma_code
        - Src:             'cram/cram_io.c:1115,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1119,15'
          Dst:             realloc
        - Src:             'cram/cram_io.c:1124,5'
          Dst:             lzma_end
        - Src:             'cram/cram_io.c:1129,5'
          Dst:             lzma_end
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    cram_open
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5002
      functionLinenumberEnd: 5020
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          99
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - cram_dopen
        - hclose_abruptly
        - hopen
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:5007,9'
          Dst:             strlen
        - Src:             'cram/cram_io.c:5011,10'
          Dst:             hopen
        - Src:             'cram/cram_io.c:5015,10'
          Dst:             cram_dopen
        - Src:             'cram/cram_io.c:5017,9'
          Dst:             hclose_abruptly
    - functionName:    full_path
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4602
      functionLinenumberEnd: 4634
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          168
      EdgeCount:       40
      CyclomaticComplexity: 13
      functionsReached:
        - getcwd
        - hisremote
        - hts_log
        - snprintf
        - strlen
        - strncpy
        - toupper_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4603,19'
          Dst:             strlen
        - Src:             'cram/cram_io.c:4604,9'
          Dst:             hisremote
        - Src:             'cram/cram_io.c:4606,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4609,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:4615,22'
          Dst:             toupper_c
        - Src:             'cram/cram_io.c:4615,48'
          Dst:             toupper_c
        - Src:             'cram/cram_io.c:4617,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:4623,14'
          Dst:             getcwd
        - Src:             'cram/cram_io.c:4624,20'
          Dst:             strlen
        - Src:             'cram/cram_io.c:4624,35'
          Dst:             strlen
        - Src:             'cram/cram_io.c:4625,13'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:4630,9'
          Dst:             snprintf
    - functionName:    getcwd
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_write_SAM_hdr
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4641
      functionLinenumberEnd: 4871
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         126
      ICount:          1032
      EdgeCount:       176
      CyclomaticComplexity: 52
      functionsReached:
        - block_append
        - block_resize
        - calloc
        - cram_compress_block
        - cram_free_block
        - cram_free_container
        - cram_get_ref
        - cram_new_block
        - cram_new_container
        - cram_ref_decr
        - cram_write_block
        - cram_write_container
        - cram_write_file_def
        - full_path
        - hflush
        - hts_log
        - hts_md5_destroy
        - hts_md5_final
        - hts_md5_hex
        - hts_md5_init
        - hts_md5_update
        - hwrite
        - int32_encode
        - int32_put_blk
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - refs2id
        - refs_from_header
        - sam_hdr_add_line
        - sam_hdr_length
        - sam_hdr_remove_tag_all
        - sam_hdr_str
        - sam_hdr_update_line
        - sam_hrecs_find_key
        - sam_hrecs_find_rg
        - sam_hrecs_find_type_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4649,18'
          Dst:             cram_write_file_def
        - Src:             'cram/cram_io.c:4655,14'
          Dst:             sam_hrecs_find_rg
        - Src:             'cram/cram_io.c:4656,17'
          Dst:             sam_hdr_add_line
        - Src:             'cram/cram_io.c:4661,15'
          Dst:             refs_from_header
        - Src:             'cram/cram_io.c:4663,15'
          Dst:             refs2id
        - Src:             'cram/cram_io.c:4673,24'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_io.c:4676,18'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:4688,23'
          Dst:             cram_get_ref
        - Src:             'cram/cram_io.c:4692,25'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4694,25'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4695,25'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4697,25'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:4701,25'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:4707,29'
          Dst:             hts_md5_init
        - Src:             'cram/cram_io.c:4711,21'
          Dst:             hts_md5_update
        - Src:             'cram/cram_io.c:4722,17'
          Dst:             hts_md5_final
        - Src:             'cram/cram_io.c:4723,17'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_io.c:4724,17'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_io.c:4726,17'
          Dst:             hts_md5_hex
        - Src:             'cram/cram_io.c:4728,21'
          Dst:             sam_hdr_update_line
        - Src:             'cram/cram_io.c:4734,17'
          Dst:             full_path
        - Src:             'cram/cram_io.c:4735,21'
          Dst:             sam_hdr_update_line
        - Src:             'cram/cram_io.c:4742,13'
          Dst:             sam_hdr_remove_tag_all
        - Src:             'cram/cram_io.c:4743,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4749,18'
          Dst:             sam_hdr_length
        - Src:             'cram/cram_io.c:4751,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4755,19'
          Dst:             int32_encode
        - Src:             'cram/cram_io.c:4759,42'
          Dst:             sam_hdr_str
        - Src:             'cram/cram_io.c:4759,27'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:4763,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4764,29'
          Dst:             cram_new_container
        - Src:             'cram/cram_io.c:4770,20'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4771,20'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4775,13'
          Dst:             int32_put_blk
        - Src:             'cram/cram_io.c:4778,13'
          Dst:             sam_hdr_str
        - Src:             'cram/cram_io.c:4778,13'
          Dst:             block_append
        - Src:             'cram/cram_io.c:4783,17'
          Dst:             cram_compress_block
        - Src:             'cram/cram_io.c:4795,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4796,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4823,33'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4824,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4825,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4828,13'
          Dst:             block_append
        - Src:             'cram/cram_io.c:4833,19'
          Dst:             cram_write_container
        - Src:             'cram/cram_io.c:4834,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4835,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4839,19'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:4840,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4841,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4846,13'
          Dst:             block_resize
        - Src:             'cram/cram_io.c:4851,23'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:4852,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4853,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4858,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4859,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4862,14'
          Dst:             hflush
    - functionName:    cram_write_file_def
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4446
      functionLinenumberEnd: 4447
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hwrite
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4447,13'
          Dst:             hwrite
    - functionName:    cram_get_ref
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3172
      functionLinenumberEnd: 3353
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         94
      ICount:          694
      EdgeCount:       128
      CyclomaticComplexity: 36
      functionsReached:
        - bgzf_close
        - bgzf_open_ref
        - cram_populate_ref
        - cram_ref_incr_locked
        - cram_ref_load
        - hts_log
        - load_ref_portion
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - strcmp
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3186,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:3201,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3202,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3219,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:3222,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3224,13'
          Dst:             cram_populate_ref
        - Src:             'cram/cram_io.c:3225,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3227,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3228,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3229,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3234,13'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:3266,17'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:3269,27'
          Dst:             cram_ref_load
        - Src:             'cram/cram_io.c:3270,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3271,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3279,21'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:3295,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3296,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3316,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3317,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3322,9'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:3324,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:3327,30'
          Dst:             bgzf_open_ref
        - Src:             'cram/cram_io.c:3328,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3329,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3334,21'
          Dst:             load_ref_portion
        - Src:             'cram/cram_io.c:3335,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3336,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3349,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3350,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_ref_decr
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2976
      functionLinenumberEnd: 2980
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_ref_decr_locked
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2977,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:2978,5'
          Dst:             cram_ref_decr_locked
        - Src:             'cram/cram_io.c:2979,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_new_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1151
      functionLinenumberEnd: 1169
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          75
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    31
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_new_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3400
      functionLinenumberEnd: 3456
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          201
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - cram_new_compression_header
        - cram_stats_create
        - kh_init_m_tagmap
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3401,25'
          Dst:             calloc
        - Src:             'cram/cram_io.c:3429,23'
          Dst:             calloc
        - Src:             'cram/cram_io.c:3433,25'
          Dst:             cram_new_compression_header
        - Src:             'cram/cram_io.c:3438,30'
          Dst:             cram_stats_create
        - Src:             'cram/cram_io.c:3442,26'
          Dst:             kh_init_m_tagmap
    - functionName:    int32_put_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 807
      functionLinenumberEnd: 820
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          61
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:815,5'
          Dst:             block_append
    - functionName:    cram_compress_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2085
      functionLinenumberEnd: 2086
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_compress_block2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2086,12'
          Dst:             cram_compress_block2
    - functionName:    cram_compress_block2
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2080
      functionLinenumberEnd: 2081
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_compress_block3
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2081,12'
          Dst:             cram_compress_block3
    - functionName:    cram_compress_block3
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1677
      functionLinenumberEnd: 2070
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         234
      ICount:          1682
      EdgeCount:       303
      CyclomaticComplexity: 71
      functionsReached:
        - cram_block_method2str
        - cram_compress_block3
        - cram_compress_by_method
        - hts_log
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:1823,21'
          Branch Sides:    []
        - Branch String:   'cram/cram_io.c:1954,17'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:1741,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:1818,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:1836,25'
          Dst:             cram_compress_by_method
        - Src:             'cram/cram_io.c:1863,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:1998,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:2010,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:2011,20'
          Dst:             cram_compress_by_method
        - Src:             'cram/cram_io.c:2019,21'
          Dst:             cram_block_method2str
        - Src:             'cram/cram_io.c:2019,21'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2022,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:2026,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:2027,28'
          Dst:             cram_compress_block3
        - Src:             'cram/cram_io.c:2045,16'
          Dst:             cram_compress_by_method
        - Src:             'cram/cram_io.c:2048,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2063,5'
          Dst:             cram_block_method2str
        - Src:             'cram/cram_io.c:2063,5'
          Dst:             hts_log
    - functionName:    cram_block_method2str
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2103
      functionLinenumberEnd: 2138
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         35
      ICount:          172
      EdgeCount:       68
      CyclomaticComplexity: 35
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:2104,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_new_compression_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4077
      functionLinenumberEnd: 4101
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         12
      ICount:          81
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - cram_free_block
        - cram_new_block
        - kh_destroy_m_s2i
        - kh_init_m_s2i
        - string_pool_create
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4078,39'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4082,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4087,26'
          Dst:             kh_init_m_s2i
        - Src:             'cram/cram_io.c:4088,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4093,26'
          Dst:             string_pool_create
        - Src:             'cram/cram_io.c:4094,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'cram/cram_io.c:4095,9'
          Dst:             cram_free_block
    - functionName:    kh_init_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 380
      functionLinenumberEnd: 380
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:380,1'
          Dst:             calloc
    - functionName:    kh_init_m_s2i
      functionSourceFile: '/src/htslib/cram/../header.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../header.h:169,1'
          Dst:             calloc
    - functionName:    cram_ref_decr_locked
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2952
      functionLinenumberEnd: 2974
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          183
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - __assert_fail
        - ref_entry_free_seq
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2962,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:2968,17'
          Dst:             ref_entry_free_seq
    - functionName:    cram_populate_ref
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2740
      functionLinenumberEnd: 2930
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         98
      ICount:          702
      EdgeCount:       137
      CyclomaticComplexity: 41
      functionsReached:
        - __errno_location
        - bgzf_close
        - bgzf_open
        - chmod
        - expand_cache_path
        - getenv
        - hclose
        - hclose_abruptly
        - hts_log
        - hts_md5_destroy
        - hts_md5_final
        - hts_md5_hex
        - hts_md5_init
        - hts_md5_update
        - hts_open_tmpfile
        - hwrite
        - mfsteal
        - mkdir_prefix
        - open_path_mfile
        - perror
        - refs2id
        - refs_load_fai
        - rename
        - sam_hrecs_find_key
        - sam_hrecs_find_type_id
        - sanitise_SQ_lines
        - stat
        - strerror
        - string_dup
        - strncmp
        - strstr
        - unlink
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2741,22'
          Dst:             getenv
        - Src:             'cram/cram_io.c:2746,25'
          Dst:             getenv
        - Src:             'cram/cram_io.c:2750,5'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2755,16'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_io.c:2758,17'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:2761,5'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2766,13'
          Dst:             expand_cache_path
        - Src:             'cram/cram_io.c:2767,13'
          Dst:             stat
        - Src:             'cram/cram_io.c:2788,18'
          Dst:             stat
        - Src:             'cram/cram_io.c:2790,22'
          Dst:             bgzf_open
        - Src:             'cram/cram_io.c:2794,21'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2797,21'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:2813,15'
          Dst:             open_path_mfile
        - Src:             'cram/cram_io.c:2815,18'
          Dst:             mfsteal
        - Src:             'cram/cram_io.c:2833,24'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:2836,13'
          Dst:             strstr
        - Src:             'cram/cram_io.c:2837,13'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:2839,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2843,15'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:2848,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:2852,22'
          Dst:             refs_load_fai
        - Src:             'cram/cram_io.c:2854,9'
          Dst:             sanitise_SQ_lines
        - Src:             'cram/cram_io.c:2858,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:2866,19'
          Dst:             refs2id
        - Src:             'cram/cram_io.c:2879,13'
          Dst:             expand_cache_path
        - Src:             'cram/cram_io.c:2882,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2883,9'
          Dst:             mkdir_prefix
        - Src:             'cram/cram_io.c:2885,14'
          Dst:             hts_open_tmpfile
        - Src:             'cram/cram_io.c:2887,13'
          Dst:             perror
        - Src:             'cram/cram_io.c:2899,21'
          Dst:             hts_md5_init
        - Src:             'cram/cram_io.c:2900,13'
          Dst:             hclose_abruptly
        - Src:             'cram/cram_io.c:2901,13'
          Dst:             unlink
        - Src:             'cram/cram_io.c:2905,9'
          Dst:             hts_md5_update
        - Src:             'cram/cram_io.c:2906,9'
          Dst:             hts_md5_final
        - Src:             'cram/cram_io.c:2907,9'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_io.c:2908,9'
          Dst:             hts_md5_hex
        - Src:             'cram/cram_io.c:2910,13'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:2911,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2912,13'
          Dst:             hclose_abruptly
        - Src:             'cram/cram_io.c:2913,13'
          Dst:             unlink
        - Src:             'cram/cram_io.c:2918,34'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:2919,13'
          Dst:             hclose
        - Src:             'cram/cram_io.c:2920,13'
          Dst:             chmod
        - Src:             'cram/cram_io.c:2921,13'
          Dst:             rename
        - Src:             'cram/cram_io.c:2922,13'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:2922,13'
          Dst:             strerror
        - Src:             'cram/cram_io.c:2922,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2924,13'
          Dst:             unlink
    - functionName:    cram_ref_incr_locked
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2932
      functionLinenumberEnd: 2944
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          75
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_ref_load
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3086
      functionLinenumberEnd: 3148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          246
      EdgeCount:       49
      CyclomaticComplexity: 13
      functionsReached:
        - __assert_fail
        - bgzf_close
        - bgzf_open_ref
        - load_ref_portion
        - ref_entry_free_seq
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3095,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:3105,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:3109,17'
          Dst:             ref_entry_free_seq
        - Src:             'cram/cram_io.c:3117,9'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:3119,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:3122,23'
          Dst:             bgzf_open_ref
        - Src:             'cram/cram_io.c:3128,17'
          Dst:             load_ref_portion
    - functionName:    load_ref_portion
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2992
      functionLinenumberEnd: 3077
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          427
      EdgeCount:       76
      CyclomaticComplexity: 20
      functionsReached:
        - bgzf_read
        - bgzf_useek
        - hts_log
        - isspace_c
        - perror
        - toupper_c
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3017,9'
          Dst:             bgzf_useek
        - Src:             'cram/cram_io.c:3018,9'
          Dst:             perror
        - Src:             'cram/cram_io.c:3026,16'
          Dst:             bgzf_read
        - Src:             'cram/cram_io.c:3027,9'
          Dst:             perror
        - Src:             'cram/cram_io.c:3044,18'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:3049,27'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:3058,18'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:3065,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3072,22'
          Dst:             toupper_c
    - functionName:    getenv
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    36
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_read_slice
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4318
      functionLinenumberEnd: 4400
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         67
      ICount:          438
      EdgeCount:       89
      CyclomaticComplexity: 24
      functionsReached:
        - calloc
        - cram_content_type2str
        - cram_decode_slice_header
        - cram_free_block
        - cram_free_slice
        - cram_new_block
        - cram_read_block
        - hts_log
        - hts_malloc_p
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:4327,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:4319,21'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4320,21'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4330,24'
          Dst:             cram_decode_slice_header
        - Src:             'cram/cram_io.c:4335,9'
          Dst:             cram_content_type2str
        - Src:             'cram/cram_io.c:4335,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4341,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4345,16'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4350,29'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4361,28'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4375,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:4378,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4379,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4380,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4381,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4382,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4383,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4394,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4397,9'
          Dst:             cram_free_slice
    - functionName:    cram_content_type2str
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2140
      functionLinenumberEnd: 2151
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          52
      EdgeCount:       20
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:2141,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_new_slice
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4256
      functionLinenumberEnd: 4305
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          219
      EdgeCount:       48
      CyclomaticComplexity: 16
      functionsReached:
        - calloc
        - cram_free_slice
        - cram_new_block
        - hts_malloc_p
        - kh_init_m_s2i
        - string_pool_create
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4257,21'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4261,44'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4269,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:4271,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:4274,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4275,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4276,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4277,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4278,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4279,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4290,26'
          Dst:             string_pool_create
        - Src:             'cram/cram_io.c:4291,24'
          Dst:             kh_init_m_s2i
        - Src:             'cram/cram_io.c:4292,24'
          Dst:             kh_init_m_s2i
        - Src:             'cram/cram_io.c:4302,9'
          Dst:             cram_free_slice
    - functionName:    cram_store_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3716
      functionLinenumberEnd: 3764
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          395
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - cram_container_size
        - crc32
        - itf8_put
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3722,9'
          Dst:             cram_container_size
        - Src:             'cram/cram_io.c:3726,15'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:3753,20'
          Dst:             crc32
    - functionName:    cram_container_size
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3702
      functionLinenumberEnd: 3703
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_ref_incr
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2946
      functionLinenumberEnd: 2950
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_ref_incr_locked
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2947,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:2948,5'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:2949,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_set_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2629
      functionLinenumberEnd: 2630
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_set_header2
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2630,12'
          Dst:             cram_set_header2
    - functionName:    cram_set_header2
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2615
      functionLinenumberEnd: 2627
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          83
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - refs_from_header
        - sam_hdr_destroy
        - sam_hdr_dup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:2621,13'
          Dst:             sam_hdr_destroy
        - Src:             'cram/cram_io.c:2622,22'
          Dst:             sam_hdr_dup
        - Src:             'cram/cram_io.c:2626,12'
          Dst:             refs_from_header
    - functionName:    cram_block_size
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1252
      functionLinenumberEnd: 1265
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          94
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - itf8_put
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:1258,11'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:1259,11'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:1260,11'
          Dst:             itf8_put
    - functionName:    ltf8_decode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 420
      functionLinenumberEnd: 499
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          516
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - hgetc
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:421,13'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:431,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:436,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:437,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:442,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:443,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:444,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:449,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:450,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:451,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:452,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:457,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:458,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:459,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:460,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:461,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:466,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:467,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:468,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:469,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:470,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:471,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:476,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:477,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:478,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:479,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:480,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:481,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:482,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:487,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:488,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:489,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:490,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:491,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:492,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:493,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:494,41'
          Dst:             hgetc
    - functionName:    itf8_encode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 382
      functionLinenumberEnd: 385
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hwrite
        - itf8_put
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:384,15'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:385,12'
          Dst:             hwrite
    - functionName:    itf8_decode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 194
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          197
      EdgeCount:       13
      CyclomaticComplexity: 2
      functionsReached:
        - hgetc
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_io.c:162,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:155,19'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:168,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:173,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:174,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:179,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:180,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:181,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:186,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:187,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:188,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:189,43'
          Dst:             hgetc
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_resize_m_i2i
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          592
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             __errno_location
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             realloc
    - functionName:    kh_destroy_m_i2i
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_stats_free
      functionSourceFile: '/src/htslib/cram/cram_stats.c'
      linkageType:     InternalLinkage
      functionLinenumber: 212
      functionLinenumberEnd: 216
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_destroy_m_i2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_stats.c:214,9'
          Dst:             kh_destroy_m_i2i
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    cram_stats_encoding
      functionSourceFile: '/src/htslib/cram/cram_stats.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 210
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         68
      ICount:          462
      EdgeCount:       89
      CyclomaticComplexity: 23
      functionsReached:
        - __assert_fail
        - hts_realloc_p
      functionUses:    28
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_stats.c:150,30'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_stats.c:151,30'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_stats.c:177,34'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_stats.c:178,34'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_stats.c:200,5'
          Dst:             __assert_fail
    - functionName:    kh_del_m_i2i
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_get_m_i2i
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          162
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_stats_del
      functionSourceFile: '/src/htslib/cram/cram_stats.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          134
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - __assert_fail
        - hts_log
        - kh_del_m_i2i
        - kh_get_m_i2i
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_stats.c:88,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_stats.c:90,21'
          Dst:             kh_get_m_i2i
        - Src:             'cram/cram_stats.c:94,17'
          Dst:             kh_del_m_i2i
        - Src:             'cram/cram_stats.c:96,13'
          Dst:             hts_log
        - Src:             'cram/cram_stats.c:100,9'
          Dst:             hts_log
    - functionName:    kh_put_m_i2i
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          430
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_m_i2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             kh_resize_m_i2i
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             kh_resize_m_i2i
    - functionName:    kh_init_m_i2i
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:64,1'
          Dst:             calloc
    - functionName:    cram_stats_add
      functionSourceFile: '/src/htslib/cram/cram_stats.c'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          129
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - kh_init_m_i2i
        - kh_put_m_i2i
      functionUses:    37
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_stats.c:65,21'
          Dst:             kh_init_m_i2i
        - Src:             'cram/cram_stats.c:70,13'
          Dst:             kh_put_m_i2i
    - functionName:    cram_stats_create
      functionSourceFile: '/src/htslib/cram/cram_stats.c'
      linkageType:     InternalLinkage
      functionLinenumber: 49
      functionLinenumberEnd: 50
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_stats.c:50,12'
          Dst:             calloc
    - functionName:    mfascii
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 656
      functionLinenumberEnd: 668
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          90
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfgets
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 577
      functionLinenumberEnd: 594
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - init_mstdin
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:580,29'
          Dst:             init_mstdin
    - functionName:    init_mstdin
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - mfload
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:166,26'
          Dst:             mfload
    - functionName:    mfload
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          178
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - feof
        - fread
        - realloc
        - stat
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:88,21'
          Dst:             stat
        - Src:             'cram/mFILE.c:101,27'
          Dst:             realloc
        - Src:             'cram/mFILE.c:109,15'
          Dst:             fread
        - Src:             'cram/mFILE.c:112,15'
          Dst:             feof
    - functionName:    fread
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    feof
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mungetc
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 567
      functionLinenumberEnd: 575
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          42
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfgetc
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 557
      functionLinenumberEnd: 565
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          61
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - init_mstdin
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:558,29'
          Dst:             init_mstdin
    - functionName:    mfwrite
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 527
      functionLinenumberEnd: 555
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          185
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:538,27'
          Dst:             realloc
    - functionName:    mfread
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 502
      functionLinenumberEnd: 525
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          133
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - init_mstdin
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:506,29'
          Dst:             init_mstdin
    - functionName:    mfeof
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 494
      functionLinenumberEnd: 495
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mftruncate
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 488
      functionLinenumberEnd: 492
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          51
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mrewind
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 475
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mftell
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 472
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfseek
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 451
      functionLinenumberEnd: 469
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          65
      EdgeCount:       17
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/mFILE.c:452,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/mFILE.c:463,9'
          Dst:             __errno_location
    - functionName:    mfsteal
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 428
      functionLinenumberEnd: 444
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          67
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - mfdestroy
        - mfdetach
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:437,9'
          Dst:             mfdetach
        - Src:             'cram/mFILE.c:441,5'
          Dst:             mfdestroy
    - functionName:    mfdetach
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 389
      functionLinenumberEnd: 403
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          59
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - fclose
        - mfflush
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:393,5'
          Dst:             mfflush
        - Src:             'cram/mFILE.c:398,9'
          Dst:             fclose
    - functionName:    mfdestroy
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 408
      functionLinenumberEnd: 417
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfflush
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 607
      functionLinenumberEnd: 644
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         37
      ICount:          247
      EdgeCount:       50
      CyclomaticComplexity: 15
      functionsReached:
        - fflush
        - fileno
        - fseek
        - ftell
        - ftruncate
        - fwrite
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:615,17'
          Dst:             fwrite
        - Src:             'cram/mFILE.c:617,22'
          Dst:             fflush
        - Src:             'cram/mFILE.c:630,17'
          Dst:             fseek
        - Src:             'cram/mFILE.c:632,17'
          Dst:             fwrite
        - Src:             'cram/mFILE.c:634,22'
          Dst:             fflush
        - Src:             'cram/mFILE.c:637,13'
          Dst:             ftell
        - Src:             'cram/mFILE.c:638,23'
          Dst:             fileno
        - Src:             'cram/mFILE.c:638,39'
          Dst:             ftell
        - Src:             'cram/mFILE.c:638,13'
          Dst:             ftruncate
    - functionName:    fclose
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fwrite
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fflush
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fseek
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ftell
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fileno
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ftruncate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfclose
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 361
      functionLinenumberEnd: 381
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          80
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - fclose
        - mfdestroy
        - mfflush
        - munmap
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:365,5'
          Dst:             mfflush
        - Src:             'cram/mFILE.c:370,9'
          Dst:             munmap
        - Src:             'cram/mFILE.c:376,9'
          Dst:             fclose
        - Src:             'cram/mFILE.c:378,5'
          Dst:             mfdestroy
    - functionName:    munmap
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfopen
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 347
      functionLinenumberEnd: 353
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - fopen
        - mfreopen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:350,23'
          Dst:             fopen
        - Src:             'cram/mFILE.c:352,12'
          Dst:             mfreopen
    - functionName:    fopen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfreopen
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 264
      functionLinenumberEnd: 340
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          340
      EdgeCount:       85
      CyclomaticComplexity: 23
      functionsReached:
        - fseek
        - hts_log
        - mfcreate
        - mfload
        - mfmmap
        - strchr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:276,9'
          Dst:             strchr
        - Src:             'cram/mFILE.c:278,9'
          Dst:             strchr
        - Src:             'cram/mFILE.c:280,9'
          Dst:             strchr
        - Src:             'cram/mFILE.c:282,9'
          Dst:             strchr
        - Src:             'cram/mFILE.c:284,9'
          Dst:             strchr
        - Src:             'cram/mFILE.c:286,9'
          Dst:             strchr
        - Src:             'cram/mFILE.c:292,9'
          Dst:             strchr
        - Src:             'cram/mFILE.c:297,14'
          Dst:             mfcreate
        - Src:             'cram/mFILE.c:302,21'
          Dst:             mfmmap
        - Src:             'cram/mFILE.c:309,28'
          Dst:             mfload
        - Src:             'cram/mFILE.c:316,21'
          Dst:             fseek
        - Src:             'cram/mFILE.c:321,14'
          Dst:             mfcreate
        - Src:             'cram/mFILE.c:324,9'
          Dst:             hts_log
        - Src:             'cram/mFILE.c:336,9'
          Dst:             fseek
    - functionName:    mfcreate
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 207
      functionLinenumberEnd: 219
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          63
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfmmap
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 127
      functionLinenumberEnd: 142
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          72
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - fileno
        - mmap
        - stat
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:130,9'
          Dst:             stat
        - Src:             'cram/mFILE.c:135,21'
          Dst:             fileno
        - Src:             'cram/mFILE.c:134,16'
          Dst:             mmap
    - functionName:    mmap
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - int
        - int
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mfcreate_from
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 246
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - mfreopen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:250,23'
          Dst:             mfreopen
    - functionName:    mfrecreate
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 225
      functionLinenumberEnd: 234
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          57
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mstderr
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 192
      functionLinenumberEnd: 201
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         8
      ICount:          45
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - mfcreate
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:196,20'
          Dst:             mfcreate
    - functionName:    mstdout
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         8
      ICount:          45
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - mfcreate
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:180,20'
          Dst:             mfcreate
    - functionName:    mstdin
      functionSourceFile: '/src/htslib/cram/mFILE.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 159
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         8
      ICount:          42
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - mfcreate
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/mFILE.c:155,20'
          Dst:             mfcreate
    - functionName:    is_file
      functionSourceFile: '/src/htslib/cram/open_trace_file.c'
      linkageType:     InternalLinkage
      functionLinenumber: 90
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - stat
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/open_trace_file.c:92,10'
          Dst:             stat
    - functionName:    find_path
      functionSourceFile: '/src/htslib/cram/open_trace_file.c'
      linkageType:     InternalLinkage
      functionLinenumber: 433
      functionLinenumberEnd: 466
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          148
      EdgeCount:       38
      CyclomaticComplexity: 11
      functionsReached:
        - expand_path
        - getenv
        - is_file
        - strlen
        - strncmp
        - tokenise_search_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/open_trace_file.c:440,16'
          Dst:             getenv
        - Src:             'cram/open_trace_file.c:441,30'
          Dst:             tokenise_search_path
        - Src:             'cram/open_trace_file.c:447,14'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:448,14'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:449,14'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:450,14'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:453,23'
          Dst:             expand_path
        - Src:             'cram/open_trace_file.c:454,17'
          Dst:             is_file
        - Src:             'cram/open_trace_file.c:444,40'
          Dst:             strlen
    - functionName:    tokenise_search_path
      functionSourceFile: '/src/htslib/cram/open_trace_file.c'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         89
      ICount:          598
      EdgeCount:       121
      CyclomaticComplexity: 34
      functionsReached:
        - strlen
        - strncmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/open_trace_file.c:117,39'
          Dst:             strlen
        - Src:             'cram/open_trace_file.c:132,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:133,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:134,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:135,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:136,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:137,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:138,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:139,19'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:140,19'
          Dst:             strncmp
    - functionName:    expand_path
      functionSourceFile: '/src/htslib/cram/open_trace_file.c'
      linkageType:     InternalLinkage
      functionLinenumber: 231
      functionLinenumberEnd: 304
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          350
      EdgeCount:       68
      CyclomaticComplexity: 19
      functionsReached:
        - hts_log
        - strchr
        - strlen
        - strtol
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/open_trace_file.c:232,18'
          Dst:             strlen
        - Src:             'cram/open_trace_file.c:233,19'
          Dst:             strlen
        - Src:             'cram/open_trace_file.c:239,9'
          Dst:             hts_log
        - Src:             'cram/open_trace_file.c:256,22'
          Dst:             strchr
        - Src:             'cram/open_trace_file.c:259,22'
          Dst:             strtol
    - functionName:    find_file_dir
      functionSourceFile: '/src/htslib/cram/open_trace_file.c'
      linkageType:     InternalLinkage
      functionLinenumber: 314
      functionLinenumberEnd: 327
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - expand_path
        - is_file
        - mfopen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/open_trace_file.c:318,12'
          Dst:             expand_path
        - Src:             'cram/open_trace_file.c:322,9'
          Dst:             is_file
        - Src:             'cram/open_trace_file.c:323,14'
          Dst:             mfopen
    - functionName:    open_path_mfile
      functionSourceFile: '/src/htslib/cram/open_trace_file.c'
      linkageType:     InternalLinkage
      functionLinenumber: 353
      functionLinenumberEnd: 422
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          239
      EdgeCount:       60
      CyclomaticComplexity: 17
      functionsReached:
        - find_file_dir
        - find_file_url
        - getenv
        - hisremote
        - strcpy
        - strlen
        - strncmp
        - strrchr
        - tokenise_search_path
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/open_trace_file.c:363,16'
          Dst:             getenv
        - Src:             'cram/open_trace_file.c:364,30'
          Dst:             tokenise_search_path
        - Src:             'cram/open_trace_file.c:388,18'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:389,23'
          Dst:             find_file_url
        - Src:             'cram/open_trace_file.c:391,30'
          Dst:             strncmp
        - Src:             'cram/open_trace_file.c:395,20'
          Dst:             hisremote
        - Src:             'cram/open_trace_file.c:396,23'
          Dst:             find_file_url
        - Src:             'cram/open_trace_file.c:402,26'
          Dst:             find_file_dir
        - Src:             'cram/open_trace_file.c:372,40'
          Dst:             strlen
        - Src:             'cram/open_trace_file.c:414,9'
          Dst:             strcpy
        - Src:             'cram/open_trace_file.c:415,19'
          Dst:             strrchr
        - Src:             'cram/open_trace_file.c:417,19'
          Dst:             find_file_dir
    - functionName:    find_file_url
      functionSourceFile: '/src/htslib/cram/open_trace_file.c'
      linkageType:     InternalLinkage
      functionLinenumber: 182
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          132
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - expand_path
        - hclose
        - hclose_abruptly
        - hopen
        - hread
        - hts_log
        - mfcreate
        - mfdestroy
        - mfwrite
        - mrewind
        - strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/open_trace_file.c:191,12'
          Dst:             expand_path
        - Src:             'cram/open_trace_file.c:195,16'
          Dst:             hopen
        - Src:             'cram/open_trace_file.c:196,13'
          Dst:             __errno_location
        - Src:             'cram/open_trace_file.c:197,13'
          Dst:             __errno_location
        - Src:             'cram/open_trace_file.c:197,13'
          Dst:             strerror
        - Src:             'cram/open_trace_file.c:197,13'
          Dst:             hts_log
        - Src:             'cram/open_trace_file.c:201,23'
          Dst:             mfcreate
        - Src:             'cram/open_trace_file.c:203,19'
          Dst:             hread
        - Src:             'cram/open_trace_file.c:204,13'
          Dst:             mfwrite
        - Src:             'cram/open_trace_file.c:205,13'
          Dst:             hclose_abruptly
        - Src:             'cram/open_trace_file.c:209,9'
          Dst:             hclose
        - Src:             'cram/open_trace_file.c:210,9'
          Dst:             __errno_location
        - Src:             'cram/open_trace_file.c:210,9'
          Dst:             strerror
        - Src:             'cram/open_trace_file.c:210,9'
          Dst:             hts_log
        - Src:             'cram/open_trace_file.c:215,5'
          Dst:             mrewind
        - Src:             'cram/open_trace_file.c:219,5'
          Dst:             mfdestroy
    - functionName:    hread
      functionSourceFile: '/src/htslib/cram/../htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    hts_realloc_ps
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:320,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:321,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:322,12'
          Dst:             hts_realloc
    - functionName:    pool_free
      functionSourceFile: '/src/htslib/cram/pooled_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          17
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    new_pool
      functionSourceFile: '/src/htslib/cram/pooled_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 114
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          85
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - hts_malloc_p
        - hts_realloc_ps
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/pooled_alloc.c:101,12'
          Dst:             hts_realloc_ps
        - Src:             'cram/pooled_alloc.c:106,18'
          Dst:             hts_malloc_p
    - functionName:    pool_alloc
      functionSourceFile: '/src/htslib/cram/pooled_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          122
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - new_pool
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/pooled_alloc.c:138,12'
          Dst:             new_pool
    - functionName:    pool_destroy
      functionSourceFile: '/src/htslib/cram/pooled_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 93
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          48
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    next_power_2
      functionSourceFile: '/src/htslib/cram/pooled_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 57
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          38
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pool_create
      functionSourceFile: '/src/htslib/cram/pooled_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 65
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          87
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - next_power_2
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/pooled_alloc.c:76,16'
          Dst:             next_power_2
        - Src:             'cram/pooled_alloc.c:76,16'
          Dst:             next_power_2
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    string_ndup
      functionSourceFile: '/src/htslib/cram/string_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 157
      functionLinenumberEnd: 166
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - string_alloc
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/string_alloc.c:158,17'
          Dst:             string_alloc
    - functionName:    string_alloc
      functionSourceFile: '/src/htslib/cram/string_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 122
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          125
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - new_string_pool
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/string_alloc.c:142,11'
          Dst:             new_string_pool
    - functionName:    new_string_pool
      functionSourceFile: '/src/htslib/cram/string_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 76
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          131
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - hts_malloc
        - hts_realloc_p
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/string_alloc.c:81,15'
          Dst:             hts_realloc_p
        - Src:             'cram/string_alloc.c:94,16'
          Dst:             hts_malloc
    - functionName:    string_dup
      functionSourceFile: '/src/htslib/cram/string_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 154
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - string_ndup
        - strlen
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/string_alloc.c:154,38'
          Dst:             strlen
        - Src:             'cram/string_alloc.c:154,12'
          Dst:             string_ndup
    - functionName:    string_pool_destroy
      functionSourceFile: '/src/htslib/cram/string_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          48
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    string_pool_create
      functionSourceFile: '/src/htslib/cram/string_alloc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 56
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_Decode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 164
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          78
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_GetFreq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 149
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          43
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_FinishDecode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    SIMPLE_MODEL258_decodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      short
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          161
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - RC_Decode
        - RC_GetFreq
        - SIMPLE_MODEL258_normalize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:142,21'
          Dst:             RC_GetFreq
        - Src:             'htscodecs/htscodecs/c_simple_model.h:155,5'
          Dst:             RC_Decode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:160,9'
          Dst:             SIMPLE_MODEL258_normalize
    - functionName:    SIMPLE_MODEL258_normalize
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          53
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    SIMPLE_MODEL256_decodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      short
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          161
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - RC_Decode
        - RC_GetFreq
        - SIMPLE_MODEL256_normalize
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:142,21'
          Dst:             RC_GetFreq
        - Src:             'htscodecs/htscodecs/c_simple_model.h:155,5'
          Dst:             RC_Decode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:160,9'
          Dst:             SIMPLE_MODEL256_normalize
    - functionName:    SIMPLE_MODEL256_normalize
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          53
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_StartDecode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          80
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_SetInput
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 41
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_ShiftLowCheck
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 78
      functionLinenumberEnd: 101
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          133
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_Encode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 134
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          75
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - RC_ShiftLowCheck
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_range_coder.h:143,9'
          Dst:             RC_ShiftLowCheck
    - functionName:    RC_OutSize
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 48
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_FinishEncode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          36
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - RC_ShiftLowCheck
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_range_coder.h:125,11'
          Dst:             RC_ShiftLowCheck
    - functionName:    SIMPLE_MODEL258_encodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 118
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          117
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - RC_Encode
        - SIMPLE_MODEL258_normalize
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:125,5'
          Dst:             RC_Encode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:130,9'
          Dst:             SIMPLE_MODEL258_normalize
    - functionName:    SIMPLE_MODEL256_encodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 118
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          117
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - RC_Encode
        - SIMPLE_MODEL256_normalize
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:125,5'
          Dst:             RC_Encode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:130,9'
          Dst:             SIMPLE_MODEL256_normalize
    - functionName:    RC_StartEncode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 52
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_SetOutputEnd
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_SetOutput
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 44
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          18
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    SIMPLE_MODEL258_init
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          97
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    SIMPLE_MODEL256_init
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          97
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    arith_uncompress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1281
      functionLinenumberEnd: 1282
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - arith_uncompress_to
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1282,12'
          Dst:             arith_uncompress_to
    - functionName:    arith_uncompress_to
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1034
      functionLinenumberEnd: 1278
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         121
      ICount:          861
      EdgeCount:       168
      CyclomaticComplexity: 49
      functionsReached:
        - BZ2_bzBuffToBuffDecompress
        - arith_uncompress_O0
        - arith_uncompress_O0_RLE
        - arith_uncompress_O1
        - arith_uncompress_O1_RLE
        - arith_uncompress_to
        - hts_unpack
        - hts_unpack_meta
        - unstripe
        - var_get_u32
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1048,23'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1071,27'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1103,18'
          Dst:             arith_uncompress_to
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1112,9'
          Dst:             unstripe
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1130,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1190,23'
          Dst:             hts_unpack_meta
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1201,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1227,26'
          Dst:             BZ2_bzBuffToBuffDecompress
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1238,23'
          Dst:             arith_uncompress_O1_RLE
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1239,23'
          Dst:             arith_uncompress_O0_RLE
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1245,23'
          Dst:             arith_uncompress_O1
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1246,23'
          Dst:             arith_uncompress_O0
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1261,14'
          Dst:             hts_unpack
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    unstripe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          394
      EdgeCount:       85
      CyclomaticComplexity: 18
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/utils.h:85,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    arith_uncompress_O1_RLE
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 661
      functionLinenumberEnd: 723
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          304
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached:
        - RC_FinishDecode
        - RC_SetInput
        - RC_StartDecode
        - SIMPLE_MODEL256_decodeSymbol
        - SIMPLE_MODEL256_init
        - SIMPLE_MODEL258_decodeSymbol
        - SIMPLE_MODEL258_init
        - htscodecs_tls_alloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:673,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:679,9'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:682,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:684,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:689,9'
          Dst:             SIMPLE_MODEL258_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:691,5'
          Dst:             RC_SetInput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:692,5'
          Dst:             RC_StartDecode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:696,18'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:702,17'
          Dst:             SIMPLE_MODEL258_decodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:713,9'
          Dst:             RC_FinishDecode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:714,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:715,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:720,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:721,5'
          Dst:             htscodecs_tls_free
    - functionName:    arith_uncompress_O0_RLE
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 519
      functionLinenumberEnd: 572
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          262
      EdgeCount:       52
      CyclomaticComplexity: 14
      functionsReached:
        - RC_FinishDecode
        - RC_SetInput
        - RC_StartDecode
        - SIMPLE_MODEL256_decodeSymbol
        - SIMPLE_MODEL256_init
        - SIMPLE_MODEL258_decodeSymbol
        - SIMPLE_MODEL258_init
        - htscodecs_tls_alloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:531,5'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:534,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:541,9'
          Dst:             SIMPLE_MODEL258_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:543,5'
          Dst:             RC_SetInput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:544,5'
          Dst:             RC_StartDecode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:548,25'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:552,17'
          Dst:             SIMPLE_MODEL258_decodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:564,9'
          Dst:             RC_FinishDecode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:565,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:570,5'
          Dst:             htscodecs_tls_free
    - functionName:    arith_uncompress_O1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 228
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          167
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - RC_FinishDecode
        - RC_SetInput
        - RC_StartDecode
        - SIMPLE_MODEL256_decodeSymbol
        - SIMPLE_MODEL256_init
        - htscodecs_tls_alloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:239,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:247,9'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:249,5'
          Dst:             RC_SetInput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:250,5'
          Dst:             RC_StartDecode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:254,18'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:258,9'
          Dst:             RC_FinishDecode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:259,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:264,5'
          Dst:             htscodecs_tls_free
    - functionName:    arith_uncompress_O0
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          121
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - RC_FinishDecode
        - RC_SetInput
        - RC_StartDecode
        - SIMPLE_MODEL256_decodeSymbol
        - SIMPLE_MODEL256_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:147,5'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:155,5'
          Dst:             RC_SetInput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:156,5'
          Dst:             RC_StartDecode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:159,18'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:161,9'
          Dst:             RC_FinishDecode
    - functionName:    arith_compress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1029
      functionLinenumberEnd: 1030
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - arith_compress_to
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:1030,12'
          Dst:             arith_compress_to
    - functionName:    arith_compress_to
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 732
      functionLinenumberEnd: 1026
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         149
      ICount:          1154
      EdgeCount:       201
      CyclomaticComplexity: 54
      functionsReached:
        - BZ2_bzBuffToBuffCompress
        - arith_compress_O0
        - arith_compress_O0_RLE
        - arith_compress_O1
        - arith_compress_O1_RLE
        - arith_compress_bound
        - arith_compress_to
        - hts_pack
        - var_put_u32
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:742,21'
          Dst:             arith_compress_bound
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:755,26'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:799,23'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:870,21'
          Dst:             arith_compress_to
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:885,21'
          Dst:             arith_compress_to
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:895,27'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:912,23'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:929,18'
          Dst:             hts_pack
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:942,22'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:964,22'
          Dst:             BZ2_bzBuffToBuffCompress
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:985,19'
          Dst:             arith_compress_O0_RLE
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:987,19'
          Dst:             arith_compress_O1_RLE
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:993,19'
          Dst:             arith_compress_O1
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:995,19'
          Dst:             arith_compress_O0
    - functionName:    arith_compress_bound
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 77
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          86
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    arith_compress_O0_RLE
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 442
      functionLinenumberEnd: 515
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          342
      EdgeCount:       67
      CyclomaticComplexity: 18
      functionsReached:
        - RC_FinishEncode
        - RC_OutSize
        - RC_SetOutput
        - RC_SetOutputEnd
        - RC_StartEncode
        - SIMPLE_MODEL256_encodeSymbol
        - SIMPLE_MODEL256_init
        - SIMPLE_MODEL258_encodeSymbol
        - SIMPLE_MODEL258_init
        - arith_compress_bound
        - htscodecs_tls_alloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:443,20'
          Dst:             arith_compress_bound
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:461,5'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:464,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:471,9'
          Dst:             SIMPLE_MODEL258_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:474,5'
          Dst:             RC_SetOutput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:475,5'
          Dst:             RC_SetOutputEnd
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:476,5'
          Dst:             RC_StartEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:481,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:490,13'
          Dst:             SIMPLE_MODEL258_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:498,17'
          Dst:             SIMPLE_MODEL258_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:502,9'
          Dst:             RC_FinishEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:503,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:509,17'
          Dst:             RC_OutSize
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:513,5'
          Dst:             htscodecs_tls_free
    - functionName:    arith_compress_O1_RLE
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 576
      functionLinenumberEnd: 657
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          382
      EdgeCount:       75
      CyclomaticComplexity: 20
      functionsReached:
        - RC_FinishEncode
        - RC_OutSize
        - RC_SetOutput
        - RC_SetOutputEnd
        - RC_StartEncode
        - SIMPLE_MODEL256_encodeSymbol
        - SIMPLE_MODEL256_init
        - SIMPLE_MODEL258_encodeSymbol
        - SIMPLE_MODEL258_init
        - arith_compress_bound
        - htscodecs_tls_alloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:577,20'
          Dst:             arith_compress_bound
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:595,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:601,9'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:604,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:606,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:611,9'
          Dst:             SIMPLE_MODEL258_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:614,5'
          Dst:             RC_SetOutput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:615,5'
          Dst:             RC_SetOutputEnd
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:616,5'
          Dst:             RC_StartEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:621,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:630,13'
          Dst:             SIMPLE_MODEL258_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:638,17'
          Dst:             SIMPLE_MODEL258_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:642,9'
          Dst:             RC_FinishEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:643,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:644,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:650,17'
          Dst:             RC_OutSize
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:654,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:655,5'
          Dst:             htscodecs_tls_free
    - functionName:    arith_compress_O1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 173
      functionLinenumberEnd: 224
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          221
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - RC_FinishEncode
        - RC_OutSize
        - RC_SetOutput
        - RC_SetOutputEnd
        - RC_StartEncode
        - SIMPLE_MODEL256_encodeSymbol
        - SIMPLE_MODEL256_init
        - arith_compress_bound
        - htscodecs_tls_alloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:174,20'
          Dst:             arith_compress_bound
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:185,9'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:200,9'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:203,5'
          Dst:             RC_SetOutput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:204,5'
          Dst:             RC_SetOutputEnd
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:205,5'
          Dst:             RC_StartEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:209,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:213,9'
          Dst:             RC_FinishEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:215,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:220,17'
          Dst:             RC_OutSize
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:222,5'
          Dst:             htscodecs_tls_free
    - functionName:    arith_compress_O0
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/arith_dynamic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 99
      functionLinenumberEnd: 137
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          175
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - RC_FinishEncode
        - RC_OutSize
        - RC_SetOutput
        - RC_SetOutputEnd
        - RC_StartEncode
        - SIMPLE_MODEL256_encodeSymbol
        - SIMPLE_MODEL256_init
        - arith_compress_bound
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:100,20'
          Dst:             arith_compress_bound
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:118,5'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:121,5'
          Dst:             RC_SetOutput
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:122,5'
          Dst:             RC_SetOutputEnd
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:123,5'
          Dst:             RC_StartEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:126,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:128,9'
          Dst:             RC_FinishEncode
        - Src:             'htscodecs/htscodecs/arith_dynamic.c:134,17'
          Dst:             RC_OutSize
    - functionName:    RC_Decode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 164
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          78
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_GetFreq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 149
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          43
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    SIMPLE_MODEL2_decodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      short
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          161
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - RC_Decode
        - RC_GetFreq
        - SIMPLE_MODEL2_normalize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:142,21'
          Dst:             RC_GetFreq
        - Src:             'htscodecs/htscodecs/c_simple_model.h:155,5'
          Dst:             RC_Decode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:160,9'
          Dst:             SIMPLE_MODEL2_normalize
    - functionName:    SIMPLE_MODEL2_normalize
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          53
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fqz_read_parameters1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1241
      functionLinenumberEnd: 1317
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          497
      EdgeCount:       69
      CyclomaticComplexity: 18
      functionsReached:
        - read_array
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1286,24'
          Dst:             read_array
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1297,20'
          Dst:             read_array
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1307,20'
          Dst:             read_array
    - functionName:    read_array
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 190
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          302
      EdgeCount:       63
      CyclomaticComplexity: 17
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_FinishDecode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    SIMPLE_MODEL256_decodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      short
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          161
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - RC_Decode
        - RC_GetFreq
        - SIMPLE_MODEL256_normalize
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:142,21'
          Dst:             RC_GetFreq
        - Src:             'htscodecs/htscodecs/c_simple_model.h:155,5'
          Dst:             RC_Decode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:160,9'
          Dst:             SIMPLE_MODEL256_normalize
    - functionName:    SIMPLE_MODEL256_normalize
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          53
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decompress_new_read
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1390
      functionLinenumberEnd: 1452
      functionDepth:   0
      returnType:      int
      argCount:        15
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          390
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - SIMPLE_MODEL256_decodeSymbol
        - SIMPLE_MODEL2_decodeSymbol
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1395,20'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1409,16'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1410,16'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1411,16'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1412,27'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1423,16'
          Dst:             SIMPLE_MODEL2_decodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1429,13'
          Dst:             SIMPLE_MODEL2_decodeSymbol
    - functionName:    RC_StartDecode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          80
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_SetInput
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 41
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fqz_read_parameters
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1320
      functionLinenumberEnd: 1378
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          362
      EdgeCount:       61
      CyclomaticComplexity: 17
      functionsReached:
        - fqz_free_parameters
        - fqz_read_parameters1
        - read_array
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1343,20'
          Dst:             read_array
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1360,17'
          Dst:             fqz_read_parameters1
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1375,5'
          Dst:             fqz_free_parameters
    - functionName:    fqz_free_parameters
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 926
      functionLinenumberEnd: 928
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          37
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_ShiftLowCheck
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 78
      functionLinenumberEnd: 101
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          133
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_Encode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 134
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          75
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - RC_ShiftLowCheck
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_range_coder.h:143,9'
          Dst:             RC_ShiftLowCheck
    - functionName:    SIMPLE_MODEL2_encodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 118
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          117
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - RC_Encode
        - SIMPLE_MODEL2_normalize
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:125,5'
          Dst:             RC_Encode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:130,9'
          Dst:             SIMPLE_MODEL2_normalize
    - functionName:    SIMPLE_MODEL2_init
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          97
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    SIMPLE_MODEL256_init
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          97
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fqz_store_parameters1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 675
      functionLinenumberEnd: 707
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          277
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - store_array
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:697,21'
          Dst:             store_array
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:701,21'
          Dst:             store_array
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:705,21'
          Dst:             store_array
    - functionName:    store_array
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 102
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          229
      EdgeCount:       43
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fqz_destroy_models
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 340
      functionLinenumberEnd: 342
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - htscodecs_tls_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:341,5'
          Dst:             htscodecs_tls_free
    - functionName:    RC_OutSize
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 48
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_FinishEncode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          36
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - RC_ShiftLowCheck
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_range_coder.h:125,11'
          Dst:             RC_ShiftLowCheck
    - functionName:    SIMPLE_MODEL256_encodeSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_simple_model.h'
      linkageType:     InternalLinkage
      functionLinenumber: 118
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          117
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - RC_Encode
        - SIMPLE_MODEL256_normalize
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/c_simple_model.h:125,5'
          Dst:             RC_Encode
        - Src:             'htscodecs/htscodecs/c_simple_model.h:130,9'
          Dst:             SIMPLE_MODEL256_normalize
    - functionName:    fqz_update_ctx
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 344
      functionLinenumberEnd: 385
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          128
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mm_prefetch
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 210
      functionLinenumberEnd: 213
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    compress_new_read
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 938
      functionLinenumberEnd: 1001
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          370
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - SIMPLE_MODEL256_encodeSymbol
        - SIMPLE_MODEL2_encodeSymbol
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:945,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:954,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:955,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:956,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:957,9'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:965,13'
          Dst:             SIMPLE_MODEL2_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:967,13'
          Dst:             SIMPLE_MODEL2_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:985,14'
          Dst:             memcmp
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:986,13'
          Dst:             SIMPLE_MODEL2_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:992,13'
          Dst:             SIMPLE_MODEL2_encodeSymbol
    - functionName:    RC_StartEncode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 52
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_SetOutputEnd
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RC_SetOutput
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/c_range_coder.h'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 44
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          18
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fqz_create_models
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          103
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - SIMPLE_MODEL256_init
        - SIMPLE_MODEL2_init
        - htscodecs_tls_alloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:323,21'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:327,9'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:330,9'
          Dst:             SIMPLE_MODEL256_init
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:332,5'
          Dst:             SIMPLE_MODEL2_init
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:333,5'
          Dst:             SIMPLE_MODEL2_init
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:335,9'
          Dst:             SIMPLE_MODEL256_init
    - functionName:    fqz_store_parameters
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 711
      functionLinenumberEnd: 730
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          138
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - fqz_store_parameters1
        - store_array
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:722,21'
          Dst:             store_array
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:727,21'
          Dst:             fqz_store_parameters1
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    fqz_pick_parameters
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 741
      functionLinenumberEnd: 924
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         127
      ICount:          1053
      EdgeCount:       166
      CyclomaticComplexity: 41
      functionsReached:
        - calloc
        - fqz_qual_stats
        - log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:758,19'
          Dst:             calloc
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:798,5'
          Dst:             fqz_qual_stats
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:815,22'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:815,22'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:815,22'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:815,22'
          Dst:             log
    - functionName:    fqz_qual_stats
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 396
      functionLinenumberEnd: 672
      functionDepth:   0
      returnType:      void
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         245
      ICount:          2016
      EdgeCount:       326
      CyclomaticComplexity: 83
      functionsReached:
        - calloc
        - fast_log
        - log
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:428,21'
          Dst:             calloc
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:443,21'
          Dst:             memcmp
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:564,60'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:565,60'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:566,60'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:567,60'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:568,60'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:569,60'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:570,60'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:573,16'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:574,16'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:575,16'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:633,38'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:635,42'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:637,42'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:640,15'
          Dst:             log
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:641,15'
          Dst:             log
    - functionName:    fast_log
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 69
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - double
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          13
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    uncompress_block_fqz2f
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1461
      functionLinenumberEnd: 1613
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         81
      ICount:          598
      EdgeCount:       108
      CyclomaticComplexity: 29
      functionsReached:
        - RC_FinishDecode
        - RC_SetInput
        - RC_StartDecode
        - SIMPLE_MODEL256_decodeSymbol
        - decompress_new_read
        - fqz_create_models
        - fqz_destroy_models
        - fqz_free_parameters
        - fqz_read_parameters
        - fqz_update_ctx
        - realloc
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1470,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1483,14'
          Dst:             fqz_read_parameters
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1500,9'
          Dst:             fqz_create_models
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1503,5'
          Dst:             RC_SetInput
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1504,5'
          Dst:             RC_StartDecode
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1536,21'
          Dst:             realloc
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1537,21'
          Dst:             realloc
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1543,21'
          Dst:             decompress_new_read
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1556,31'
          Dst:             SIMPLE_MODEL256_decodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1559,20'
          Dst:             fqz_update_ctx
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1567,17'
          Dst:             realloc
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1568,17'
          Dst:             realloc
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1591,9'
          Dst:             RC_FinishDecode
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1594,5'
          Dst:             fqz_destroy_models
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1597,5'
          Dst:             fqz_free_parameters
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1606,5'
          Dst:             fqz_destroy_models
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1609,5'
          Dst:             fqz_free_parameters
    - functionName:    fqz_decompress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1627
      functionLinenumberEnd: 1629
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - uncompress_block_fqz2f
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1628,20'
          Dst:             uncompress_block_fqz2f
    - functionName:    compress_block_fqz2f
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1010
      functionLinenumberEnd: 1232
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - int
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         93
      ICount:          912
      EdgeCount:       122
      CyclomaticComplexity: 31
      functionsReached:
        - RC_FinishEncode
        - RC_OutSize
        - RC_SetOutput
        - RC_SetOutputEnd
        - RC_StartEncode
        - SIMPLE_MODEL256_encodeSymbol
        - compress_new_read
        - fqz_create_models
        - fqz_destroy_models
        - fqz_free_parameters
        - fqz_pick_parameters
        - fqz_store_parameters
        - fqz_update_ctx
        - mm_prefetch
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1024,13'
          Dst:             fqz_pick_parameters
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1060,16'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1061,17'
          Dst:             fqz_store_parameters
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1078,9'
          Dst:             fqz_create_models
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1081,5'
          Dst:             RC_SetOutput
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1082,5'
          Dst:             RC_SetOutputEnd
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1083,5'
          Dst:             RC_StartEncode
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1126,17'
          Dst:             compress_new_read
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1153,13'
          Dst:             mm_prefetch
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1155,20'
          Dst:             fqz_update_ctx
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1157,13'
          Dst:             mm_prefetch
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1159,20'
          Dst:             fqz_update_ctx
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1161,13'
          Dst:             mm_prefetch
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1163,20'
          Dst:             fqz_update_ctx
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1165,13'
          Dst:             mm_prefetch
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1167,20'
          Dst:             fqz_update_ctx
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1169,13'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1170,13'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1171,13'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1172,13'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1177,13'
          Dst:             mm_prefetch
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1179,20'
          Dst:             fqz_update_ctx
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1180,13'
          Dst:             SIMPLE_MODEL256_encodeSymbol
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1186,9'
          Dst:             RC_FinishEncode
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1223,28'
          Dst:             RC_OutSize
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1227,5'
          Dst:             fqz_destroy_models
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1229,9'
          Dst:             fqz_free_parameters
    - functionName:    fqz_compress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/fqzcomp_qual.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1616
      functionLinenumberEnd: 1624
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - compress_block_fqz2f
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/fqzcomp_qual.c:1622,20'
          Dst:             compress_block_fqz2f
    - functionName:    htscodecs_version
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/htscodecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 42
      functionLinenumberEnd: 43
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_unpack_
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pack.c'
      linkageType:     InternalLinkage
      functionLinenumber: 347
      functionLinenumberEnd: 394
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          245
      EdgeCount:       38
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    0
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/pack.c:358,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_unpack
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pack.c'
      linkageType:     InternalLinkage
      functionLinenumber: 207
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         79
      ICount:          697
      EdgeCount:       98
      CyclomaticComplexity: 21
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/pack.c:218,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_unpack_meta
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pack.c'
      linkageType:     InternalLinkage
      functionLinenumber: 162
      functionLinenumberEnd: 194
      functionDepth:   0
      returnType:      char
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          164
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_pack
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pack.c'
      linkageType:     InternalLinkage
      functionLinenumber: 57
      functionLinenumberEnd: 147
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          737
      EdgeCount:       77
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/pack.c:96,5'
          Branch Sides:    []
        - Branch String:   'htscodecs/htscodecs/pack.c:100,9'
          Branch Sides:    []
        - Branch String:   'htscodecs/htscodecs/pack.c:111,9'
          Branch Sides:    []
        - Branch String:   'htscodecs/htscodecs/pack.c:127,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    decode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 426
      functionLinenumberEnd: 456
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          165
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:444,19'
          Dst:             var_get_u32
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_uncompress_O1_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 505
      functionLinenumberEnd: 800
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         125
      ICount:          1678
      EdgeCount:       168
      CyclomaticComplexity: 45
      functionsReached:
        - RansDecInit
        - RansDecRenorm
        - RansDecRenormSafe
        - decode_alphabet
        - decode_freq_d
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - normalise_freq_shift
        - rans_uncompress_O0_4x16
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:523,21'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:531,23'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:557,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:558,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:562,24'
          Dst:             rans_uncompress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:570,15'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:585,15'
          Dst:             decode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:595,9'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:629,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:630,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:631,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:632,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:669,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:670,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:671,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:672,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:674,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:675,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:676,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:677,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:687,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:714,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:715,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:716,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:717,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:719,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:720,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:721,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:722,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:732,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:766,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:767,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:768,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:769,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:771,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:772,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:773,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:774,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:784,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:789,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:790,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:794,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:795,5'
          Dst:             htscodecs_tls_free
    - functionName:    rans_uncompress_O0_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          528
      EdgeCount:       78
      CyclomaticComplexity: 22
      functionsReached:
        - RansDecGet
        - RansDecInit
        - RansDecRenorm
        - RansDecRenormSafe
        - decode_freq
        - normalise_freq_shift
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:242,15'
          Dst:             decode_freq
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:247,5'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:270,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:271,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:272,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:273,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:288,28'
          Dst:             RansDecGet
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:289,28'
          Dst:             RansDecGet
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:296,28'
          Dst:             RansDecGet
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:297,28'
          Dst:             RansDecGet
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:299,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:300,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:305,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:306,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:315,23'
          Dst:             RansDecGet
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:318,9'
          Dst:             RansDecRenormSafe
    - functionName:    decode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          291
      EdgeCount:       69
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    normalise_freq_shift
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 152
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          72
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          52
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenorm
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 416
      functionLinenumberEnd: 437
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenormSafe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          65
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 255
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          107
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - decode_alphabet
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:260,11'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:265,19'
          Dst:             var_get_u32
    - functionName:    RansDecGet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          140
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:291,23'
          Dst:             var_put_u32
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist1_4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 357
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          501
      EdgeCount:       47
      CyclomaticComplexity: 12
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:287,31'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:322,9'
          Dst:             htscodecs_tls_free
    - functionName:    encode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 421
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          387
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - RansEncSymbolInit
        - encode_alphabet
        - encode_freq_d
        - hist1_4
        - htscodecs_tls_calloc
        - htscodecs_tls_free
        - normalise_freq
        - normalise_freq_shift
        - rans_compress_O0_4x16
        - rans_compute_shift
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:318,26'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:323,9'
          Dst:             hist1_4
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:360,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:366,17'
          Dst:             rans_compute_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:379,13'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:384,15'
          Dst:             encode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:386,9'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:391,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:402,33'
          Dst:             rans_compress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:406,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:407,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:415,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:419,5'
          Dst:             htscodecs_tls_free
    - functionName:    encode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          149
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_compute_shift
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 337
      functionLinenumberEnd: 398
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          417
      EdgeCount:       70
      CyclomaticComplexity: 19
      functionsReached:
        - fast_log
        - log
        - round2
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:345,32'
          Dst:             round2
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:358,22'
          Dst:             log
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:359,22'
          Dst:             log
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:367,35'
          Dst:             fast_log
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:368,35'
          Dst:             fast_log
    - functionName:    normalise_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          331
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncSymbolInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          145
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_word.h:205,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:206,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:207,5'
          Dst:             __assert_fail
    - functionName:    rans_compress_O0_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 113
      functionLinenumberEnd: 211
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          394
      EdgeCount:       58
      CyclomaticComplexity: 13
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - RansEncSymbolInit
        - encode_freq
        - hist8
        - normalise_freq
        - rans_compress_bound_4x16
        - round2
      functionUses:    5
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/rANS_static4x16pr.c:177,5'
          Branch Sides:    []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:124,22'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:143,9'
          Dst:             hist8
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:148,24'
          Dst:             round2
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:152,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:157,11'
          Dst:             encode_freq
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:161,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:167,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:172,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:173,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:174,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:175,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:178,13'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:180,13'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:182,13'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:193,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:194,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:195,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:196,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:199,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:200,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:201,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:202,5'
          Dst:             RansEncFlush
    - functionName:    rans_compress_bound_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          104
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist8
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          414
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:148,24'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:178,9'
          Dst:             htscodecs_tls_free
    - functionName:    round2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          38
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          76
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - encode_alphabet
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:244,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:248,19'
          Dst:             var_put_u32
    - functionName:    RansEncInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncPutSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          76
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncFlush
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          46
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fast_log
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 69
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      double
      argCount:        1
      argTypes:
        - double
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          13
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_compress_O1_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 403
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          399
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - encode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_compress_bound_4x16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:408,22'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:421,34'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:428,17'
          Dst:             encode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:430,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:436,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:437,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:438,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:439,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:458,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:469,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:470,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:471,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:472,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:480,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:481,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:482,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:483,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:485,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:486,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:487,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:488,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:495,5'
          Dst:             htscodecs_tls_free
    - functionName:    not_ancient_darwin
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 847
      functionLinenumberEnd: 848
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __get_cpuid_max
      functionSourceFile: '/usr/local/lib/clang/22/include/cpuid.h'
      linkageType:     InternalLinkage
      functionLinenumber: 287
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_uncompress_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1876
      functionLinenumberEnd: 1877
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - rans_uncompress_to_4x16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1877,12'
          Dst:             rans_uncompress_to_4x16
    - functionName:    rans_uncompress_to_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1587
      functionLinenumberEnd: 1873
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         147
      ICount:          1101
      EdgeCount:       204
      CyclomaticComplexity: 59
      functionsReached:
        - hts_rle_decode
        - hts_unpack
        - hts_unpack_meta
        - rans_dec_func
        - rans_uncompress_to_4x16
        - unstripe
        - var_get_u32
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1600,23'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1627,27'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1659,18'
          Dst:             rans_uncompress_to_4x16
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1668,9'
          Dst:             unstripe
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1686,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1768,23'
          Dst:             hts_unpack_meta
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1779,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1792,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1793,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1801,19'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1804,32'
          Dst:             rans_dec_func
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1826,20'
          Dst:             rans_dec_func
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1843,14'
          Dst:             hts_rle_decode
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1857,14'
          Dst:             hts_unpack
    - functionName:    unstripe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          394
      EdgeCount:       85
      CyclomaticComplexity: 18
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/utils.h:85,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    rans_dec_func
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1014
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          173
      EdgeCount:       44
      CyclomaticComplexity: 14
      functionsReached:
        - fprintf
        - htscodecs_tls_cpu_init
        - pthread_once
        - strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1025,15'
          Dst:             pthread_once
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1025,15'
          Dst:             htscodecs_tls_cpu_init
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1028,17'
          Dst:             strerror
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1027,9'
          Dst:             fprintf
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1029,9'
          Dst:             fprintf
    - functionName:    htscodecs_tls_cpu_init
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 869
      functionLinenumberEnd: 933
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         32
      ICount:          218
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - __get_cpuid_max
        - not_ancient_darwin
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:878,17'
          Dst:             __get_cpuid_max
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:926,16'
          Dst:             not_ancient_darwin
    - functionName:    pthread_once
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_compress_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1582
      functionLinenumberEnd: 1583
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - rans_compress_to_4x16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1583,12'
          Dst:             rans_compress_to_4x16
    - functionName:    rans_compress_to_4x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1205
      functionLinenumberEnd: 1579
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         195
      ICount:          1594
      EdgeCount:       265
      CyclomaticComplexity: 72
      functionsReached:
        - hts_pack
        - hts_rle_encode
        - rans_compress_bound_4x16
        - rans_compress_to_4x16
        - rans_enc_func
        - realloc
        - var_put_u32
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1222,21'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1294,23'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1324,21'
          Dst:             rans_compress_to_4x16
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1332,46'
          Dst:             realloc
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1363,27'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1377,23'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1399,23'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1417,18'
          Dst:             hts_pack
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1430,22'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1457,15'
          Dst:             hts_rle_encode
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1472,22'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1473,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1487,18'
          Dst:             rans_enc_func
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1496,23'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1500,22'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1501,23'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1531,10'
          Dst:             rans_enc_func
    - functionName:    rans_enc_func
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 940
      functionLinenumberEnd: 1007
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          233
      EdgeCount:       63
      CyclomaticComplexity: 19
      functionsReached:
        - fprintf
        - htscodecs_tls_cpu_init
        - pthread_once
        - strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:951,15'
          Dst:             pthread_once
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:951,15'
          Dst:             htscodecs_tls_cpu_init
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:954,17'
          Dst:             strerror
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:953,9'
          Dst:             fprintf
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:955,9'
          Dst:             fprintf
    - functionName:    rans_set_cpu
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static4x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1191
      functionLinenumberEnd: 1196
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - htscodecs_tls_cpu_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static4x16pr.c:1194,5'
          Dst:             htscodecs_tls_cpu_init
    - functionName:    _mm256_set_m128ix
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 558
      functionLinenumberEnd: 559
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rot32_simd
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 562
      functionLinenumberEnd: 633
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          734
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - _mm256_set_m128ix
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:615,21'
          Dst:             _mm256_set_m128ix
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:617,21'
          Dst:             _mm256_set_m128ix
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:619,21'
          Dst:             _mm256_set_m128ix
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:621,21'
          Dst:             _mm256_set_m128ix
    - functionName:    decode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 426
      functionLinenumberEnd: 456
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          165
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:444,19'
          Dst:             var_get_u32
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          140
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:291,23'
          Dst:             var_put_u32
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist1_4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 357
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          501
      EdgeCount:       47
      CyclomaticComplexity: 12
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:287,31'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:322,9'
          Dst:             htscodecs_tls_free
    - functionName:    decode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          291
      EdgeCount:       69
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          149
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenormSafe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          65
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    transpose_and_copy
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1018
      functionLinenumberEnd: 1028
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - rot32_simd
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1027,5'
          Dst:             rot32_simd
    - functionName:    decode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          423
      EdgeCount:       85
      CyclomaticComplexity: 23
      functionsReached:
        - decode_alphabet
        - decode_freq_d
        - normalise_freq_shift
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:475,15'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:493,15'
          Dst:             decode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:503,9'
          Dst:             normalise_freq_shift
    - functionName:    normalise_freq_shift
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 152
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          72
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_uncompress_O1_32x16_avx2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1033
      functionLinenumberEnd: 1619
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         103
      ICount:          4552
      EdgeCount:       136
      CyclomaticComplexity: 35
      functionsReached:
        - RansDecInit
        - RansDecRenormSafe
        - _mm256_i32gather_epi32x
        - decode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_uncompress_O0_4x16
        - transpose_and_copy
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1049,34'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1069,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1070,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1074,24'
          Dst:             rans_uncompress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1082,11'
          Dst:             decode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1096,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1148,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1150,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1157,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1159,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1316,17'
          Dst:             transpose_and_copy
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1359,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1374,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1404,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1406,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1413,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1415,27'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1549,17'
          Dst:             transpose_and_copy
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1591,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1605,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1610,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1614,5'
          Dst:             htscodecs_tls_free
    - functionName:    RansDecInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          52
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _mm256_i32gather_epi32x
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c'
      linkageType:     InternalLinkage
      functionLinenumber: 122
      functionLinenumberEnd: 150
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          190
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 421
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          387
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - RansEncSymbolInit
        - encode_alphabet
        - encode_freq_d
        - hist1_4
        - htscodecs_tls_calloc
        - htscodecs_tls_free
        - normalise_freq
        - normalise_freq_shift
        - rans_compress_O0_4x16
        - rans_compute_shift
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:318,26'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:323,9'
          Dst:             hist1_4
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:360,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:366,17'
          Dst:             rans_compute_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:379,13'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:384,15'
          Dst:             encode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:386,9'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:391,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:402,33'
          Dst:             rans_compress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:406,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:407,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:415,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:419,5'
          Dst:             htscodecs_tls_free
    - functionName:    normalise_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          331
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncSymbolInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          145
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_word.h:205,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:206,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:207,5'
          Dst:             __assert_fail
    - functionName:    rans_compress_O1_32x16_avx2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c'
      linkageType:     InternalLinkage
      functionLinenumber: 699
      functionLinenumberEnd: 1010
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          2793
      EdgeCount:       72
      CyclomaticComplexity: 18
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - _mm256_mulhi_epu32
        - encode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_compress_bound_4x16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:702,22'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:720,34'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:727,17'
          Dst:             encode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:730,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:736,7'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:753,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:950,18'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:951,18'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:952,18'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:953,18'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:998,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1001,9'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:1008,5'
          Dst:             htscodecs_tls_free
    - functionName:    RansEncInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncPutSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          76
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _mm256_mulhi_epu32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c'
      linkageType:     InternalLinkage
      functionLinenumber: 102
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          65
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncFlush
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          46
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_F_to_s3
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 540
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          113
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 255
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          107
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - decode_alphabet
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:260,11'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:265,19'
          Dst:             var_get_u32
    - functionName:    rans_uncompress_O0_32x16_avx2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c'
      linkageType:     InternalLinkage
      functionLinenumber: 459
      functionLinenumberEnd: 694
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          1863
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - RansDecInit
        - _mm256_i32gather_epi32x
        - decode_freq
        - normalise_freq_shift
        - rans_F_to_s3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:484,15'
          Dst:             decode_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:489,5'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:492,9'
          Dst:             rans_F_to_s3
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:501,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:533,16'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:534,23'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:535,23'
          Dst:             _mm256_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:536,23'
          Dst:             _mm256_i32gather_epi32x
    - functionName:    encode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          76
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - encode_alphabet
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:244,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:248,19'
          Dst:             var_put_u32
    - functionName:    round2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          38
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist8
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          414
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:148,24'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:178,9'
          Dst:             htscodecs_tls_free
    - functionName:    rans_compress_O0_32x16_avx2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c'
      linkageType:     InternalLinkage
      functionLinenumber: 160
      functionLinenumberEnd: 454
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          3271
      EdgeCount:       69
      CyclomaticComplexity: 18
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - RansEncSymbolInit
        - _mm256_mulhi_epu32
        - encode_freq
        - hist8
        - normalise_freq
        - rans_compress_bound_4x16
        - round2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:168,22'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:187,9'
          Dst:             hist8
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:192,24'
          Dst:             round2
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:196,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:201,11'
          Dst:             encode_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:205,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:211,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:217,7'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:221,7'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:384,16'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:385,16'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:386,16'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:387,16'
          Dst:             _mm256_mulhi_epu32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx2.c:439,7'
          Dst:             RansEncFlush
    - functionName:    _mm256_set_m128ix
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 558
      functionLinenumberEnd: 559
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rot32_simd
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 562
      functionLinenumberEnd: 633
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          734
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - _mm256_set_m128ix
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:615,21'
          Dst:             _mm256_set_m128ix
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:617,21'
          Dst:             _mm256_set_m128ix
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:619,21'
          Dst:             _mm256_set_m128ix
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:621,21'
          Dst:             _mm256_set_m128ix
    - functionName:    decode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 426
      functionLinenumberEnd: 456
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          165
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:444,19'
          Dst:             var_get_u32
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          140
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:291,23'
          Dst:             var_put_u32
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist1_4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 357
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          501
      EdgeCount:       47
      CyclomaticComplexity: 12
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:287,31'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:322,9'
          Dst:             htscodecs_tls_free
    - functionName:    decode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          291
      EdgeCount:       69
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          149
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenormSafe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          65
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    transpose_and_copy
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 481
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - rot32_simd
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:480,5'
          Dst:             rot32_simd
    - functionName:    decode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          423
      EdgeCount:       85
      CyclomaticComplexity: 23
      functionsReached:
        - decode_alphabet
        - decode_freq_d
        - normalise_freq_shift
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:475,15'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:493,15'
          Dst:             decode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:503,9'
          Dst:             normalise_freq_shift
    - functionName:    normalise_freq_shift
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 152
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          72
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_uncompress_O1_32x16_avx512
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c'
      linkageType:     InternalLinkage
      functionLinenumber: 777
      functionLinenumberEnd: 1184
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          2554
      EdgeCount:       133
      CyclomaticComplexity: 34
      functionsReached:
        - RansDecInit
        - RansDecRenormSafe
        - _mm512_i32gather_epi32x
        - decode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_uncompress_O0_4x16
        - transpose_and_copy
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:788,34'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:807,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:808,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:812,24'
          Dst:             rans_uncompress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:820,11'
          Dst:             decode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:834,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:877,28'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:879,28'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:973,17'
          Dst:             transpose_and_copy
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1009,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1024,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1046,28'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1048,28'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1121,17'
          Dst:             transpose_and_copy
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1156,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1170,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1175,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:1179,5'
          Dst:             htscodecs_tls_free
    - functionName:    RansDecInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          52
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _mm512_i32gather_epi32x
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          342
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    24
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _mm512_i32gather_epi32x1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c'
      linkageType:     InternalLinkage
      functionLinenumber: 107
      functionLinenumberEnd: 118
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          217
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 421
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          387
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - RansEncSymbolInit
        - encode_alphabet
        - encode_freq_d
        - hist1_4
        - htscodecs_tls_calloc
        - htscodecs_tls_free
        - normalise_freq
        - normalise_freq_shift
        - rans_compress_O0_4x16
        - rans_compute_shift
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:318,26'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:323,9'
          Dst:             hist1_4
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:360,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:366,17'
          Dst:             rans_compute_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:379,13'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:384,15'
          Dst:             encode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:386,9'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:391,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:402,33'
          Dst:             rans_compress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:406,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:407,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:415,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:419,5'
          Dst:             htscodecs_tls_free
    - functionName:    normalise_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          331
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncSymbolInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          145
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_word.h:205,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:206,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:207,5'
          Dst:             __assert_fail
    - functionName:    rans_compress_O1_32x16_avx512
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c'
      linkageType:     InternalLinkage
      functionLinenumber: 515
      functionLinenumberEnd: 771
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         92
      ICount:          1822
      EdgeCount:       119
      CyclomaticComplexity: 29
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - _mm512_i32gather_epi32x
        - _mm512_i32gather_epi32x1
        - encode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_compress_bound_4x16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:518,22'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:536,34'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:543,17'
          Dst:             encode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:546,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:552,7'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:570,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:579,18'
          Dst:             _mm512_i32gather_epi32x1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:580,18'
          Dst:             _mm512_i32gather_epi32x1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:678,18'
          Dst:             _mm512_i32gather_epi32x1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:679,18'
          Dst:             _mm512_i32gather_epi32x1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:688,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:688,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:695,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:695,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:713,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:713,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:728,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:728,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:753,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:756,9'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:769,5'
          Dst:             htscodecs_tls_free
    - functionName:    RansEncInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncPutSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          76
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncFlush
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          46
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_F_to_s3
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 540
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          113
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 255
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          107
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - decode_alphabet
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:260,11'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:265,19'
          Dst:             var_get_u32
    - functionName:    rans_uncompress_O0_32x16_avx512
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c'
      linkageType:     InternalLinkage
      functionLinenumber: 318
      functionLinenumberEnd: 462
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          959
      EdgeCount:       48
      CyclomaticComplexity: 14
      functionsReached:
        - RansDecInit
        - _mm512_i32gather_epi32x
        - decode_freq
        - normalise_freq_shift
        - rans_F_to_s3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:338,15'
          Dst:             decode_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:343,5'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:346,9'
          Dst:             rans_F_to_s3
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:355,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:373,18'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:374,18'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:429,12'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:431,12'
          Dst:             _mm512_i32gather_epi32x
    - functionName:    encode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          76
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - encode_alphabet
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:244,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:248,19'
          Dst:             var_put_u32
    - functionName:    round2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          38
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist8
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          414
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:148,24'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:178,9'
          Dst:             htscodecs_tls_free
    - functionName:    rans_compress_O0_32x16_avx512
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 313
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          1188
      EdgeCount:       64
      CyclomaticComplexity: 17
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - RansEncSymbolInit
        - _mm512_i32gather_epi32x
        - encode_freq
        - hist8
        - normalise_freq
        - rans_compress_bound_4x16
        - round2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:137,22'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:156,9'
          Dst:             hist8
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:161,24'
          Dst:             round2
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:165,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:170,11'
          Dst:             encode_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:174,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:181,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:191,7'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:195,7'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:222,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:222,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:229,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:229,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:240,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:240,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:284,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:284,9'
          Dst:             _mm512_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_avx512.c:304,9'
          Dst:             RansEncFlush
    - functionName:    decode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 426
      functionLinenumberEnd: 456
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          165
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:444,19'
          Dst:             var_get_u32
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          291
      EdgeCount:       69
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenormSafe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          65
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    transpose_and_copy
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_sse4.c'
      linkageType:     InternalLinkage
      functionLinenumber: 805
      functionLinenumberEnd: 1028
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          1477
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          423
      EdgeCount:       85
      CyclomaticComplexity: 23
      functionsReached:
        - decode_alphabet
        - decode_freq_d
        - normalise_freq_shift
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:475,15'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:493,15'
          Dst:             decode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:503,9'
          Dst:             normalise_freq_shift
    - functionName:    normalise_freq_shift
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 152
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          72
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_uncompress_O1_32x16_sse4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_sse4.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1033
      functionLinenumberEnd: 1824
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         103
      ICount:          7154
      EdgeCount:       136
      CyclomaticComplexity: 35
      functionsReached:
        - RansDecInit
        - RansDecRenormSafe
        - _mm_i32gather_epi32x
        - decode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_uncompress_O0_4x16
        - transpose_and_copy
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1049,34'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1068,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1069,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1073,24'
          Dst:             rans_uncompress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1080,11'
          Dst:             decode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1094,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1135,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1136,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1137,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1138,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1310,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1311,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1312,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1313,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1429,17'
          Dst:             transpose_and_copy
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1457,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1473,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1505,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1506,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1507,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1508,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1660,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1661,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1662,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1663,27'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1769,17'
          Dst:             transpose_and_copy
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1795,17'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1809,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1815,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:1819,5'
          Dst:             htscodecs_tls_free
    - functionName:    RansDecInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          52
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _mm_i32gather_epi32x
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_sse4.c'
      linkageType:     InternalLinkage
      functionLinenumber: 105
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          64
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    24
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_F_to_s3
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 540
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          113
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 255
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          107
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - decode_alphabet
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:260,11'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:265,19'
          Dst:             var_get_u32
    - functionName:    rans_uncompress_O0_32x16_sse4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr_sse4.c'
      linkageType:     InternalLinkage
      functionLinenumber: 465
      functionLinenumberEnd: 793
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          2887
      EdgeCount:       51
      CyclomaticComplexity: 15
      functionsReached:
        - RansDecInit
        - _mm_i32gather_epi32x
        - decode_freq
        - normalise_freq_shift
        - rans_F_to_s3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:490,15'
          Dst:             decode_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:495,5'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:498,9'
          Dst:             rans_F_to_s3
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:507,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:530,23'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:531,23'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:532,23'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:533,23'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:681,23'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:682,23'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:683,23'
          Dst:             _mm_i32gather_epi32x
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr_sse4.c:684,23'
          Dst:             _mm_i32gather_epi32x
    - functionName:    decode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 426
      functionLinenumberEnd: 456
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          165
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:444,19'
          Dst:             var_get_u32
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq_d
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          140
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:291,23'
          Dst:             var_put_u32
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist1_4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 357
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          501
      EdgeCount:       47
      CyclomaticComplexity: 12
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:287,31'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:322,9'
          Dst:             htscodecs_tls_free
    - functionName:    decode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          291
      EdgeCount:       69
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_alphabet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          149
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          423
      EdgeCount:       85
      CyclomaticComplexity: 23
      functionsReached:
        - decode_alphabet
        - decode_freq_d
        - normalise_freq_shift
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:475,15'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:493,15'
          Dst:             decode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:503,9'
          Dst:             normalise_freq_shift
    - functionName:    normalise_freq_shift
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 152
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          72
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_uncompress_O1_32x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 530
      functionLinenumberEnd: 754
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         88
      ICount:          1378
      EdgeCount:       116
      CyclomaticComplexity: 30
      functionsReached:
        - RansDecInit
        - RansDecRenorm
        - RansDecRenormSafe
        - decode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_uncompress_O0_4x16
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:554,21'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:588,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:589,15'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:593,24'
          Dst:             rans_uncompress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:600,11'
          Dst:             decode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:614,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:658,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:659,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:660,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:661,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:663,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:664,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:665,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:666,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:678,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:720,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:721,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:722,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:723,21'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:726,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:727,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:728,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:729,21'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:740,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:745,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:749,5'
          Dst:             htscodecs_tls_free
    - functionName:    RansDecInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          52
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenorm
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 416
      functionLinenumberEnd: 437
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenormSafe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          65
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 421
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          387
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - RansEncSymbolInit
        - encode_alphabet
        - encode_freq_d
        - hist1_4
        - htscodecs_tls_calloc
        - htscodecs_tls_free
        - normalise_freq
        - normalise_freq_shift
        - rans_compress_O0_4x16
        - rans_compute_shift
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:318,26'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:323,9'
          Dst:             hist1_4
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:360,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:366,17'
          Dst:             rans_compute_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:379,13'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:384,15'
          Dst:             encode_freq_d
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:386,9'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:391,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:402,33'
          Dst:             rans_compress_O0_4x16
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:406,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:407,19'
          Dst:             var_put_u32
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:415,5'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:419,5'
          Dst:             htscodecs_tls_free
    - functionName:    normalise_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          331
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncSymbolInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          145
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_word.h:205,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:206,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_word.h:207,5'
          Dst:             __assert_fail
    - functionName:    rans_compress_O1_32x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 521
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          618
      EdgeCount:       91
      CyclomaticComplexity: 22
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - encode_freq1
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_compress_bound_4x16
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:418,17'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:435,34'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:442,17'
          Dst:             encode_freq1
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:445,9'
          Dst:             htscodecs_tls_free
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:451,7'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:468,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:509,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:512,9'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:519,5'
          Dst:             htscodecs_tls_free
    - functionName:    RansEncInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncPutSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          76
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncFlush
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          46
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_F_to_s3
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 540
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          113
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 255
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          107
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - decode_alphabet
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:260,11'
          Dst:             decode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:265,19'
          Dst:             var_get_u32
    - functionName:    rans_uncompress_O0_32x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 257
      functionLinenumberEnd: 408
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          862
      EdgeCount:       66
      CyclomaticComplexity: 18
      functionsReached:
        - RansDecInit
        - RansDecRenorm
        - RansDecRenormSafe
        - decode_freq
        - normalise_freq_shift
        - rans_F_to_s3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:282,15'
          Dst:             decode_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:287,5'
          Dst:             normalise_freq_shift
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:290,9'
          Dst:             rans_F_to_s3
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:299,9'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:334,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:335,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:336,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:337,13'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:360,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:361,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:362,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:363,17'
          Dst:             RansDecRenorm
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:391,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:392,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:393,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:394,13'
          Dst:             RansDecRenormSafe
    - functionName:    RansEncPutSymbol_branched
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_word.h'
      linkageType:     InternalLinkage
      functionLinenumber: 341
      functionLinenumberEnd: 381
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          72
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_freq
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          76
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - encode_alphabet
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:244,11'
          Dst:             encode_alphabet
        - Src:             'htscodecs/htscodecs/rANS_static16_int.h:248,19'
          Dst:             var_put_u32
    - functionName:    round2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static16_int.h'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          38
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hist8e
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      double
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          255
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:212,32'
          Dst:             log
        - Src:             'htscodecs/htscodecs/utils.h:212,49'
          Dst:             log
    - functionName:    rans_compress_O0_32x16
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static32x16pr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         82
      ICount:          882
      EdgeCount:       105
      CyclomaticComplexity: 25
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - RansEncPutSymbol_branched
        - RansEncSymbolInit
        - abort
        - encode_freq
        - hist8e
        - normalise_freq
        - rans_compress_bound_4x16
        - round2
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:78,26'
          Dst:             rans_compress_bound_4x16
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:97,16'
          Dst:             hist8e
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:102,24'
          Dst:             round2
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:106,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:113,11'
          Dst:             encode_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:117,9'
          Dst:             normalise_freq
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:125,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:131,7'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:135,7'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:147,17'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:148,17'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:149,17'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:150,17'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:157,21'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:158,21'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:159,21'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:160,21'
          Dst:             RansEncPutSymbol_branched
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:163,25'
          Dst:             abort
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:239,25'
          Dst:             abort
        - Src:             'htscodecs/htscodecs/rANS_static32x16pr.c:243,9'
          Dst:             RansEncFlush
    - functionName:    RansDecGet
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenormSafe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 545
      functionLinenumberEnd: 554
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          80
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecRenorm2
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 467
      functionLinenumberEnd: 508
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          48
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecAdvanceStep
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 427
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          34
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          52
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansDecSymbolInit32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 557
      functionLinenumberEnd: 562
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       9
      CyclomaticComplexity: 2
      functionsReached:
        - __assert_fail
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_byte.h:558,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_byte.h:559,5'
          Dst:             __assert_fail
    - functionName:    hist8
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          414
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:148,24'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:178,9'
          Dst:             htscodecs_tls_free
    - functionName:    RansEncFlush
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 110
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          46
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncPutSymbol4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 332
      functionLinenumberEnd: 409
      functionDepth:   0
      returnType:      void
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          435
      EdgeCount:       31
      CyclomaticComplexity: 6
      functionsReached:
        - __assert_fail
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_byte.h:333,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_byte.h:334,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_byte.h:335,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_byte.h:336,5'
          Dst:             __assert_fail
    - functionName:    RansEncPutSymbol
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 284
      functionLinenumberEnd: 318
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          126
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached:
        - __assert_fail
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_byte.h:285,5'
          Dst:             __assert_fail
    - functionName:    RansEncInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RansEncSymbolInit
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_byte.h'
      linkageType:     InternalLinkage
      functionLinenumber: 198
      functionLinenumberEnd: 268
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          144
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_byte.h:199,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_byte.h:200,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_byte.h:201,5'
          Dst:             __assert_fail
    - functionName:    hist1_4
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.h'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 357
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          501
      EdgeCount:       47
      CyclomaticComplexity: 12
      functionsReached:
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.h:287,31'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/utils.h:322,9'
          Dst:             htscodecs_tls_free
    - functionName:    rans_uncompress_O0
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 384
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          722
      EdgeCount:       100
      CyclomaticComplexity: 26
      functionsReached:
        - RansDecInit
        - RansDecRenorm2
        - RansDecRenormSafe
      functionUses:    1
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/rANS_static.c:364,5'
          Branch Sides:    []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static.c:314,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:315,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:316,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:317,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:348,13'
          Dst:             RansDecRenorm2
        - Src:             'htscodecs/htscodecs/rANS_static.c:349,13'
          Dst:             RansDecRenorm2
        - Src:             'htscodecs/htscodecs/rANS_static.c:351,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:352,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:353,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:354,13'
          Dst:             RansDecRenormSafe
    - functionName:    rans_uncompress_O1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static.c'
      linkageType:     InternalLinkage
      functionLinenumber: 600
      functionLinenumberEnd: 824
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         107
      ICount:          1089
      EdgeCount:       145
      CyclomaticComplexity: 40
      functionsReached:
        - RansDecAdvanceStep
        - RansDecGet
        - RansDecInit
        - RansDecRenorm2
        - RansDecRenormSafe
        - RansDecSymbolInit32
        - htscodecs_tls_calloc
        - htscodecs_tls_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static.c:635,20'
          Dst:             htscodecs_tls_calloc
        - Src:             'htscodecs/htscodecs/rANS_static.c:683,13'
          Dst:             RansDecSymbolInit32
        - Src:             'htscodecs/htscodecs/rANS_static.c:730,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:731,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:732,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:733,5'
          Dst:             RansDecInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:779,9'
          Dst:             RansDecAdvanceStep
        - Src:             'htscodecs/htscodecs/rANS_static.c:780,9'
          Dst:             RansDecAdvanceStep
        - Src:             'htscodecs/htscodecs/rANS_static.c:781,9'
          Dst:             RansDecAdvanceStep
        - Src:             'htscodecs/htscodecs/rANS_static.c:782,9'
          Dst:             RansDecAdvanceStep
        - Src:             'htscodecs/htscodecs/rANS_static.c:787,13'
          Dst:             RansDecRenorm2
        - Src:             'htscodecs/htscodecs/rANS_static.c:788,13'
          Dst:             RansDecRenorm2
        - Src:             'htscodecs/htscodecs/rANS_static.c:790,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:791,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:792,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:793,13'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:809,36'
          Dst:             RansDecGet
        - Src:             'htscodecs/htscodecs/rANS_static.c:814,9'
          Dst:             RansDecRenormSafe
        - Src:             'htscodecs/htscodecs/rANS_static.c:821,5'
          Dst:             htscodecs_tls_free
    - functionName:    rans_uncompress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static.c'
      linkageType:     InternalLinkage
      functionLinenumber: 842
      functionLinenumberEnd: 850
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - rans_uncompress_O0
        - rans_uncompress_O1
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static.c:848,11'
          Dst:             rans_uncompress_O1
        - Src:             'htscodecs/htscodecs/rANS_static.c:849,11'
          Dst:             rans_uncompress_O0
    - functionName:    rans_compress_O0
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static.c'
      linkageType:     InternalLinkage
      functionLinenumber: 76
      functionLinenumberEnd: 214
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          686
      EdgeCount:       91
      CyclomaticComplexity: 20
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - RansEncSymbolInit
        - __assert_fail
        - hist8
      functionUses:    2
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/rANS_static.c:168,5'
          Branch Sides:    []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static.c:95,9'
          Dst:             hist8
        - Src:             'htscodecs/htscodecs/rANS_static.c:126,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_static.c:154,13'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:163,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:164,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:165,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:166,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:169,13'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:171,13'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:173,13'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:184,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:185,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:186,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:187,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:190,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static.c:191,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static.c:192,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static.c:193,5'
          Dst:             RansEncFlush
    - functionName:    rans_compress_O1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static.c'
      linkageType:     InternalLinkage
      functionLinenumber: 388
      functionLinenumberEnd: 596
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         93
      ICount:          1020
      EdgeCount:       122
      CyclomaticComplexity: 31
      functionsReached:
        - RansEncFlush
        - RansEncInit
        - RansEncPutSymbol
        - RansEncPutSymbol4
        - RansEncSymbolInit
        - __assert_fail
        - hist1_4
        - htscodecs_tls_alloc
        - htscodecs_tls_free
        - rans_compress_O0
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static.c:394,16'
          Dst:             rans_compress_O0
        - Src:             'htscodecs/htscodecs/rANS_static.c:399,20'
          Dst:             htscodecs_tls_alloc
        - Src:             'htscodecs/htscodecs/rANS_static.c:416,9'
          Dst:             hist1_4
        - Src:             'htscodecs/htscodecs/rANS_static.c:506,17'
          Dst:             RansEncSymbolInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:516,5'
          Dst:             __assert_fail
        - Src:             'htscodecs/htscodecs/rANS_static.c:519,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:520,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:521,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:522,5'
          Dst:             RansEncInit
        - Src:             'htscodecs/htscodecs/rANS_static.c:541,9'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:556,9'
          Dst:             RansEncPutSymbol4
        - Src:             'htscodecs/htscodecs/rANS_static.c:565,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:566,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:567,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:568,5'
          Dst:             RansEncPutSymbol
        - Src:             'htscodecs/htscodecs/rANS_static.c:570,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static.c:571,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static.c:572,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static.c:573,5'
          Dst:             RansEncFlush
        - Src:             'htscodecs/htscodecs/rANS_static.c:593,5'
          Dst:             htscodecs_tls_free
    - functionName:    rans_compress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rANS_static.c'
      linkageType:     InternalLinkage
      functionLinenumber: 830
      functionLinenumberEnd: 839
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          55
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - rans_compress_O0
        - rans_compress_O1
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rANS_static.c:837,11'
          Dst:             rans_compress_O1
        - Src:             'htscodecs/htscodecs/rANS_static.c:838,11'
          Dst:             rans_compress_O0
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rle_decode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_rle_decode
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rle.c:205,12'
          Dst:             hts_rle_decode
    - functionName:    hts_rle_decode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 189
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          187
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - var_get_u32
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rle.c:169,20'
          Dst:             var_get_u32
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rle_encode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 195
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_rle_encode
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rle.c:196,12'
          Dst:             hts_rle_encode
    - functionName:    hts_rle_encode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 103
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          216
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - rle_find_syms
        - var_put_u32
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/rle.c:117,9'
          Dst:             rle_find_syms
        - Src:             'htscodecs/htscodecs/rle.c:131,18'
          Dst:             var_put_u32
    - functionName:    rle_find_syms
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/rle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 50
      functionLinenumberEnd: 98
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          359
      EdgeCount:       36
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    append_uint32_var
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 285
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         44
      ICount:          398
      EdgeCount:       57
      CyclomaticComplexity: 15
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    append_uint32_fixed
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 233
      functionLinenumberEnd: 246
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          165
      EdgeCount:       42
      CyclomaticComplexity: 22
      functionsReached: []
      functionUses:    3
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/tokenise_name3.c:234,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    decode_token_int1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 396
      functionLinenumberEnd: 404
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          68
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_token_alpha
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 426
      functionLinenumberEnd: 438
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          124
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_token_char
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 452
      functionLinenumberEnd: 460
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          64
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_token_int
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 357
      functionLinenumberEnd: 368
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          98
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_token_type
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 331
      functionLinenumberEnd: 335
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          60
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rans_decode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1253
      functionLinenumberEnd: 1264
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - rans_uncompress_to_4x16
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1257,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1259,9'
          Dst:             rans_uncompress_to_4x16
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          161
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    arith_decode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1226
      functionLinenumberEnd: 1237
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - arith_uncompress_to
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1230,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1232,9'
          Dst:             arith_uncompress_to
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 203
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          214
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - var_put_u32_safe
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    rans_encode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1239
      functionLinenumberEnd: 1249
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          72
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - rans_compress_to_4x16
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1241,9'
          Dst:             rans_compress_to_4x16
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1244,10'
          Dst:             var_put_u32
    - functionName:    arith_encode
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1212
      functionLinenumberEnd: 1222
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          72
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - arith_compress_to
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1214,9'
          Dst:             arith_compress_to
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1217,10'
          Dst:             var_put_u32
    - functionName:    descriptor_grow
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 299
      functionLinenumberEnd: 310
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          83
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:302,30'
          Dst:             realloc
    - functionName:    encode_token_type
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 321
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          62
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - descriptor_grow
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:316,9'
          Dst:             descriptor_grow
    - functionName:    encode_token_end
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 327
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - encode_token_type
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:328,12'
          Dst:             encode_token_type
    - functionName:    encode_token_int
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 339
      functionLinenumberEnd: 353
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          112
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - descriptor_grow
        - encode_token_type
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:342,9'
          Dst:             encode_token_type
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:343,9'
          Dst:             descriptor_grow
    - functionName:    encode_token_int1_
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 384
      functionLinenumberEnd: 392
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          66
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - descriptor_grow
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:387,9'
          Dst:             descriptor_grow
    - functionName:    encode_token_int1
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 372
      functionLinenumberEnd: 381
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          78
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - descriptor_grow
        - encode_token_type
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:375,9'
          Dst:             encode_token_type
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:376,9'
          Dst:             descriptor_grow
    - functionName:    encode_token_alpha
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 412
      functionLinenumberEnd: 422
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          108
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - descriptor_grow
        - encode_token_type
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:415,9'
          Dst:             encode_token_type
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:416,9'
          Dst:             descriptor_grow
    - functionName:    encode_token_match
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 323
      functionLinenumberEnd: 324
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - encode_token_type
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:324,12'
          Dst:             encode_token_type
    - functionName:    encode_token_char
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 440
      functionLinenumberEnd: 448
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          73
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - descriptor_grow
        - encode_token_type
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:443,9'
          Dst:             encode_token_type
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:444,9'
          Dst:             descriptor_grow
    - functionName:    encode_token_diff
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 469
      functionLinenumberEnd: 470
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - encode_token_int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:470,12'
          Dst:             encode_token_int
    - functionName:    encode_token_dup
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 464
      functionLinenumberEnd: 465
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - encode_token_int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:465,12'
          Dst:             encode_token_int
    - functionName:    search_trie
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 590
      functionLinenumberEnd: 678
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         124
      ICount:          862
      EdgeCount:       170
      CyclomaticComplexity: 48
      functionsReached:
        - __ctype_b_loc
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:613,19'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:613,49'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:614,19'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:614,49'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:615,19'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:615,49'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:616,19'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:616,49'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:617,19'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:617,49'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:645,23'
          Dst:             calloc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:667,18'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:667,32'
          Dst:             __ctype_b_loc
    - functionName:    pool_destroy
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pooled_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 101
      functionLinenumberEnd: 109
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          48
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    new_pool
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pooled_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          85
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/pooled_alloc.h:86,12'
          Dst:             realloc
    - functionName:    pool_alloc
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pooled_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          119
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - new_pool
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/pooled_alloc.h:133,12'
          Dst:             new_pool
    - functionName:    pool_create
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/pooled_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          59
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_names
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1835
      functionLinenumberEnd: 1836
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tok3_decode_names
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1836,12'
          Dst:             tok3_decode_names
    - functionName:    tok3_decode_names
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1677
      functionLinenumberEnd: 1832
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         98
      ICount:          896
      EdgeCount:       137
      CyclomaticComplexity: 41
      functionsReached:
        - create_context
        - decode_name
        - free_context
        - uncompress
        - uncompressed_size
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1698,25'
          Dst:             create_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1773,30'
          Dst:             uncompressed_size
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1790,16'
          Dst:             uncompress
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1816,19'
          Dst:             decode_name
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1824,5'
          Dst:             free_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1830,5'
          Dst:             free_context
    - functionName:    create_context
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 209
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          114
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - fprintf
        - htscodecs_tls_alloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:185,9'
          Dst:             fprintf
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:189,25'
          Dst:             htscodecs_tls_alloc
    - functionName:    uncompressed_size
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1417
      functionLinenumberEnd: 1426
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          35
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1421,14'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1424,5'
          Dst:             var_get_u32
    - functionName:    uncompress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1430
      functionLinenumberEnd: 1435
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - arith_decode
        - rans_decode
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1432,5'
          Dst:             var_get_u32
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1434,11'
          Dst:             arith_decode
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1435,11'
          Dst:             rans_decode
    - functionName:    decode_name
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1021
      functionLinenumberEnd: 1208
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         105
      ICount:          1485
      EdgeCount:       140
      CyclomaticComplexity: 37
      functionsReached:
        - append_uint32_fixed
        - append_uint32_var
        - decode_token_alpha
        - decode_token_char
        - decode_token_int
        - decode_token_int1
        - decode_token_type
        - realloc
        - strcpy
        - strlen
      functionUses:    1
      BranchProfiles:
        - Branch String:   'htscodecs/htscodecs/tokenise_name3.c:1072,9'
          Branch Sides:    []
        - Branch String:   'htscodecs/htscodecs/tokenise_name3.c:1140,13'
          Branch Sides:    []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1022,14'
          Dst:             decode_token_type
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1032,9'
          Dst:             decode_token_int
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1042,13'
          Dst:             strlen
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1043,9'
          Dst:             strcpy
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1055,16'
          Dst:             strlen
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1067,15'
          Dst:             decode_token_type
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1075,17'
          Dst:             decode_token_char
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1082,25'
          Dst:             decode_token_alpha
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1092,17'
          Dst:             decode_token_int1
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1093,17'
          Dst:             decode_token_int
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1095,20'
          Dst:             append_uint32_fixed
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1104,17'
          Dst:             decode_token_int1
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1107,20'
          Dst:             append_uint32_fixed
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1115,17'
          Dst:             decode_token_int
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1117,20'
          Dst:             append_uint32_var
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1125,17'
          Dst:             decode_token_int1
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1128,20'
          Dst:             append_uint32_var
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1164,24'
          Dst:             append_uint32_var
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1172,24'
          Dst:             append_uint32_fixed
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1194,19'
          Dst:             realloc
    - functionName:    free_context
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 211
      functionLinenumberEnd: 228
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          113
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached:
        - htscodecs_tls_free
        - pool_destroy
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:218,9'
          Dst:             pool_destroy
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:227,5'
          Dst:             htscodecs_tls_free
    - functionName:    encode_names
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1666
      functionLinenumberEnd: 1668
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tok3_encode_names
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1667,12'
          Dst:             tok3_encode_names
    - functionName:    tok3_encode_names
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1450
      functionLinenumberEnd: 1662
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         120
      ICount:          1002
      EdgeCount:       160
      CyclomaticComplexity: 42
      functionsReached:
        - arith_compress_bound
        - build_trie
        - compress
        - create_context
        - encode_name
        - free_context
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1463,25'
          Dst:             create_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1477,13'
          Dst:             build_trie
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1478,13'
          Dst:             free_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1496,13'
          Dst:             free_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1502,13'
          Dst:             encode_name
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1503,13'
          Dst:             free_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1565,34'
          Dst:             arith_compress_bound
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1568,13'
          Dst:             free_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1572,13'
          Dst:             compress
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1574,13'
          Dst:             free_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1592,17'
          Dst:             memcmp
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1618,9'
          Dst:             free_context
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1659,5'
          Dst:             free_context
    - functionName:    build_trie
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 477
      functionLinenumberEnd: 523
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          260
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - calloc
        - pool_alloc
        - pool_create
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:482,23'
          Dst:             calloc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:505,33'
          Dst:             pool_create
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:506,37'
          Dst:             pool_alloc
    - functionName:    encode_name
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 695
      functionLinenumberEnd: 1016
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         226
      ICount:          1977
      EdgeCount:       311
      CyclomaticComplexity: 87
      functionsReached:
        - __ctype_b_loc
        - encode_token_alpha
        - encode_token_char
        - encode_token_diff
        - encode_token_dup
        - encode_token_end
        - encode_token_int
        - encode_token_int1
        - encode_token_int1_
        - encode_token_match
        - memcmp
        - realloc
        - search_trie
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:700,16'
          Dst:             search_trie
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:711,25'
          Dst:             strlen
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:712,9'
          Dst:             encode_token_dup
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:727,5'
          Dst:             encode_token_diff
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:743,13'
          Dst:             encode_token_char
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:758,68'
          Dst:             memcmp
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:759,17'
          Dst:             encode_token_match
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:761,17'
          Dst:             encode_token_alpha
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:764,13'
          Dst:             encode_token_alpha
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:785,13'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:791,32'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:792,32'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:809,21'
          Dst:             memcmp
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:815,25'
          Dst:             encode_token_match
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:822,25'
          Dst:             encode_token_alpha
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:828,21'
          Dst:             encode_token_alpha
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:842,31'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:856,25'
          Dst:             encode_token_match
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:863,25'
          Dst:             encode_token_int1
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:869,25'
          Dst:             encode_token_int1_
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:870,25'
          Dst:             encode_token_int
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:877,21'
          Dst:             encode_token_int1_
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:878,21'
          Dst:             encode_token_int
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:887,20'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:893,31'
          Dst:             __ctype_b_loc
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:923,25'
          Dst:             encode_token_match
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:933,25'
          Dst:             encode_token_int1
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:940,25'
          Dst:             encode_token_int
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:948,21'
          Dst:             encode_token_int
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:965,25'
          Dst:             encode_token_match
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:970,25'
          Dst:             encode_token_char
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:976,21'
          Dst:             encode_token_char
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:998,9'
          Dst:             encode_token_end
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1007,32'
          Dst:             realloc
    - functionName:    compress
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/tokenise_name3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1268
      functionLinenumberEnd: 1415
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - size_t
        - int
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          325
      EdgeCount:       72
      CyclomaticComplexity: 20
      functionsReached:
        - arith_encode
        - rans_encode
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1380,17'
          Dst:             arith_encode
        - Src:             'htscodecs/htscodecs/tokenise_name3.c:1383,17'
          Dst:             rans_encode
    - functionName:    htscodecs_tls_free_all
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 101
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          70
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.c:95,13'
          Dst:             fprintf
    - functionName:    htscodecs_tls_free
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 183
      functionLinenumberEnd: 208
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          91
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - fprintf
        - pthread_getspecific
      functionUses:    59
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.c:187,21'
          Dst:             pthread_getspecific
        - Src:             'htscodecs/htscodecs/utils.c:199,9'
          Dst:             fprintf
        - Src:             'htscodecs/htscodecs/utils.c:204,9'
          Dst:             fprintf
    - functionName:    pthread_getspecific
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    htscodecs_tls_calloc
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 173
      functionLinenumberEnd: 180
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - htscodecs_tls_alloc
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.c:177,17'
          Dst:             htscodecs_tls_alloc
    - functionName:    htscodecs_tls_alloc
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 119
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         34
      ICount:          219
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached:
        - calloc
        - fprintf
        - htscodecs_tls_init
        - pthread_getspecific
        - pthread_once
        - pthread_setspecific
        - strerror
      functionUses:    22
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.c:122,15'
          Dst:             pthread_once
        - Src:             'htscodecs/htscodecs/utils.c:122,15'
          Dst:             htscodecs_tls_init
        - Src:             'htscodecs/htscodecs/utils.c:125,17'
          Dst:             strerror
        - Src:             'htscodecs/htscodecs/utils.c:124,9'
          Dst:             fprintf
        - Src:             'htscodecs/htscodecs/utils.c:130,21'
          Dst:             pthread_getspecific
        - Src:             'htscodecs/htscodecs/utils.c:132,21'
          Dst:             calloc
        - Src:             'htscodecs/htscodecs/utils.c:134,9'
          Dst:             pthread_setspecific
        - Src:             'htscodecs/htscodecs/utils.c:156,9'
          Dst:             fprintf
        - Src:             'htscodecs/htscodecs/utils.c:162,30'
          Dst:             calloc
    - functionName:    htscodecs_tls_init
      functionSourceFile: '/src/htslib/htscodecs/htscodecs/utils.c'
      linkageType:     InternalLinkage
      functionLinenumber: 103
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - htscodecs_tls_free_all
        - pthread_key_create
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'htscodecs/htscodecs/utils.c:104,5'
          Dst:             pthread_key_create
        - Src:             'htscodecs/htscodecs/utils.c:104,5'
          Dst:             htscodecs_tls_free_all
    - functionName:    pthread_setspecific
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_key_create
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    parse_va_list
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1561
      functionLinenumberEnd: 1624
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         109
      ICount:          598
      EdgeCount:       145
      CyclomaticComplexity: 38
      functionsReached:
        - __errno_location
        - append_header
        - is_authorization
        - parse_va_list
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1565,13'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1568,21'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1570,21'
          Dst:             is_authorization
        - Src:             'hfile_libcurl.c:1574,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1577,21'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1579,21'
          Dst:             is_authorization
        - Src:             'hfile_libcurl.c:1583,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1586,21'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1588,21'
          Dst:             is_authorization
        - Src:             'hfile_libcurl.c:1592,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1595,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1598,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1601,21'
          Dst:             parse_va_list
        - Src:             'hfile_libcurl.c:1604,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1606,17'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1609,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1612,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1615,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1618,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1621,16'
          Dst:             __errno_location
    - functionName:    append_header
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 354
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          207
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - hts_realloc_p
        - strdup
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:357,39'
          Dst:             hts_realloc_p
        - Src:             'hfile_libcurl.c:365,40'
          Dst:             strdup
    - functionName:    is_authorization
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 396
      functionLinenumberEnd: 397
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - strncasecmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:397,13'
          Dst:             strncasecmp
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    preserve_buffer_content
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1053
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          166
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - __assert_fail
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1065,5'
          Dst:             __assert_fail
    - functionName:    retry_reconnect
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 850
      functionLinenumberEnd: 875
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          102
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - hts_log
        - restart_from_position
        - retry_sleep
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:856,9'
          Dst:             hts_log
        - Src:             'hfile_libcurl.c:858,9'
          Dst:             retry_sleep
        - Src:             'hfile_libcurl.c:861,13'
          Dst:             restart_from_position
    - functionName:    retry_sleep
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 838
      functionLinenumberEnd: 847
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - nanosleep
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:845,5'
          Dst:             nanosleep
    - functionName:    restart_from_position
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1135
      functionLinenumberEnd: 1265
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         58
      ICount:          502
      EdgeCount:       79
      CyclomaticComplexity: 23
      functionsReached:
        - __errno_location
        - add_auth_header
        - add_callback_headers
        - curl_easy_cleanup
        - curl_easy_duphandle
        - curl_easy_reset
        - curl_easy_setopt
        - curl_multi_add_handle
        - curl_multi_remove_handle
        - easy_errno
        - get_header_list
        - multi_errno
        - wait_perform
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1151,13'
          Dst:             add_callback_headers
        - Src:             'hfile_libcurl.c:1156,13'
          Dst:             add_auth_header
        - Src:             'hfile_libcurl.c:1161,35'
          Dst:             get_header_list
        - Src:             'hfile_libcurl.c:1163,19'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1165,25'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1165,17'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1182,20'
          Dst:             curl_easy_duphandle
        - Src:             'hfile_libcurl.c:1186,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1187,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1188,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1190,22'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1198,12'
          Dst:             curl_multi_add_handle
        - Src:             'hfile_libcurl.c:1200,22'
          Dst:             multi_errno
        - Src:             'hfile_libcurl.c:1206,13'
          Dst:             wait_perform
        - Src:             'hfile_libcurl.c:1207,26'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1212,22'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1219,12'
          Dst:             curl_multi_remove_handle
        - Src:             'hfile_libcurl.c:1222,9'
          Dst:             curl_easy_reset
        - Src:             'hfile_libcurl.c:1223,13'
          Dst:             curl_multi_remove_handle
        - Src:             'hfile_libcurl.c:1225,13'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_libcurl.c:1227,22'
          Dst:             multi_errno
        - Src:             'hfile_libcurl.c:1232,5'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_libcurl.c:1234,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1235,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1237,22'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1238,9'
          Dst:             curl_easy_reset
        - Src:             'hfile_libcurl.c:1239,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1251,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_libcurl.c:1252,12'
          Dst:             curl_multi_remove_handle
        - Src:             'hfile_libcurl.c:1254,17'
          Dst:             multi_errno
        - Src:             'hfile_libcurl.c:1254,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1259,5'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_libcurl.c:1263,9'
          Dst:             __errno_location
    - functionName:    add_callback_headers
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 400
      functionLinenumberEnd: 447
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         46
      ICount:          275
      EdgeCount:       61
      CyclomaticComplexity: 17
      functionsReached:
        - append_header
        - free_headers
        - is_authorization
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:419,5'
          Dst:             free_headers
        - Src:             'hfile_libcurl.c:426,13'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:429,13'
          Dst:             is_authorization
    - functionName:    add_auth_header
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 588
      functionLinenumberEnd: 649
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          374
      EdgeCount:       60
      CyclomaticComplexity: 17
      functionsReached:
        - append_header
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - renew_auth_token
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:597,5'
          Dst:             pthread_mutex_lock
        - Src:             'hfile_libcurl.c:598,9'
          Dst:             renew_auth_token
        - Src:             'hfile_libcurl.c:602,9'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile_libcurl.c:609,38'
          Dst:             strdup
        - Src:             'hfile_libcurl.c:636,13'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:643,5'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile_libcurl.c:647,5'
          Dst:             pthread_mutex_unlock
    - functionName:    get_header_list
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 388
      functionLinenumberEnd: 394
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_easy_setopt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    61
      BranchProfiles:  []
      Callsites:       []
    - functionName:    easy_errno
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 155
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          181
      EdgeCount:       40
      CyclomaticComplexity: 3
      functionsReached:
        - curl_easy_getinfo
        - curl_easy_strerror
        - hts_log
        - http_status_errno
      functionUses:    12
      BranchProfiles:
        - Branch String:   'hfile_libcurl.c:158,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_libcurl.c:179,13'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:193,13'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:194,20'
          Dst:             http_status_errno
        - Src:             'hfile_libcurl.c:228,9'
          Dst:             curl_easy_strerror
        - Src:             'hfile_libcurl.c:228,9'
          Dst:             hts_log
    - functionName:    curl_easy_duphandle
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_multi_add_handle
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    multi_errno
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 272
      functionLinenumberEnd: 291
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          57
      EdgeCount:       25
      CyclomaticComplexity: 14
      functionsReached:
        - curl_multi_strerror
        - hts_log
      functionUses:    6
      BranchProfiles:
        - Branch String:   'hfile_libcurl.c:273,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_libcurl.c:287,9'
          Dst:             curl_multi_strerror
        - Src:             'hfile_libcurl.c:287,9'
          Dst:             hts_log
    - functionName:    wait_perform
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 738
      functionLinenumberEnd: 787
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         41
      ICount:          234
      EdgeCount:       52
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - curl_multi_fdset
        - curl_multi_perform
        - curl_multi_timeout
        - multi_errno
        - process_messages
        - select
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:748,13'
          Dst:             curl_multi_fdset
        - Src:             'hfile_libcurl.c:751,17'
          Dst:             curl_multi_timeout
        - Src:             'hfile_libcurl.c:776,17'
          Dst:             select
        - Src:             'hfile_libcurl.c:780,12'
          Dst:             curl_multi_perform
        - Src:             'hfile_libcurl.c:783,42'
          Dst:             multi_errno
        - Src:             'hfile_libcurl.c:783,34'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:785,34'
          Dst:             process_messages
    - functionName:    curl_multi_remove_handle
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_easy_reset
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_easy_cleanup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_multi_fdset
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_multi_timeout
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    select
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_multi_perform
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    process_messages
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 720
      functionLinenumberEnd: 735
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       9
      CyclomaticComplexity: 2
      functionsReached:
        - curl_multi_info_read
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hfile_libcurl.c:725,9'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_libcurl.c:724,19'
          Dst:             curl_multi_info_read
    - functionName:    curl_multi_info_read
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_multi_strerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_easy_getinfo
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    http_status_errno
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 132
      functionLinenumberEnd: 152
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          89
      EdgeCount:       35
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hfile_libcurl.c:134,9'
          Branch Sides:    []
        - Branch String:   'hfile_libcurl.c:141,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    curl_easy_strerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    renew_auth_token
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 544
      functionLinenumberEnd: 586
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          160
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - __errno_location
        - hclose
        - hclose_abruptly
        - hopen
        - hpeek
        - memchr
        - read_auth_json
        - read_auth_plain
        - time
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:550,29'
          Dst:             time
        - Src:             'hfile_libcurl.c:557,15'
          Dst:             hopen
        - Src:             'hfile_libcurl.c:560,13'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:568,11'
          Dst:             hpeek
        - Src:             'hfile_libcurl.c:572,9'
          Dst:             memchr
        - Src:             'hfile_libcurl.c:573,13'
          Dst:             read_auth_json
        - Src:             'hfile_libcurl.c:576,13'
          Dst:             read_auth_plain
        - Src:             'hfile_libcurl.c:580,12'
          Dst:             hclose
        - Src:             'hfile_libcurl.c:584,18'
          Dst:             hclose_abruptly
    - functionName:    read_auth_json
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 455
      functionLinenumberEnd: 513
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         50
      ICount:          269
      EdgeCount:       69
      CyclomaticComplexity: 21
      functionsReached:
        - hts_json_alloc_token
        - hts_json_fnext
        - hts_json_free_token
        - hts_json_fskip_value
        - hts_json_token_str
        - hts_json_token_type
        - kputs
        - ks_release
        - strcmp
        - strtol
        - time
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:456,25'
          Dst:             hts_json_alloc_token
        - Src:             'hfile_libcurl.c:463,16'
          Dst:             hts_json_fnext
        - Src:             'hfile_libcurl.c:464,12'
          Dst:             hts_json_fnext
        - Src:             'hfile_libcurl.c:466,13'
          Dst:             hts_json_token_type
        - Src:             'hfile_libcurl.c:470,15'
          Dst:             hts_json_token_str
        - Src:             'hfile_libcurl.c:472,13'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:473,24'
          Dst:             hts_json_fnext
        - Src:             'hfile_libcurl.c:474,21'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:475,20'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:476,24'
          Dst:             hts_json_fnext
        - Src:             'hfile_libcurl.c:477,20'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:478,20'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:479,24'
          Dst:             hts_json_fnext
        - Src:             'hfile_libcurl.c:480,22'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:481,20'
          Dst:             hts_json_fskip_value
        - Src:             'hfile_libcurl.c:487,28'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:494,9'
          Dst:             kputs
        - Src:             'hfile_libcurl.c:495,9'
          Dst:             kputs
        - Src:             'hfile_libcurl.c:497,18'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:499,20'
          Dst:             strtol
        - Src:             'hfile_libcurl.c:501,23'
          Dst:             time
        - Src:             'hfile_libcurl.c:512,5'
          Dst:             hts_json_free_token
    - functionName:    read_auth_plain
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 516
      functionLinenumberEnd: 542
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          164
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - isspace_c
        - khgetline
        - kputc
        - kputs
        - kputsn
        - ks_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:521,9'
          Dst:             khgetline
        - Src:             'hfile_libcurl.c:522,9'
          Dst:             kputc
        - Src:             'hfile_libcurl.c:524,36'
          Dst:             isspace_c
        - Src:             'hfile_libcurl.c:525,32'
          Dst:             isspace_c
        - Src:             'hfile_libcurl.c:528,13'
          Dst:             kputs
        - Src:             'hfile_libcurl.c:529,13'
          Dst:             kputsn
        - Src:             'hfile_libcurl.c:533,18'
          Dst:             ks_release
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    isspace_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:176,46'
          Dst:             __ctype_b_loc
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    ks_release
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    free_headers
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 373
      functionLinenumberEnd: 386
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          83
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libcurl_close
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1268
      functionLinenumberEnd: 1307
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         36
      ICount:          261
      EdgeCount:       48
      CyclomaticComplexity: 14
      functionsReached:
        - __errno_location
        - curl_easy_cleanup
        - curl_easy_pause
        - curl_multi_cleanup
        - curl_multi_remove_handle
        - easy_errno
        - free_headers
        - multi_errno
        - wait_perform
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1281,15'
          Dst:             curl_easy_pause
        - Src:             'hfile_libcurl.c:1282,43'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1286,13'
          Dst:             wait_perform
        - Src:             'hfile_libcurl.c:1286,48'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1289,22'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1291,12'
          Dst:             curl_multi_remove_handle
        - Src:             'hfile_libcurl.c:1292,59'
          Dst:             multi_errno
        - Src:             'hfile_libcurl.c:1295,5'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_libcurl.c:1296,5'
          Dst:             curl_multi_cleanup
        - Src:             'hfile_libcurl.c:1300,5'
          Dst:             free_headers
        - Src:             'hfile_libcurl.c:1301,5'
          Dst:             free_headers
        - Src:             'hfile_libcurl.c:1305,23'
          Dst:             __errno_location
    - functionName:    curl_easy_pause
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_multi_cleanup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libcurl_seek
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1073
      functionLinenumberEnd: 1133
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          235
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - preserve_buffer_content
        - restart_from_position
      functionUses:    0
      BranchProfiles:
        - Branch String:   'hfile_libcurl.c:1083,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_libcurl.c:1079,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1088,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1091,34'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1095,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1102,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1116,13'
          Dst:             preserve_buffer_content
        - Src:             'hfile_libcurl.c:1123,9'
          Dst:             restart_from_position
        - Src:             'hfile_libcurl.c:1126,9'
          Dst:             __errno_location
    - functionName:    libcurl_write
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1026
      functionLinenumberEnd: 1050
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          161
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - curl_easy_pause
        - easy_errno
        - wait_perform
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1034,11'
          Dst:             curl_easy_pause
        - Src:             'hfile_libcurl.c:1035,36'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1035,28'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1038,13'
          Dst:             wait_perform
        - Src:             'hfile_libcurl.c:1045,17'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1045,9'
          Dst:             __errno_location
    - functionName:    libcurl_read
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 878
      functionLinenumberEnd: 1005
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         92
      ICount:          649
      EdgeCount:       123
      CyclomaticComplexity: 33
      functionsReached:
        - __assert_fail
        - __errno_location
        - curl_easy_pause
        - easy_errno
        - hts_log
        - is_retryable
        - restart_from_position
        - retry_reconnect
        - retry_sleep
        - wait_perform
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:888,13'
          Dst:             retry_reconnect
        - Src:             'hfile_libcurl.c:889,13'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:896,9'
          Dst:             __assert_fail
        - Src:             'hfile_libcurl.c:925,17'
          Dst:             restart_from_position
        - Src:             'hfile_libcurl.c:939,19'
          Dst:             curl_easy_pause
        - Src:             'hfile_libcurl.c:941,25'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:941,17'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:947,17'
          Dst:             wait_perform
        - Src:             'hfile_libcurl.c:968,13'
          Dst:             is_retryable
        - Src:             'hfile_libcurl.c:988,17'
          Dst:             hts_log
        - Src:             'hfile_libcurl.c:991,17'
          Dst:             retry_sleep
        - Src:             'hfile_libcurl.c:992,21'
          Dst:             restart_from_position
        - Src:             'hfile_libcurl.c:999,17'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:999,9'
          Dst:             __errno_location
    - functionName:    is_retryable
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 269
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          99
      EdgeCount:       49
      CyclomaticComplexity: 26
      functionsReached:
        - curl_easy_getinfo
      functionUses:    3
      BranchProfiles:
        - Branch String:   'hfile_libcurl.c:236,5'
          Branch Sides:    []
        - Branch String:   'hfile_libcurl.c:256,13'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_libcurl.c:254,13'
          Dst:             curl_easy_getinfo
    - functionName:    kh_resize_auth_map
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          586
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             realloc
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             realloc
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             realloc
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    free_auth
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 325
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          45
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - abort
        - pthread_mutex_destroy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:321,9'
          Dst:             pthread_mutex_destroy
        - Src:             'hfile_libcurl.c:321,44'
          Dst:             abort
    - functionName:    kh_put_auth_map
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_auth_map
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             kh_resize_auth_map
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             kh_resize_auth_map
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             strcmp
    - functionName:    kh_get_auth_map
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             strcmp
    - functionName:    kputsn_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:279,23'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:280,6'
          Dst:             ks_resize
    - functionName:    header_callback
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 810
      functionLinenumberEnd: 819
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kputsn
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:814,9'
          Dst:             kputsn
    - functionName:    get_auth_token
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 651
      functionLinenumberEnd: 717
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         48
      ICount:          290
      EdgeCount:       65
      CyclomaticComplexity: 19
      functionsReached:
        - add_auth_header
        - calloc
        - free_auth
        - kh_get_auth_map
        - kh_put_auth_map
        - kputs
        - kputsn_
        - ks_release
        - pthread_mutex_init
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - strcspn
        - strncmp
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:666,48'
          Dst:             strncmp
        - Src:             'hfile_libcurl.c:669,12'
          Dst:             strstr
        - Src:             'hfile_libcurl.c:672,20'
          Dst:             strcspn
        - Src:             'hfile_libcurl.c:676,17'
          Dst:             strstr
        - Src:             'hfile_libcurl.c:678,13'
          Dst:             kputsn_
        - Src:             'hfile_libcurl.c:679,13'
          Dst:             kputsn_
        - Src:             'hfile_libcurl.c:682,9'
          Dst:             kputs
        - Src:             'hfile_libcurl.c:684,5'
          Dst:             pthread_mutex_lock
        - Src:             'hfile_libcurl.c:685,11'
          Dst:             kh_get_auth_map
        - Src:             'hfile_libcurl.c:689,15'
          Dst:             calloc
        - Src:             'hfile_libcurl.c:690,20'
          Dst:             pthread_mutex_init
        - Src:             'hfile_libcurl.c:696,25'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:699,19'
          Dst:             kh_put_auth_map
        - Src:             'hfile_libcurl.c:701,17'
          Dst:             free_auth
        - Src:             'hfile_libcurl.c:707,5'
          Dst:             pthread_mutex_unlock
        - Src:             'hfile_libcurl.c:712,12'
          Dst:             add_auth_header
    - functionName:    send_callback
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1008
      functionLinenumberEnd: 1023
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          99
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    recv_callback
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 791
      functionLinenumberEnd: 805
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          78
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    refresh_retry_config
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 823
      functionLinenumberEnd: 835
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         18
      ICount:          87
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - atoi
        - atol
        - getenv
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:825,16'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:826,26'
          Dst:             atoi
        - Src:             'hfile_libcurl.c:827,16'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:828,31'
          Dst:             atol
        - Src:             'hfile_libcurl.c:829,16'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:830,35'
          Dst:             atol
        - Src:             'hfile_libcurl.c:831,16'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:832,32'
          Dst:             atol
        - Src:             'hfile_libcurl.c:833,16'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:834,31'
          Dst:             atol
    - functionName:    libcurl_open
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1316
      functionLinenumberEnd: 1553
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         147
      ICount:          1134
      EdgeCount:       200
      CyclomaticComplexity: 55
      functionsReached:
        - __errno_location
        - add_callback_headers
        - append_header
        - curl_easy_cleanup
        - curl_easy_getinfo
        - curl_easy_init
        - curl_easy_setopt
        - curl_multi_add_handle
        - curl_multi_cleanup
        - curl_multi_init
        - curl_multi_remove_handle
        - easy_errno
        - free_headers
        - get_auth_token
        - get_header_list
        - getenv
        - header_callback
        - hfile_destroy
        - hfile_init
        - hts_log
        - is_retryable
        - ks_release
        - multi_errno
        - recv_callback
        - refresh_retry_config
        - restart_from_position
        - retry_sleep
        - send_callback
        - strchr
        - strpbrk
        - wait_perform
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1327,5'
          Dst:             refresh_retry_config
        - Src:             'hfile_libcurl.c:1329,20'
          Dst:             strchr
        - Src:             'hfile_libcurl.c:1331,14'
          Dst:             strpbrk
        - Src:             'hfile_libcurl.c:1333,13'
          Dst:             strpbrk
        - Src:             'hfile_libcurl.c:1337,39'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1339,28'
          Dst:             hfile_init
        - Src:             'hfile_libcurl.c:1365,17'
          Dst:             curl_multi_init
        - Src:             'hfile_libcurl.c:1366,30'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1368,16'
          Dst:             curl_easy_init
        - Src:             'hfile_libcurl.c:1369,29'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1372,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1381,5'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1385,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1385,16'
          Dst:             recv_callback
        - Src:             'hfile_libcurl.c:1386,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1390,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1390,16'
          Dst:             send_callback
        - Src:             'hfile_libcurl.c:1391,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1392,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1393,13'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1399,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1400,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1402,36'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1404,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1407,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1409,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1411,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1415,13'
          Dst:             add_callback_headers
        - Src:             'hfile_libcurl.c:1417,9'
          Dst:             get_auth_token
        - Src:             'hfile_libcurl.c:1419,17'
          Dst:             get_header_list
        - Src:             'hfile_libcurl.c:1420,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1423,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1425,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1428,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1428,16'
          Dst:             header_callback
        - Src:             'hfile_libcurl.c:1429,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1431,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1434,21'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1436,12'
          Dst:             curl_multi_add_handle
        - Src:             'hfile_libcurl.c:1437,37'
          Dst:             multi_errno
        - Src:             'hfile_libcurl.c:1437,29'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1441,13'
          Dst:             wait_perform
        - Src:             'hfile_libcurl.c:1444,5'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:1450,13'
          Dst:             is_retryable
        - Src:             'hfile_libcurl.c:1455,17'
          Dst:             hts_log
        - Src:             'hfile_libcurl.c:1457,17'
          Dst:             retry_sleep
        - Src:             'hfile_libcurl.c:1459,21'
          Dst:             restart_from_position
        - Src:             'hfile_libcurl.c:1462,26'
          Dst:             is_retryable
        - Src:             'hfile_libcurl.c:1471,17'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1471,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1482,17'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1486,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1487,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1488,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1489,18'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:1491,29'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1492,18'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:1494,17'
          Dst:             restart_from_position
        - Src:             'hfile_libcurl.c:1499,17'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:1504,25'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1504,17'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1509,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1510,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1511,18'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:1513,29'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1521,13'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:1536,12'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1537,12'
          Dst:             curl_multi_remove_handle
        - Src:             'hfile_libcurl.c:1539,5'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1543,12'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1544,19'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_libcurl.c:1545,20'
          Dst:             curl_multi_cleanup
        - Src:             'hfile_libcurl.c:1546,5'
          Dst:             free_headers
        - Src:             'hfile_libcurl.c:1547,5'
          Dst:             hfile_destroy
        - Src:             'hfile_libcurl.c:1548,5'
          Dst:             __errno_location
    - functionName:    curl_multi_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_easy_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libcurl_exit
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 328
      functionLinenumberEnd: 352
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         16
      ICount:          112
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - curl_global_cleanup
        - curl_share_cleanup
        - free_auth
        - kh_destroy_auth_map
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:329,9'
          Dst:             curl_share_cleanup
        - Src:             'hfile_libcurl.c:342,17'
          Dst:             free_auth
        - Src:             'hfile_libcurl.c:347,9'
          Dst:             kh_destroy_auth_map
        - Src:             'hfile_libcurl.c:351,5'
          Dst:             curl_global_cleanup
    - functionName:    curl_share_cleanup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_destroy_auth_map
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_global_cleanup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_init_auth_map
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:70,1'
          Dst:             calloc
    - functionName:    share_unlock
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 315
      functionLinenumberEnd: 317
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:316,5'
          Dst:             pthread_mutex_unlock
    - functionName:    share_lock
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 311
      functionLinenumberEnd: 313
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_lock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:312,5'
          Dst:             pthread_mutex_lock
    - functionName:    vhopen_libcurl
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1671
      functionLinenumberEnd: 1682
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - free_headers
        - libcurl_open
        - parse_va_list
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1675,9'
          Dst:             parse_va_list
        - Src:             'hfile_libcurl.c:1676,14'
          Dst:             libcurl_open
        - Src:             'hfile_libcurl.c:1680,9'
          Dst:             free_headers
    - functionName:    hopen_libcurl
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1556
      functionLinenumberEnd: 1557
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - libcurl_open
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1557,12'
          Dst:             libcurl_open
    - functionName:    hfile_plugin_init_libcurl
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1686
      functionLinenumberEnd: 1762
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         42
      ICount:          259
      EdgeCount:       56
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - atoi
        - atol
        - curl_global_cleanup
        - curl_global_init
        - curl_share_cleanup
        - curl_share_init
        - curl_share_setopt
        - curl_version_info
        - getenv
        - hfile_add_scheme_handler
        - hts_version
        - kh_destroy_auth_map
        - kh_init_auth_map
        - ksprintf
        - share_lock
        - share_unlock
        - strcmp
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_libcurl.c:1698,27'
          Dst:             hts_version
        - Src:             'hfile_libcurl.c:1706,11'
          Dst:             curl_global_init
        - Src:             'hfile_libcurl.c:1707,28'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1709,18'
          Dst:             curl_share_init
        - Src:             'hfile_libcurl.c:1710,31'
          Dst:             curl_global_cleanup
        - Src:             'hfile_libcurl.c:1710,54'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1711,13'
          Dst:             curl_share_setopt
        - Src:             'hfile_libcurl.c:1711,13'
          Dst:             share_lock
        - Src:             'hfile_libcurl.c:1712,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_libcurl.c:1712,14'
          Dst:             share_unlock
        - Src:             'hfile_libcurl.c:1713,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_libcurl.c:1715,9'
          Dst:             curl_share_cleanup
        - Src:             'hfile_libcurl.c:1716,9'
          Dst:             curl_global_cleanup
        - Src:             'hfile_libcurl.c:1717,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1721,17'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1722,26'
          Dst:             strdup
        - Src:             'hfile_libcurl.c:1723,25'
          Dst:             kh_init_auth_map
        - Src:             'hfile_libcurl.c:1725,30'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1727,13'
          Dst:             kh_destroy_auth_map
        - Src:             'hfile_libcurl.c:1728,13'
          Dst:             curl_share_cleanup
        - Src:             'hfile_libcurl.c:1729,13'
          Dst:             curl_global_cleanup
        - Src:             'hfile_libcurl.c:1730,13'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1734,17'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1735,12'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1741,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1742,30'
          Dst:             atoi
        - Src:             'hfile_libcurl.c:1743,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1744,35'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1745,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1746,39'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1747,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1748,36'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1749,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1750,35'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1753,12'
          Dst:             curl_version_info
        - Src:             'hfile_libcurl.c:1754,5'
          Dst:             ksprintf
        - Src:             'hfile_libcurl.c:1760,9'
          Dst:             hfile_add_scheme_handler
    - functionName:    curl_global_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_share_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_share_setopt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    curl_version_info
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    gcs_rewrite
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 135
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          318
      EdgeCount:       65
      CyclomaticComplexity: 18
      functionsReached:
        - fprintf
        - getenv
        - hopen
        - kputc
        - kputs
        - kputsn
        - strchr
        - strcspn
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_gcs.c:56,18'
          Dst:             strchr
        - Src:             'hfile_gcs.c:57,9'
          Dst:             kputsn
        - Src:             'hfile_gcs.c:60,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:63,28'
          Dst:             kputc
        - Src:             'hfile_gcs.c:65,21'
          Dst:             strcspn
        - Src:             'hfile_gcs.c:67,21'
          Dst:             getenv
        - Src:             'hfile_gcs.c:73,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:74,9'
          Dst:             kputc
        - Src:             'hfile_gcs.c:75,9'
          Dst:             kputsn
        - Src:             'hfile_gcs.c:78,9'
          Dst:             kputsn
        - Src:             'hfile_gcs.c:79,13'
          Dst:             strchr
        - Src:             'hfile_gcs.c:79,32'
          Dst:             kputs
        - Src:             'hfile_gcs.c:80,18'
          Dst:             strchr
        - Src:             'hfile_gcs.c:80,37'
          Dst:             kputs
        - Src:             'hfile_gcs.c:81,14'
          Dst:             kputs
        - Src:             'hfile_gcs.c:82,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:85,5'
          Dst:             kputs
        - Src:             'hfile_gcs.c:88,9'
          Dst:             fprintf
        - Src:             'hfile_gcs.c:91,20'
          Dst:             getenv
        - Src:             'hfile_gcs.c:94,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:95,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:98,30'
          Dst:             getenv
        - Src:             'hfile_gcs.c:101,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:102,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:107,13'
          Dst:             kputs
        - Src:             'hfile_gcs.c:108,13'
          Dst:             kputc
        - Src:             'hfile_gcs.c:113,18'
          Dst:             hopen
        - Src:             'hfile_gcs.c:124,18'
          Dst:             hopen
        - Src:             'hfile_gcs.c:129,14'
          Dst:             hopen
    - functionName:    gcs_vopen
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 144
      functionLinenumberEnd: 151
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - gcs_rewrite
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_gcs.c:149,17'
          Dst:             gcs_rewrite
    - functionName:    gcs_open
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 140
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - gcs_rewrite
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_gcs.c:140,12'
          Dst:             gcs_rewrite
    - functionName:    hfile_plugin_init_gcs
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 155
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hfile_add_scheme_handler
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_gcs.c:169,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_gcs.c:170,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_gcs.c:171,5'
          Dst:             hfile_add_scheme_handler
    - functionName:    get_upload_id
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1963
      functionLinenumberEnd: 1970
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - get_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1966,9'
          Dst:             get_entry
    - functionName:    get_entry
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1199
      functionLinenumberEnd: 1216
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          73
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - kputsn
        - stristr
        - strlen
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1207,13'
          Dst:             stristr
        - Src:             'hfile_s3.c:1210,14'
          Dst:             strlen
        - Src:             'hfile_s3.c:1211,11'
          Dst:             stristr
        - Src:             'hfile_s3.c:1215,12'
          Dst:             kputsn
    - functionName:    stristr
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1177
      functionLinenumberEnd: 1196
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          108
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - toupper_c
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1183,16'
          Dst:             toupper_c
        - Src:             'hfile_s3.c:1183,33'
          Dst:             toupper_c
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    18
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    toupper_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 180
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - toupper
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:180,47'
          Dst:             toupper
    - functionName:    initialise_upload
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1902
      functionLinenumberEnd: 1959
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          204
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_setopt
        - curl_slist_free_all
        - easy_errno
        - ks_free
        - ksprintf
        - response_callback
        - set_common_easy_options
        - set_html_headers
        - v4_authorisation
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1910,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1916,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1920,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1924,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1928,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1929,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1930,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1931,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1931,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1932,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1933,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1933,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1934,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1935,12'
          Dst:             set_common_easy_options
        - Src:             'hfile_s3.c:1938,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1942,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1947,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1952,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1952,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1956,5'
          Dst:             curl_slist_free_all
        - Src:             'hfile_s3.c:1957,5'
          Dst:             ks_free
    - functionName:    clear_authorisation_values
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1154
      functionLinenumberEnd: 1161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_clear
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1155,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:1156,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:1157,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:1158,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:1159,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:1160,5'
          Dst:             ks_clear
    - functionName:    v4_authorisation
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1056
      functionLinenumberEnd: 1111
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          214
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - hash_string
        - kputs
        - kputsn
        - ksprintf
        - make_authorisation
        - order_query_string
        - refresh_auth_data
        - time
        - update_time
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1061,11'
          Dst:             time
        - Src:             'hfile_s3.c:1063,9'
          Dst:             update_time
        - Src:             'hfile_s3.c:1069,9'
          Dst:             refresh_auth_data
        - Src:             'hfile_s3.c:1073,9'
          Dst:             hash_string
        - Src:             'hfile_s3.c:1076,9'
          Dst:             hash_string
        - Src:             'hfile_s3.c:1082,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:1086,13'
          Dst:             kputs
        - Src:             'hfile_s3.c:1087,13'
          Dst:             kputs
        - Src:             'hfile_s3.c:1089,17'
          Dst:             order_query_string
        - Src:             'hfile_s3.c:1095,9'
          Dst:             make_authorisation
        - Src:             'hfile_s3.c:1099,5'
          Dst:             kputs
        - Src:             'hfile_s3.c:1100,5'
          Dst:             kputsn
        - Src:             'hfile_s3.c:1107,9'
          Dst:             ksprintf
    - functionName:    response_callback
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1378
      functionLinenumberEnd: 1387
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kputsn
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1382,9'
          Dst:             kputsn
    - functionName:    set_common_easy_options
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1455
      functionLinenumberEnd: 1466
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          56
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - curl_easy_setopt
        - getenv
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1458,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1459,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1461,23'
          Dst:             getenv
        - Src:             'hfile_s3.c:1463,16'
          Dst:             curl_easy_setopt
    - functionName:    set_html_headers
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1405
      functionLinenumberEnd: 1452
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          197
      EdgeCount:       45
      CyclomaticComplexity: 14
      functionsReached:
        - __errno_location
        - add_header
        - curl_easy_setopt
        - curl_slist_free_all
        - easy_errno
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1414,11'
          Dst:             add_header
        - Src:             'hfile_s3.c:1415,12'
          Dst:             add_header
        - Src:             'hfile_s3.c:1420,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1423,16'
          Dst:             add_header
        - Src:             'hfile_s3.c:1427,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1431,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1435,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1438,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1441,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1441,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1448,9'
          Dst:             curl_slist_free_all
    - functionName:    curl_easy_perform
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    easy_errno
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1273
      functionLinenumberEnd: 1351
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         42
      ICount:          194
      EdgeCount:       44
      CyclomaticComplexity: 4
      functionsReached:
        - curl_easy_getinfo
        - curl_easy_strerror
        - fprintf
        - http_status_errno
      functionUses:    14
      BranchProfiles:
        - Branch String:   'hfile_s3.c:1280,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_s3.c:1278,28'
          Dst:             curl_easy_strerror
        - Src:             'hfile_s3.c:1277,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1301,13'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1315,13'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1316,20'
          Dst:             http_status_errno
    - functionName:    curl_slist_free_all
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_free
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_initialize
      functionUses:    44
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:238,9'
          Dst:             ks_initialize
    - functionName:    ks_initialize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    http_status_errno
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1244
      functionLinenumberEnd: 1269
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         25
      ICount:          120
      EdgeCount:       27
      CyclomaticComplexity: 4
      functionsReached:
        - fprintf
      functionUses:    7
      BranchProfiles:
        - Branch String:   'hfile_s3.c:1249,9'
          Branch Sides:    []
        - Branch String:   'hfile_s3.c:1256,9'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_s3.c:1246,9'
          Dst:             fprintf
    - functionName:    add_header
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1390
      functionLinenumberEnd: 1400
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - curl_slist_append
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1394,16'
          Dst:             curl_slist_append
    - functionName:    curl_slist_append
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    update_time
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 969
      functionLinenumberEnd: 997
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          98
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - gmtime_r
        - ksprintf
        - strftime
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:973,21'
          Dst:             gmtime_r
        - Src:             'hfile_s3.c:982,13'
          Dst:             strftime
        - Src:             'hfile_s3.c:986,13'
          Dst:             strftime
        - Src:             'hfile_s3.c:991,9'
          Dst:             ksprintf
    - functionName:    refresh_auth_data
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 379
      functionLinenumberEnd: 393
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          60
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - getenv
        - ks_free
        - parse_ini
        - parse_rfc3339_date
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:382,21'
          Dst:             getenv
        - Src:             'hfile_s3.c:384,5'
          Dst:             parse_ini
        - Src:             'hfile_s3.c:390,33'
          Dst:             parse_rfc3339_date
        - Src:             'hfile_s3.c:392,5'
          Dst:             ks_free
    - functionName:    hash_string
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 837
      functionLinenumberEnd: 846
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          61
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - s3_sha256
        - snprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:841,5'
          Dst:             s3_sha256
        - Src:             'hfile_s3.c:844,9'
          Dst:             snprintf
    - functionName:    kputs
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - kputsn
        - strlen
      functionUses:    33
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:255,12'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:256,19'
          Dst:             strlen
        - Src:             './htslib/kstring.h:256,9'
          Dst:             kputsn
    - functionName:    order_query_string
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1010
      functionLinenumberEnd: 1053
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          148
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - escape_query
        - hts_malloc_p
        - kputs
        - ksplit
        - qsort
        - query_cmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1018,25'
          Dst:             ksplit
        - Src:             'hfile_s3.c:1022,20'
          Dst:             hts_malloc_p
        - Src:             'hfile_s3.c:1029,5'
          Dst:             qsort
        - Src:             'hfile_s3.c:1029,5'
          Dst:             query_cmp
        - Src:             'hfile_s3.c:1033,13'
          Dst:             kputs
        - Src:             'hfile_s3.c:1036,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:1039,20'
          Dst:             escape_query
        - Src:             'hfile_s3.c:1043,5'
          Dst:             kputs
    - functionName:    make_authorisation
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 885
      functionLinenumberEnd: 966
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          243
      EdgeCount:       41
      CyclomaticComplexity: 13
      functionsReached:
        - hash_string
        - kputs
        - ks_free
        - ksprintf
        - make_signature
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:900,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:902,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:911,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:914,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:923,5'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:931,5'
          Dst:             hash_string
        - Src:             'hfile_s3.c:933,5'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:939,5'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:945,9'
          Dst:             make_signature
        - Src:             'hfile_s3.c:949,5'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:959,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:960,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:961,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:962,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:963,5'
          Dst:             ks_free
    - functionName:    make_signature
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 849
      functionLinenumberEnd: 882
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          138
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - ks_free
        - ksprintf
        - s3_sign_sha256
        - snprintf
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:863,5'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:869,101'
          Dst:             strlen
        - Src:             'hfile_s3.c:869,5'
          Dst:             s3_sign_sha256
        - Src:             'hfile_s3.c:870,5'
          Dst:             s3_sign_sha256
        - Src:             'hfile_s3.c:871,5'
          Dst:             s3_sign_sha256
        - Src:             'hfile_s3.c:872,5'
          Dst:             s3_sign_sha256
        - Src:             'hfile_s3.c:873,5'
          Dst:             s3_sign_sha256
        - Src:             'hfile_s3.c:876,9'
          Dst:             snprintf
        - Src:             'hfile_s3.c:879,5'
          Dst:             ks_free
    - functionName:    s3_sign_sha256
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 160
      functionDepth:   0
      returnType:      void
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_sha256
        - HMAC
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:159,10'
          Dst:             EVP_sha256
        - Src:             'hfile_s3.c:159,5'
          Dst:             HMAC
    - functionName:    EVP_sha256
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    HMAC
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ksplit
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 454
      functionLinenumberEnd: 457
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ksplit_core
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:456,7'
          Dst:             ksplit_core
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    query_cmp
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1000
      functionLinenumberEnd: 1004
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1004,12'
          Dst:             strcmp
    - functionName:    escape_query
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 397
      functionLinenumberEnd: 422
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         41
      ICount:          210
      EdgeCount:       56
      CyclomaticComplexity: 17
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
        - snprintf
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:401,14'
          Dst:             strlen
        - Src:             'hfile_s3.c:402,28'
          Dst:             hts_prod_sat2
        - Src:             'hfile_s3.c:402,15'
          Dst:             hts_add_sat2
        - Src:             'hfile_s3.c:403,20'
          Dst:             hts_malloc
        - Src:             'hfile_s3.c:414,13'
          Dst:             snprintf
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    s3_sha256
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 155
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - SHA256
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:154,5'
          Dst:             SHA256
    - functionName:    SHA256
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    parse_ini
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 292
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         50
      ICount:          293
      EdgeCount:       66
      CyclomaticComplexity: 18
      functionsReached:
        - expand_tilde_open
        - fclose
        - isspace_c
        - kfgetline
        - kputs
        - strchr
        - strcmp
        - strpbrk
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:259,16'
          Dst:             expand_tilde_open
        - Src:             'hfile_s3.c:262,24'
          Dst:             kfgetline
        - Src:             'hfile_s3.c:263,38'
          Dst:             strchr
        - Src:             'hfile_s3.c:265,23'
          Dst:             strcmp
        - Src:             'hfile_s3.c:267,33'
          Dst:             strpbrk
        - Src:             'hfile_s3.c:271,20'
          Dst:             isspace_c
        - Src:             'hfile_s3.c:272,31'
          Dst:             isspace_c
        - Src:             'hfile_s3.c:275,20'
          Dst:             isspace_c
        - Src:             'hfile_s3.c:276,34'
          Dst:             isspace_c
        - Src:             'hfile_s3.c:282,21'
          Dst:             strcmp
        - Src:             'hfile_s3.c:284,21'
          Dst:             kputs
        - Src:             'hfile_s3.c:290,5'
          Dst:             fclose
    - functionName:    parse_rfc3339_date
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 335
      functionLinenumberEnd: 377
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         35
      ICount:          219
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - __isoc99_sscanf
        - hts_time_gm
      functionUses:    2
      BranchProfiles:
        - Branch String:   'hfile_s3.c:355,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_s3.c:347,11'
          Dst:             __isoc99_sscanf
        - Src:             'hfile_s3.c:363,15'
          Dst:             __isoc99_sscanf
        - Src:             'hfile_s3.c:375,12'
          Dst:             hts_time_gm
    - functionName:    hts_time_gm
      functionSourceFile: '/src/htslib/./hts_time_funcs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          114
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hts_leaps_to_year_start
        - hts_time_normalise_tm
        - hts_year_is_leap
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_time_funcs.h:146,9'
          Dst:             hts_time_normalise_tm
        - Src:             './hts_time_funcs.h:153,14'
          Dst:             hts_leaps_to_year_start
        - Src:             './hts_time_funcs.h:154,11'
          Dst:             hts_leaps_to_year_start
        - Src:             './hts_time_funcs.h:156,23'
          Dst:             hts_year_is_leap
        - Src:             './hts_time_funcs.h:168,5'
          Dst:             __errno_location
    - functionName:    hts_time_normalise_tm
      functionSourceFile: '/src/htslib/./hts_time_funcs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 120
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          242
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - hts_time_normalise
        - hts_year_is_leap
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_time_funcs.h:85,21'
          Dst:             hts_time_normalise
        - Src:             './hts_time_funcs.h:87,17'
          Dst:             hts_time_normalise
        - Src:             './hts_time_funcs.h:88,17'
          Dst:             hts_time_normalise
        - Src:             './hts_time_funcs.h:89,17'
          Dst:             hts_time_normalise
        - Src:             './hts_time_funcs.h:96,33'
          Dst:             hts_year_is_leap
        - Src:             './hts_time_funcs.h:99,33'
          Dst:             hts_year_is_leap
        - Src:             './hts_time_funcs.h:103,34'
          Dst:             hts_year_is_leap
    - functionName:    hts_leaps_to_year_start
      functionSourceFile: '/src/htslib/./hts_time_funcs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 69
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          17
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_year_is_leap
      functionSourceFile: '/src/htslib/./hts_time_funcs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          35
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_time_normalise
      functionSourceFile: '/src/htslib/./hts_time_funcs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 52
      functionLinenumberEnd: 61
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          104
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    expand_tilde_open
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 233
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fopen
        - getenv
        - kputs
        - strncmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:236,9'
          Dst:             strncmp
        - Src:             'hfile_s3.c:238,28'
          Dst:             getenv
        - Src:             'hfile_s3.c:241,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:242,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:244,14'
          Dst:             fopen
        - Src:             'hfile_s3.c:248,14'
          Dst:             fopen
    - functionName:    isspace_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:176,46'
          Dst:             __ctype_b_loc
    - functionName:    gmtime_r
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strftime
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_clear
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    complete_upload
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1588
      functionLinenumberEnd: 1654
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          222
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - easy_errno
        - kputs
        - ks_free
        - ksprintf
        - response_callback
        - set_common_easy_options
        - set_html_headers
        - v4_authorisation
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1596,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1598,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1603,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:1607,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1611,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1615,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1619,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:1621,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1623,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1624,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1625,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1625,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1626,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1627,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1628,12'
          Dst:             set_common_easy_options
        - Src:             'hfile_s3.c:1631,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1635,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1640,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1645,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1645,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1649,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1650,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1651,5'
          Dst:             curl_slist_free_all
    - functionName:    s3_write_close
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1800
      functionLinenumberEnd: 1882
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          247
      EdgeCount:       59
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - abort_upload
        - cleanup
        - complete_upload
        - curl_easy_getinfo
        - easy_errno
        - fprintf
        - get_entry
        - http_status_errno
        - ks_free
        - ksprintf
        - report_s3_error
        - strstr
        - upload_part
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1812,19'
          Dst:             upload_part
        - Src:             'hfile_s3.c:1817,24'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1820,29'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1820,21'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1823,29'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:1823,21'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1826,25'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1829,25'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1832,25'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1837,13'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1840,17'
          Dst:             abort_upload
        - Src:             'hfile_s3.c:1848,19'
          Dst:             complete_upload
        - Src:             'hfile_s3.c:1851,21'
          Dst:             strstr
        - Src:             'hfile_s3.c:1853,28'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1857,33'
          Dst:             report_s3_error
        - Src:             'hfile_s3.c:1858,33'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1862,33'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:1862,25'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1864,33'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1864,25'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1873,13'
          Dst:             abort_upload
        - Src:             'hfile_s3.c:1875,13'
          Dst:             cleanup
        - Src:             'hfile_s3.c:1879,5'
          Dst:             ks_free
    - functionName:    upload_part
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1675
      functionLinenumberEnd: 1737
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          222
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - easy_errno
        - ks_free
        - ksprintf
        - response_callback
        - set_common_easy_options
        - set_html_headers
        - upload_callback
        - v4_authorisation
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1683,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1685,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1689,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1693,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1698,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1702,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:1704,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1705,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1705,12'
          Dst:             upload_callback
        - Src:             'hfile_s3.c:1706,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1707,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1708,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1708,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1709,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1710,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1711,12'
          Dst:             set_common_easy_options
        - Src:             'hfile_s3.c:1714,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1718,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1723,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1728,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1728,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1732,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1733,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1734,5'
          Dst:             curl_slist_free_all
    - functionName:    abort_upload
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1523
      functionLinenumberEnd: 1584
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          179
      EdgeCount:       26
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - cleanup
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - easy_errno
        - ks_free
        - ksprintf
        - set_common_easy_options
        - set_html_headers
        - v4_authorisation
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1531,18'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1533,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1535,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1539,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1543,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1547,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1551,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:1553,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1554,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1555,12'
          Dst:             set_common_easy_options
        - Src:             'hfile_s3.c:1558,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1562,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1567,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1572,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1572,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1576,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1577,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1578,5'
          Dst:             curl_slist_free_all
        - Src:             'hfile_s3.c:1581,5'
          Dst:             cleanup
        - Src:             'hfile_s3.c:1583,5'
          Dst:             __errno_location
    - functionName:    report_s3_error
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1219
      functionLinenumberEnd: 1240
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          69
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - fprintf
        - get_entry
        - ks_clear
        - ks_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1222,9'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1226,5'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1228,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:1230,9'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1235,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1237,5'
          Dst:             ks_free
    - functionName:    cleanup
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1372
      functionLinenumberEnd: 1376
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cleanup_local
        - free_auth_data
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1374,5'
          Dst:             free_auth_data
        - Src:             'hfile_s3.c:1375,5'
          Dst:             cleanup_local
    - functionName:    free_auth_data
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 332
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          64
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cleanup_local
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1362
      functionLinenumberEnd: 1369
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - curl_easy_cleanup
        - free_authorisation_values
        - ks_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1363,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1364,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1365,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1366,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1367,5'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_s3.c:1368,5'
          Dst:             free_authorisation_values
    - functionName:    free_authorisation_values
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1164
      functionLinenumberEnd: 1171
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1165,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1166,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1167,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1168,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1169,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1170,5'
          Dst:             ks_free
    - functionName:    upload_callback
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1657
      functionLinenumberEnd: 1671
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          70
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    s3_read_close
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1995
      functionLinenumberEnd: 2000
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cleanup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1998,5'
          Dst:             cleanup
    - functionName:    s3_close
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2215
      functionLinenumberEnd: 2225
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - s3_read_close
        - s3_write_close
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2220,15'
          Dst:             s3_read_close
        - Src:             'hfile_s3.c:2222,15'
          Dst:             s3_write_close
    - functionName:    s3_seek
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2147
      functionLinenumberEnd: 2199
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          192
      EdgeCount:       36
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - ks_clear
      functionUses:    0
      BranchProfiles:
        - Branch String:   'hfile_s3.c:2158,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_s3.c:2153,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2164,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2168,17'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2175,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2182,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2195,9'
          Dst:             ks_clear
    - functionName:    s3_write
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1740
      functionLinenumberEnd: 1797
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          190
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - abort_upload
        - curl_easy_getinfo
        - easy_errno
        - fprintf
        - get_entry
        - http_status_errno
        - kputsn
        - ks_free
        - ksprintf
        - upload_part
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1745,9'
          Dst:             kputsn
        - Src:             'hfile_s3.c:1754,15'
          Dst:             upload_part
        - Src:             'hfile_s3.c:1760,20'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1763,25'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:1763,17'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1766,25'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:1766,17'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1769,21'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1770,21'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1773,21'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1776,21'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1781,9'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1784,13'
          Dst:             abort_upload
    - functionName:    s3_read
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2078
      functionLinenumberEnd: 2144
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          305
      EdgeCount:       58
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - curl_easy_getinfo
        - easy_errno
        - fprintf
        - get_part
        - http_status_errno
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2095,46'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2113,19'
          Dst:             get_part
        - Src:             'hfile_s3.c:2117,33'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2120,29'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:2120,21'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2123,29'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:2123,21'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2128,46'
          Dst:             fprintf
    - functionName:    get_part
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2004
      functionLinenumberEnd: 2074
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          287
      EdgeCount:       50
      CyclomaticComplexity: 15
      functionsReached:
        - __errno_location
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - easy_errno
        - fprintf
        - ks_clear
        - ksprintf
        - recv_callback
        - response_callback
        - set_common_easy_options
        - set_html_headers
        - v2_authorisation
        - v4_authorisation
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2010,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2011,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:2014,13'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:2018,42'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2020,13'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:2024,13'
          Dst:             v2_authorisation
        - Src:             'hfile_s3.c:2028,42'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2031,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:2036,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2037,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2040,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:2042,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:2043,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:2043,12'
          Dst:             recv_callback
        - Src:             'hfile_s3.c:2044,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:2045,12'
          Dst:             set_common_easy_options
        - Src:             'hfile_s3.c:2048,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:2048,16'
          Dst:             response_callback
        - Src:             'hfile_s3.c:2049,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:2053,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2057,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:2062,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:2067,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:2067,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2071,38'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2072,5'
          Dst:             curl_slist_free_all
    - functionName:    v2_authorisation
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 775
      functionLinenumberEnd: 829
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          194
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - base64_kput
        - gmtime_r
        - kputs
        - ksprintf
        - refresh_auth_data
        - s3_sign
        - strftime
        - time
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:777,18'
          Dst:             time
        - Src:             'hfile_s3.c:781,21'
          Dst:             gmtime_r
        - Src:             'hfile_s3.c:792,9'
          Dst:             refresh_auth_data
        - Src:             'hfile_s3.c:797,5'
          Dst:             strftime
        - Src:             'hfile_s3.c:799,5'
          Dst:             kputs
        - Src:             'hfile_s3.c:806,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:815,18'
          Dst:             s3_sign
        - Src:             'hfile_s3.c:817,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:820,5'
          Dst:             base64_kput
    - functionName:    recv_callback
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1980
      functionLinenumberEnd: 1992
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          59
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fprintf
        - kputsn
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1985,13'
          Dst:             kputsn
        - Src:             'hfile_s3.c:1986,13'
          Dst:             fprintf
    - functionName:    s3_sign
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 149
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_sha1
        - HMAC
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:147,10'
          Dst:             EVP_sha1
        - Src:             'hfile_s3.c:147,5'
          Dst:             HMAC
    - functionName:    base64_kput
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 183
      functionLinenumberEnd: 204
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          113
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - kputc
        - kputsn
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:199,9'
          Dst:             kputc
        - Src:             'hfile_s3.c:203,5'
          Dst:             kputsn
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    EVP_sha1
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    set_region
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1113
      functionLinenumberEnd: 1115
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - kputsn
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1115,12'
          Dst:             kputsn
    - functionName:    ispunct_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 175
      functionLinenumberEnd: 175
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:175,46'
          Dst:             __ctype_b_loc
    - functionName:    handle_bad_request
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1885
      functionLinenumberEnd: 1900
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          57
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fprintf
        - get_entry
        - ks_free
        - set_region
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1889,9'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1893,11'
          Dst:             set_region
        - Src:             'hfile_s3.c:1895,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1897,38'
          Dst:             fprintf
    - functionName:    redirect_endpoint
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 489
      functionLinenumberEnd: 543
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          258
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - fprintf
        - isalnum_c
        - ispunct_c
        - kputc
        - kputs
        - kputsn
        - ksprintf
        - strcspn
        - strlen
        - strstr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:497,23'
          Dst:             strstr
        - Src:             'hfile_s3.c:502,16'
          Dst:             isalnum_c
        - Src:             'hfile_s3.c:502,35'
          Dst:             ispunct_c
        - Src:             'hfile_s3.c:506,13'
          Dst:             strstr
        - Src:             'hfile_s3.c:508,13'
          Dst:             kputs
        - Src:             'hfile_s3.c:514,17'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:519,36'
          Dst:             strcspn
        - Src:             'hfile_s3.c:519,17'
          Dst:             kputsn
        - Src:             'hfile_s3.c:521,17'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:527,21'
          Dst:             kputs
        - Src:             'hfile_s3.c:528,21'
          Dst:             kputs
        - Src:             'hfile_s3.c:529,40'
          Dst:             strlen
        - Src:             'hfile_s3.c:529,21'
          Dst:             kputsn
        - Src:             'hfile_s3.c:535,17'
          Dst:             kputc
        - Src:             'hfile_s3.c:536,17'
          Dst:             kputsn
        - Src:             'hfile_s3.c:541,38'
          Dst:             fprintf
    - functionName:    isalnum_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:169,46'
          Dst:             __ctype_b_loc
    - functionName:    initialise_download
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2206
      functionLinenumberEnd: 2211
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_part
        - ks_clear
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2209,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2211,12'
          Dst:             get_part
    - functionName:    initialise_authorisation_values
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1144
      functionLinenumberEnd: 1151
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_initialize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1145,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1146,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1147,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1148,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1149,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1150,5'
          Dst:             ks_initialize
    - functionName:    initialise_local
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1354
      functionLinenumberEnd: 1359
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_initialize
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1355,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1356,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1357,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1358,5'
          Dst:             ks_initialize
    - functionName:    isxdigit_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 178
      functionLinenumberEnd: 178
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:178,47'
          Dst:             __ctype_b_loc
    - functionName:    isdigit_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:171,46'
          Dst:             __ctype_b_loc
    - functionName:    islower_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 173
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:173,46'
          Dst:             __ctype_b_loc
    - functionName:    kputsn_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:279,23'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:280,6'
          Dst:             ks_resize
    - functionName:    escape_path
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 425
      functionLinenumberEnd: 458
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         43
      ICount:          223
      EdgeCount:       58
      CyclomaticComplexity: 17
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
        - snprintf
        - strcpy
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:429,14'
          Dst:             strlen
        - Src:             'hfile_s3.c:430,28'
          Dst:             hts_prod_sat2
        - Src:             'hfile_s3.c:430,15'
          Dst:             hts_add_sat2
        - Src:             'hfile_s3.c:432,20'
          Dst:             hts_malloc
        - Src:             'hfile_s3.c:445,13'
          Dst:             snprintf
        - Src:             'hfile_s3.c:452,9'
          Dst:             strcpy
    - functionName:    is_escaped
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 461
      functionLinenumberEnd: 485
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         48
      ICount:          243
      EdgeCount:       66
      CyclomaticComplexity: 20
      functionsReached:
        - isxdigit_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:468,17'
          Dst:             isxdigit_c
        - Src:             'hfile_s3.c:468,37'
          Dst:             isxdigit_c
    - functionName:    is_dns_compliant
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 208
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          190
      EdgeCount:       56
      CyclomaticComplexity: 16
      functionsReached:
        - isalnum_c
        - isdigit_c
        - islower_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:213,13'
          Dst:             islower_c
        - Src:             'hfile_s3.c:219,18'
          Dst:             isdigit_c
        - Src:             'hfile_s3.c:223,30'
          Dst:             isalnum_c
        - Src:             'hfile_s3.c:224,34'
          Dst:             isalnum_c
    - functionName:    parse_simple
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 296
      functionLinenumberEnd: 317
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          95
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - expand_tilde_open
        - fclose
        - isspace_c
        - kfgetline
        - kputc
        - kputsn
        - strcspn
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:301,16'
          Dst:             expand_tilde_open
        - Src:             'hfile_s3.c:304,12'
          Dst:             kfgetline
        - Src:             'hfile_s3.c:305,9'
          Dst:             kputc
        - Src:             'hfile_s3.c:306,5'
          Dst:             fclose
        - Src:             'hfile_s3.c:309,12'
          Dst:             isspace_c
        - Src:             'hfile_s3.c:310,21'
          Dst:             strcspn
        - Src:             'hfile_s3.c:310,5'
          Dst:             kputsn
        - Src:             'hfile_s3.c:313,12'
          Dst:             isspace_c
        - Src:             'hfile_s3.c:314,15'
          Dst:             strcspn
        - Src:             'hfile_s3.c:314,5'
          Dst:             kputsn
    - functionName:    urldecode_kput
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 179
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          94
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - kputc
        - strtol
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:175,19'
          Dst:             strtol
        - Src:             'hfile_s3.c:175,13'
          Dst:             kputc
        - Src:             'hfile_s3.c:178,14'
          Dst:             kputc
    - functionName:    s3_write_open
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2234
      functionLinenumberEnd: 2364
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         63
      ICount:          371
      EdgeCount:       85
      CyclomaticComplexity: 24
      functionsReached:
        - __errno_location
        - atoi
        - cleanup_local
        - curl_easy_getinfo
        - curl_easy_init
        - easy_errno
        - fprintf
        - free_authorisation_values
        - get_upload_id
        - getenv
        - handle_bad_request
        - hfile_destroy
        - hfile_init
        - http_status_errno
        - initialise_authorisation_values
        - initialise_local
        - initialise_upload
        - kputs
        - ks_clear
        - ks_free
        - redirect_endpoint
        - report_s3_error
        - strchr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2245,22'
          Dst:             hfile_init
        - Src:             'hfile_s3.c:2251,21'
          Dst:             curl_easy_init
        - Src:             'hfile_s3.c:2252,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2258,5'
          Dst:             initialise_local
        - Src:             'hfile_s3.c:2259,5'
          Dst:             initialise_authorisation_values
        - Src:             'hfile_s3.c:2265,16'
          Dst:             getenv
        - Src:             'hfile_s3.c:2266,25'
          Dst:             atoi
        - Src:             'hfile_s3.c:2280,5'
          Dst:             kputs
        - Src:             'hfile_s3.c:2282,24'
          Dst:             strchr
        - Src:             'hfile_s3.c:2286,9'
          Dst:             initialise_upload
        - Src:             'hfile_s3.c:2289,12'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2293,17'
          Dst:             redirect_endpoint
        - Src:             'hfile_s3.c:2294,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2295,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2297,21'
          Dst:             initialise_upload
        - Src:             'hfile_s3.c:2301,17'
          Dst:             handle_bad_request
        - Src:             'hfile_s3.c:2302,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2303,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2305,21'
          Dst:             initialise_upload
        - Src:             'hfile_s3.c:2311,16'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2314,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:2314,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2323,21'
          Dst:             report_s3_error
        - Src:             'hfile_s3.c:2324,21'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2328,21'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:2328,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2330,21'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:2330,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2336,9'
          Dst:             get_upload_id
        - Src:             'hfile_s3.c:2339,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:2350,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2351,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2356,18'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2357,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2358,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2359,5'
          Dst:             cleanup_local
        - Src:             'hfile_s3.c:2360,5'
          Dst:             free_authorisation_values
        - Src:             'hfile_s3.c:2361,5'
          Dst:             hfile_destroy
        - Src:             'hfile_s3.c:2362,5'
          Dst:             __errno_location
    - functionName:    s3_read_open
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2367
      functionLinenumberEnd: 2487
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         56
      ICount:          352
      EdgeCount:       75
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - atoi
        - cleanup_local
        - curl_easy_getinfo
        - curl_easy_init
        - easy_errno
        - fprintf
        - free_authorisation_values
        - get_entry
        - getenv
        - handle_bad_request
        - hfile_destroy
        - hfile_init
        - http_status_errno
        - initialise_authorisation_values
        - initialise_download
        - initialise_local
        - kputs
        - ks_clear
        - ks_free
        - redirect_endpoint
        - report_s3_error
        - strchr
        - strtoll
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2376,22'
          Dst:             hfile_init
        - Src:             'hfile_s3.c:2382,21'
          Dst:             curl_easy_init
        - Src:             'hfile_s3.c:2383,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2389,5'
          Dst:             initialise_local
        - Src:             'hfile_s3.c:2390,5'
          Dst:             initialise_authorisation_values
        - Src:             'hfile_s3.c:2395,16'
          Dst:             getenv
        - Src:             'hfile_s3.c:2396,25'
          Dst:             atoi
        - Src:             'hfile_s3.c:2407,5'
          Dst:             kputs
        - Src:             'hfile_s3.c:2409,9'
          Dst:             initialise_download
        - Src:             'hfile_s3.c:2412,12'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2416,13'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2418,17'
          Dst:             redirect_endpoint
        - Src:             'hfile_s3.c:2419,21'
          Dst:             initialise_download
        - Src:             'hfile_s3.c:2423,13'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2425,17'
          Dst:             handle_bad_request
        - Src:             'hfile_s3.c:2426,21'
          Dst:             initialise_download
        - Src:             'hfile_s3.c:2432,16'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2435,17'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:2435,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2444,21'
          Dst:             report_s3_error
        - Src:             'hfile_s3.c:2445,21'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2449,21'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:2449,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2451,21'
          Dst:             easy_errno
        - Src:             'hfile_s3.c:2451,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2457,9'
          Dst:             get_entry
        - Src:             'hfile_s3.c:2458,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2462,18'
          Dst:             strchr
        - Src:             'hfile_s3.c:2463,29'
          Dst:             strtoll
        - Src:             'hfile_s3.c:2474,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2475,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2479,18'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2480,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2481,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2482,5'
          Dst:             cleanup_local
        - Src:             'hfile_s3.c:2483,5'
          Dst:             free_authorisation_values
        - Src:             'hfile_s3.c:2484,5'
          Dst:             hfile_destroy
        - Src:             'hfile_s3.c:2485,5'
          Dst:             __errno_location
    - functionName:    setup_auth_data
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 548
      functionLinenumberEnd: 772
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         133
      ICount:          966
      EdgeCount:       178
      CyclomaticComplexity: 47
      functionsReached:
        - calloc
        - escape_path
        - free_auth_data
        - getenv
        - is_dns_compliant
        - is_escaped
        - kputc
        - kputs
        - kputsn
        - kputsn_
        - ks_free
        - ksprintf
        - parse_ini
        - parse_rfc3339_date
        - parse_simple
        - strcasecmp
        - strchr
        - strcmp
        - strcspn
        - strncmp
        - strpbrk
        - strstr
        - urldecode_kput
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:549,24'
          Dst:             calloc
        - Src:             'hfile_s3.c:559,16'
          Dst:             strchr
        - Src:             'hfile_s3.c:565,18'
          Dst:             strchr
        - Src:             'hfile_s3.c:570,9'
          Dst:             kputsn
        - Src:             'hfile_s3.c:571,20'
          Dst:             strncmp
        - Src:             'hfile_s3.c:574,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:577,28'
          Dst:             kputc
        - Src:             'hfile_s3.c:579,21'
          Dst:             strcspn
        - Src:             'hfile_s3.c:582,29'
          Dst:             strpbrk
        - Src:             'hfile_s3.c:584,13'
          Dst:             urldecode_kput
        - Src:             'hfile_s3.c:587,34'
          Dst:             strpbrk
        - Src:             'hfile_s3.c:588,13'
          Dst:             urldecode_kput
        - Src:             'hfile_s3.c:589,13'
          Dst:             urldecode_kput
        - Src:             'hfile_s3.c:591,17'
          Dst:             urldecode_kput
        - Src:             'hfile_s3.c:595,25'
          Dst:             strcspn
        - Src:             'hfile_s3.c:600,18'
          Dst:             getenv
        - Src:             'hfile_s3.c:600,56'
          Dst:             kputs
        - Src:             'hfile_s3.c:601,18'
          Dst:             getenv
        - Src:             'hfile_s3.c:601,60'
          Dst:             kputs
        - Src:             'hfile_s3.c:602,18'
          Dst:             getenv
        - Src:             'hfile_s3.c:602,56'
          Dst:             kputs
        - Src:             'hfile_s3.c:603,18'
          Dst:             getenv
        - Src:             'hfile_s3.c:603,57'
          Dst:             kputs
        - Src:             'hfile_s3.c:604,18'
          Dst:             getenv
        - Src:             'hfile_s3.c:604,50'
          Dst:             kputs
        - Src:             'hfile_s3.c:606,18'
          Dst:             getenv
        - Src:             'hfile_s3.c:606,58'
          Dst:             kputs
        - Src:             'hfile_s3.c:607,23'
          Dst:             getenv
        - Src:             'hfile_s3.c:607,55'
          Dst:             kputs
        - Src:             'hfile_s3.c:608,14'
          Dst:             kputs
        - Src:             'hfile_s3.c:610,18'
          Dst:             getenv
        - Src:             'hfile_s3.c:611,17'
          Dst:             strcasecmp
        - Src:             'hfile_s3.c:613,24'
          Dst:             strcasecmp
        - Src:             'hfile_s3.c:622,25'
          Dst:             getenv
        - Src:             'hfile_s3.c:623,9'
          Dst:             parse_ini
        - Src:             'hfile_s3.c:633,17'
          Dst:             strcmp
        - Src:             'hfile_s3.c:635,24'
          Dst:             strcmp
        - Src:             'hfile_s3.c:647,37'
          Dst:             parse_rfc3339_date
        - Src:             'hfile_s3.c:650,9'
          Dst:             ks_free
        - Src:             'hfile_s3.c:651,9'
          Dst:             ks_free
        - Src:             'hfile_s3.c:656,25'
          Dst:             getenv
        - Src:             'hfile_s3.c:657,9'
          Dst:             parse_ini
        - Src:             'hfile_s3.c:667,17'
          Dst:             strstr
        - Src:             'hfile_s3.c:674,9'
          Dst:             ks_free
        - Src:             'hfile_s3.c:678,9'
          Dst:             parse_simple
        - Src:             'hfile_s3.c:687,25'
          Dst:             is_dns_compliant
        - Src:             'hfile_s3.c:691,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:694,12'
          Dst:             strcmp
        - Src:             'hfile_s3.c:698,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:702,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:704,10'
          Dst:             is_escaped
        - Src:             'hfile_s3.c:705,19'
          Dst:             escape_path
        - Src:             'hfile_s3.c:717,9'
          Dst:             kputsn_
        - Src:             'hfile_s3.c:718,9'
          Dst:             kputc
        - Src:             'hfile_s3.c:719,9'
          Dst:             kputsn
        - Src:             'hfile_s3.c:725,13'
          Dst:             kputsn
        - Src:             'hfile_s3.c:730,9'
          Dst:             kputsn
        - Src:             'hfile_s3.c:732,9'
          Dst:             kputc
        - Src:             'hfile_s3.c:733,9'
          Dst:             kputsn
        - Src:             'hfile_s3.c:736,5'
          Dst:             kputs
        - Src:             'hfile_s3.c:759,24'
          Dst:             strchr
        - Src:             'hfile_s3.c:760,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:770,5'
          Dst:             free_auth_data
    - functionName:    s3_open_v2
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2516
      functionLinenumberEnd: 2539
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          90
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - fprintf
        - free_auth_data
        - ks_free
        - s3_read_open
        - setup_auth_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2519,24'
          Dst:             setup_auth_data
        - Src:             'hfile_s3.c:2526,38'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2529,15'
          Dst:             s3_read_open
        - Src:             'hfile_s3.c:2531,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2534,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2536,9'
          Dst:             free_auth_data
    - functionName:    s3_open_v4
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2490
      functionLinenumberEnd: 2513
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          93
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - fprintf
        - free_auth_data
        - ks_free
        - s3_read_open
        - s3_write_open
        - setup_auth_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2493,24'
          Dst:             setup_auth_data
        - Src:             'hfile_s3.c:2500,38'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2503,15'
          Dst:             s3_read_open
        - Src:             'hfile_s3.c:2505,15'
          Dst:             s3_write_open
        - Src:             'hfile_s3.c:2508,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2510,9'
          Dst:             free_auth_data
    - functionName:    s3_exit
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2568
      functionLinenumberEnd: 2575
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - curl_global_cleanup
        - curl_share_cleanup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2569,9'
          Dst:             curl_share_cleanup
        - Src:             'hfile_s3.c:2574,5'
          Dst:             curl_global_cleanup
    - functionName:    share_unlock
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1139
      functionLinenumberEnd: 1141
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1140,5'
          Dst:             pthread_mutex_unlock
    - functionName:    share_lock
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1135
      functionLinenumberEnd: 1137
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pthread_mutex_lock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1136,5'
          Dst:             pthread_mutex_lock
    - functionName:    vhopen_s3
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2557
      functionLinenumberEnd: 2564
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hopen_s3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2562,10'
          Dst:             hopen_s3
    - functionName:    hopen_s3
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2543
      functionLinenumberEnd: 2552
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - getenv
        - s3_open_v2
        - s3_open_v4
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2546,9'
          Dst:             getenv
        - Src:             'hfile_s3.c:2547,14'
          Dst:             s3_open_v4
        - Src:             'hfile_s3.c:2549,14'
          Dst:             s3_open_v2
    - functionName:    hfile_plugin_init_s3
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2578
      functionLinenumberEnd: 2640
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          95
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - curl_global_cleanup
        - curl_global_init
        - curl_share_cleanup
        - curl_share_init
        - curl_share_setopt
        - curl_version_info
        - hfile_add_scheme_handler
        - hts_version
        - ksprintf
        - share_lock
        - share_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:2595,27'
          Dst:             hts_version
        - Src:             'hfile_s3.c:2602,11'
          Dst:             curl_global_init
        - Src:             'hfile_s3.c:2606,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2610,18'
          Dst:             curl_share_init
        - Src:             'hfile_s3.c:2613,9'
          Dst:             curl_global_cleanup
        - Src:             'hfile_s3.c:2614,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2618,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_s3.c:2618,14'
          Dst:             share_lock
        - Src:             'hfile_s3.c:2619,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_s3.c:2619,14'
          Dst:             share_unlock
        - Src:             'hfile_s3.c:2620,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_s3.c:2623,9'
          Dst:             curl_share_cleanup
        - Src:             'hfile_s3.c:2624,9'
          Dst:             curl_global_cleanup
        - Src:             'hfile_s3.c:2625,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2629,12'
          Dst:             curl_version_info
        - Src:             'hfile_s3.c:2630,5'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:2635,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_s3.c:2636,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_s3.c:2637,5'
          Dst:             hfile_add_scheme_handler
    - functionName:    fast_exp
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 353
      functionLinenumberEnd: 364
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          59
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_calloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 199
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          45
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:201,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:204,12'
          Dst:             calloc
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_calloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:228,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:229,12'
          Dst:             hts_calloc
    - functionName:    ksBM_prep
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 407
      functionLinenumberEnd: 448
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         59
      ICount:          400
      EdgeCount:       76
      CyclomaticComplexity: 19
      functionsReached:
        - calloc
        - hts_calloc_ps
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:411,9'
          Dst:             hts_calloc_ps
        - Src:             'kstring.c:418,15'
          Dst:             calloc
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kstrnstr
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 512
      functionLinenumberEnd: 524
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          116
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - boyer_moore
        - memchr
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:517,21'
          Dst:             memchr
        - Src:             'kstring.c:520,18'
          Dst:             strlen
        - Src:             'kstring.c:523,16'
          Dst:             boyer_moore
    - functionName:    boyer_moore
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 452
      functionLinenumberEnd: 495
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          291
      EdgeCount:       64
      CyclomaticComplexity: 18
      functionsReached:
        - karp_rabin
        - ksBM_prep
        - memchr
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:468,18'
          Dst:             memchr
        - Src:             'kstring.c:473,10'
          Dst:             ksBM_prep
        - Src:             'kstring.c:474,21'
          Dst:             karp_rabin
    - functionName:    karp_rabin
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 367
      functionLinenumberEnd: 398
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          190
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - fast_exp
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:373,20'
          Dst:             fast_exp
        - Src:             'kstring.c:393,8'
          Dst:             memcmp
    - functionName:    kstrstr
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 503
      functionLinenumberEnd: 509
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - boyer_moore
        - karp_rabin
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:504,18'
          Dst:             strlen
        - Src:             'kstring.c:506,34'
          Dst:             strlen
        - Src:             'kstring.c:506,17'
          Dst:             boyer_moore
        - Src:             'kstring.c:508,26'
          Dst:             strlen
        - Src:             'kstring.c:508,10'
          Dst:             karp_rabin
    - functionName:    kmemmem
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 498
      functionLinenumberEnd: 499
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - boyer_moore
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:499,9'
          Dst:             boyer_moore
    - functionName:    kgetline2
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 308
      functionLinenumberEnd: 340
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          233
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:322,8'
          Dst:             ks_resize
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    fgets_wrapper
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 296
      functionLinenumberEnd: 297
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fgets
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:297,12'
          Dst:             fgets
    - functionName:    fgets
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kfgetline
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 301
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          41
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fgets_wrapper
        - kgetline
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:304,12'
          Dst:             kgetline
        - Src:             'kstring.c:304,12'
          Dst:             fgets_wrapper
    - functionName:    kgetline
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 272
      functionLinenumberEnd: 292
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          226
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - ks_resize
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:277,8'
          Dst:             ks_resize
        - Src:             'kstring.c:281,11'
          Dst:             strlen
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    ksplit_core
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 269
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          389
      EdgeCount:       92
      CyclomaticComplexity: 23
      functionsReached:
        - __ctype_b_loc
        - hts_realloc_p
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:229,6'
          Dst:             strlen
        - Src:             'kstring.c:251,8'
          Dst:             __ctype_b_loc
        - Src:             'kstring.c:252,9'
          Dst:             __ctype_b_loc
        - Src:             'kstring.c:253,21'
          Dst:             hts_realloc_p
        - Src:             'kstring.c:255,9'
          Dst:             __ctype_b_loc
        - Src:             'kstring.c:260,51'
          Dst:             hts_realloc_p
    - functionName:    kstrtok
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          276
      EdgeCount:       57
      CyclomaticComplexity: 15
      functionsReached:
        - strchr
        - strlen
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:216,28'
          Dst:             strchr
        - Src:             'kstring.c:217,25'
          Dst:             strlen
    - functionName:    ksprintf
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - kvsprintf
      functionUses:    87
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:183,6'
          Dst:             kvsprintf
    - functionName:    kvsprintf
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 144
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          219
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - kputd
        - ks_resize
        - vsnprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:151,7'
          Dst:             kputd
        - Src:             'kstring.c:165,6'
          Dst:             vsnprintf
        - Src:             'kstring.c:168,7'
          Dst:             ks_resize
        - Src:             'kstring.c:171,7'
          Dst:             vsnprintf
    - functionName:    kputd
      functionSourceFile: '/src/htslib/kstring.c'
      linkageType:     InternalLinkage
      functionLinenumber: 39
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - double
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         68
      ICount:          489
      EdgeCount:       91
      CyclomaticComplexity: 25
      functionsReached:
        - kputc
        - kputsn
        - ks_resize
        - snprintf
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'kstring.c:44,4'
          Dst:             kputsn
        - Src:             'kstring.c:47,4'
          Dst:             kputsn
        - Src:             'kstring.c:53,3'
          Dst:             kputc
        - Src:             'kstring.c:58,7'
          Dst:             ks_resize
        - Src:             'kstring.c:61,12'
          Dst:             snprintf
        - Src:             'kstring.c:139,2'
          Dst:             kputsn
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    kputc
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    hclearerr
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_clear_private_data
      functionSourceFile: '/src/htslib/./bgzf_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          69
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './bgzf_internal.h:59,5'
          Dst:             __assert_fail
    - functionName:    kh_destroy_bgzf_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_gzip_compress
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 704
      functionLinenumberEnd: 723
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          102
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_zerr
        - deflate
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:712,15'
          Dst:             deflate
        - Src:             'bgzf.c:714,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:714,9'
          Dst:             hts_log
        - Src:             'bgzf.c:718,9'
          Dst:             hts_log
    - functionName:    bgzf_zerr
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 364
      functionLinenumberEnd: 398
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          95
      EdgeCount:       20
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - snprintf
        - strerror
      functionUses:    16
      BranchProfiles:
        - Branch String:   'bgzf.c:378,5'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:380,25'
          Dst:             __errno_location
        - Src:             'bgzf.c:380,16'
          Dst:             strerror
        - Src:             'bgzf.c:395,9'
          Dst:             snprintf
    - functionName:    hts_usleep
      functionSourceFile: '/src/htslib/./hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 160
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - nanosleep
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_internal.h:162,12'
          Dst:             nanosleep
    - functionName:    u32_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_encode_func
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1354
      functionLinenumberEnd: 1364
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          57
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_compress
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1358,15'
          Dst:             bgzf_compress
    - functionName:    bgzf_compress
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 642
      functionLinenumberEnd: 700
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          235
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - bgzf_zerr
        - crc32
        - deflate
        - deflateEnd
        - deflateInit2_
        - hts_log
        - packInt16
        - packInt32
        - u16_to_le
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:652,9'
          Dst:             u16_to_le
        - Src:             'bgzf.c:653,9'
          Dst:             u16_to_le
        - Src:             'bgzf.c:664,19'
          Dst:             deflateInit2_
        - Src:             'bgzf.c:666,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:666,13'
          Dst:             hts_log
        - Src:             'bgzf.c:669,20'
          Dst:             deflate
        - Src:             'bgzf.c:671,17'
          Dst:             deflateEnd
        - Src:             'bgzf.c:674,17'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:674,17'
          Dst:             hts_log
        - Src:             'bgzf.c:682,13'
          Dst:             deflateEnd
        - Src:             'bgzf.c:685,20'
          Dst:             deflateEnd
        - Src:             'bgzf.c:686,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:686,13'
          Dst:             hts_log
        - Src:             'bgzf.c:694,5'
          Dst:             packInt16
        - Src:             'bgzf.c:696,17'
          Dst:             crc32
        - Src:             'bgzf.c:696,11'
          Dst:             crc32
        - Src:             'bgzf.c:697,5'
          Dst:             packInt32
        - Src:             'bgzf.c:698,5'
          Dst:             packInt32
    - functionName:    u16_to_le
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 184
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - short
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    packInt16
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 314
      functionLinenumberEnd: 317
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    packInt32
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 325
      functionLinenumberEnd: 330
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          31
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_encode_level0_func
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1369
      functionLinenumberEnd: 1391
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          99
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_crc32
        - u16_to_le
        - u32_to_le
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1379,5'
          Dst:             u16_to_le
        - Src:             'bgzf.c:1383,5'
          Dst:             u16_to_le
        - Src:             'bgzf.c:1384,5'
          Dst:             u16_to_le
        - Src:             'bgzf.c:1387,11'
          Dst:             hts_crc32
        - Src:             'bgzf.c:1388,5'
          Dst:             u32_to_le
        - Src:             'bgzf.c:1389,5'
          Dst:             u32_to_le
    - functionName:    hts_crc32
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 637
      functionLinenumberEnd: 638
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - crc32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:638,12'
          Dst:             crc32
    - functionName:    bgzf_nul_func
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1414
      functionLinenumberEnd: 1414
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          7
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_mt_eof
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1586
      functionLinenumberEnd: 1594
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          35
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bgzf_check_EOF_common
        - pthread_cond_signal
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1589,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1590,15'
          Dst:             bgzf_check_EOF_common
        - Src:             'bgzf.c:1591,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1593,5'
          Dst:             pthread_cond_signal
    - functionName:    bgzf_check_EOF_common
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1563
      functionLinenumberEnd: 1581
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          99
      EdgeCount:       19
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - hclearerr
        - hread
        - hseek
        - htell
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1565,20'
          Dst:             htell
        - Src:             'bgzf.c:1566,9'
          Dst:             hseek
        - Src:             'bgzf.c:1567,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1567,32'
          Dst:             hclearerr
        - Src:             'bgzf.c:1574,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1574,32'
          Dst:             hclearerr
        - Src:             'bgzf.c:1578,10'
          Dst:             hread
        - Src:             'bgzf.c:1579,10'
          Dst:             hseek
        - Src:             'bgzf.c:1580,13'
          Dst:             memcmp
    - functionName:    htell
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 156
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          19
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hread
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          89
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hread2
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:257,56'
          Dst:             hread2
    - functionName:    bgzf_mt_seek
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1603
      functionLinenumberEnd: 1616
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          60
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - hseek
        - hts_tpool_process_reset
        - pthread_cond_signal
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1606,5'
          Dst:             hts_tpool_process_reset
        - Src:             'bgzf.c:1607,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1610,9'
          Dst:             hseek
        - Src:             'bgzf.c:1611,23'
          Dst:             __errno_location
        - Src:             'bgzf.c:1613,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1615,5'
          Dst:             pthread_cond_signal
    - functionName:    job_cleanup
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1346
      functionLinenumberEnd: 1352
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - pool_free
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1349,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1350,5'
          Dst:             pool_free
        - Src:             'bgzf.c:1351,5'
          Dst:             pthread_mutex_unlock
    - functionName:    bgzf_decode_func
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1397
      functionLinenumberEnd: 1407
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_uncompress
        - le_to_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1401,20'
          Dst:             le_to_u32
        - Src:             'bgzf.c:1402,15'
          Dst:             bgzf_uncompress
    - functionName:    le_to_u32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_uncompress
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 821
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          152
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - bgzf_zerr
        - crc32
        - hts_log
        - inflate
        - inflateEnd
        - inflateInit2_
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:792,15'
          Dst:             inflateInit2_
        - Src:             'bgzf.c:794,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:794,9'
          Dst:             hts_log
        - Src:             'bgzf.c:797,16'
          Dst:             inflate
        - Src:             'bgzf.c:798,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:798,9'
          Dst:             hts_log
        - Src:             'bgzf.c:799,20'
          Dst:             inflateEnd
        - Src:             'bgzf.c:800,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:800,13'
          Dst:             hts_log
        - Src:             'bgzf.c:804,16'
          Dst:             inflateEnd
        - Src:             'bgzf.c:805,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:805,9'
          Dst:             hts_log
        - Src:             'bgzf.c:810,26'
          Dst:             crc32
        - Src:             'bgzf.c:810,20'
          Dst:             crc32
        - Src:             'bgzf.c:816,9'
          Dst:             hts_log
    - functionName:    bgzf_idx_flush
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 291
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          322
      EdgeCount:       44
      CyclomaticComplexity: 11
      functionsReached:
        - __assert_fail
        - hts_idx_push
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:238,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:243,5'
          Dst:             __assert_fail
        - Src:             'bgzf.c:261,13'
          Dst:             __assert_fail
        - Src:             'bgzf.c:267,17'
          Dst:             hts_idx_push
        - Src:             'bgzf.c:269,17'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:277,13'
          Dst:             hts_idx_push
        - Src:             'bgzf.c:280,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:289,5'
          Dst:             pthread_mutex_unlock
    - functionName:    bgzf_index_grow
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 311
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          78
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - hts_realloc_p
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:303,27'
          Dst:             hts_realloc_p
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    kh_resize_bgzf_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          587
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:87,1'
          Dst:             __errno_location
        - Src:             'bgzf.c:87,1'
          Dst:             realloc
        - Src:             'bgzf.c:87,1'
          Dst:             realloc
        - Src:             'bgzf.c:87,1'
          Dst:             realloc
        - Src:             'bgzf.c:87,1'
          Dst:             realloc
    - functionName:    kh_put_bgzf_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          430
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - kh_resize_bgzf_cache
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:87,1'
          Dst:             kh_resize_bgzf_cache
        - Src:             'bgzf.c:87,1'
          Dst:             kh_resize_bgzf_cache
    - functionName:    kh_del_bgzf_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          65
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kh_get_bgzf_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          162
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    mode2level
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 444
      functionLinenumberEnd: 450
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          106
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - strchr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:449,9'
          Dst:             strchr
    - functionName:    ed_swap_8
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1610
      functionLinenumberEnd: 1613
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          28
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ed_swap_8p
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1616
      functionLinenumberEnd: 1618
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ed_swap_8
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts.h:1617,21'
          Dst:             ed_swap_8
    - functionName:    kh_init_bgzf_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:87,1'
          Dst:             calloc
    - functionName:    razf_info
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 333
      functionLinenumberEnd: 361
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          104
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - ed_is_big
        - ed_swap_8p
        - hread
        - hseek
        - hts_log
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:337,29'
          Dst:             strcmp
        - Src:             'bgzf.c:340,22'
          Dst:             hseek
        - Src:             'bgzf.c:341,9'
          Dst:             hread
        - Src:             'bgzf.c:341,39'
          Dst:             hread
        - Src:             'bgzf.c:342,10'
          Dst:             ed_is_big
        - Src:             'bgzf.c:342,23'
          Dst:             ed_swap_8p
        - Src:             'bgzf.c:342,43'
          Dst:             ed_swap_8p
        - Src:             'bgzf.c:345,5'
          Dst:             hts_log
        - Src:             'bgzf.c:356,5'
          Dst:             hts_log
    - functionName:    ed_is_big
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1586
      functionLinenumberEnd: 1588
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_hfile
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2653
      functionLinenumberEnd: 2654
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_utell
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2648
      functionLinenumberEnd: 2649
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_useek
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2579
      functionLinenumberEnd: 2645
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          406
      EdgeCount:       66
      CyclomaticComplexity: 19
      functionsReached:
        - __assert_fail
        - bgzf_read_block
        - bgzf_seek_common
        - hseek
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2593,13'
          Dst:             hseek
        - Src:             'bgzf.c:2601,13'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2626,9'
          Dst:             bgzf_seek_common
        - Src:             'bgzf.c:2629,10'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2641,9'
          Dst:             __assert_fail
    - functionName:    bgzf_read_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1022
      functionLinenumberEnd: 1263
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         126
      ICount:          1064
      EdgeCount:       175
      CyclomaticComplexity: 51
      functionsReached:
        - __errno_location
        - bgzf_htell
        - bgzf_index_add_block
        - bgzf_zerr
        - cache_block
        - calloc
        - check_header
        - hread
        - hts_log
        - hts_malloc_p
        - hts_tpool_delete_result
        - hts_tpool_next_result_wait
        - hts_tpool_result_data
        - inflateInit2_
        - inflate_block
        - inflate_gzip_block
        - load_block_from_cache
        - mt_destroy
        - pool_free
        - pthread_mutex_lock
        - pthread_mutex_unlock
        - strerror
        - unpackInt16
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1034,13'
          Dst:             hts_tpool_next_result_wait
        - Src:             'bgzf.c:1035,39'
          Dst:             hts_tpool_result_data
        - Src:             'bgzf.c:1039,42'
          Dst:             hts_malloc_p
        - Src:             'bgzf.c:1043,17'
          Dst:             mt_destroy
        - Src:             'bgzf.c:1047,13'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1056,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1059,13'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1066,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1076,13'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1090,17'
          Dst:             bgzf_index_add_block
        - Src:             'bgzf.c:1092,17'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1101,13'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1102,13'
          Dst:             pool_free
        - Src:             'bgzf.c:1103,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1112,9'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1123,21'
          Dst:             bgzf_htell
        - Src:             'bgzf.c:1128,17'
          Dst:             hread
        - Src:             'bgzf.c:1131,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1131,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1131,13'
          Dst:             strerror
        - Src:             'bgzf.c:1131,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1151,17'
          Dst:             inflate_gzip_block
        - Src:             'bgzf.c:1154,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1163,27'
          Dst:             load_block_from_cache
        - Src:             'bgzf.c:1168,17'
          Dst:             hread
        - Src:             'bgzf.c:1172,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1178,46'
          Dst:             check_header
        - Src:             'bgzf.c:1181,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1191,21'
          Dst:             hread
        - Src:             'bgzf.c:1194,41'
          Dst:             calloc
        - Src:             'bgzf.c:1196,23'
          Dst:             inflateInit2_
        - Src:             'bgzf.c:1199,17'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:1199,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1205,21'
          Dst:             inflate_gzip_block
        - Src:             'bgzf.c:1208,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1219,24'
          Dst:             unpackInt16
        - Src:             'bgzf.c:1222,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1230,17'
          Dst:             hread
        - Src:             'bgzf.c:1232,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1239,22'
          Dst:             inflate_block
        - Src:             'bgzf.c:1240,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:1240,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1248,25'
          Dst:             bgzf_htell
        - Src:             'bgzf.c:1255,13'
          Dst:             bgzf_index_add_block
        - Src:             'bgzf.c:1261,5'
          Dst:             cache_block
    - functionName:    bgzf_seek_common
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2198
      functionLinenumberEnd: 2260
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          202
      EdgeCount:       21
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - abort
        - hseek
        - hts_tpool_wake_dispatch
        - pthread_cond_signal
        - pthread_cond_wait
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:
        - Branch String:   'bgzf.c:2224,13'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:2213,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:2220,9'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2221,9'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'bgzf.c:2223,13'
          Dst:             pthread_cond_wait
        - Src:             'bgzf.c:2228,17'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2231,17'
          Dst:             abort
        - Src:             'bgzf.c:2239,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:2240,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2248,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2250,13'
          Dst:             hseek
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    mt_destroy
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1826
      functionLinenumberEnd: 1869
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          142
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - fflush
        - hts_tpool_destroy
        - hts_tpool_process_destroy
        - hts_tpool_process_is_shutdown
        - hts_tpool_wake_dispatch
        - pool_destroy
        - pool_free
        - pthread_cond_destroy
        - pthread_cond_signal
        - pthread_join
        - pthread_mutex_destroy
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1830,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1832,5'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1833,5'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'bgzf.c:1834,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1839,13'
          Dst:             hts_tpool_process_is_shutdown
        - Src:             'bgzf.c:1843,5'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1848,5'
          Dst:             pthread_join
        - Src:             'bgzf.c:1851,5'
          Dst:             pthread_mutex_destroy
        - Src:             'bgzf.c:1852,5'
          Dst:             pthread_mutex_destroy
        - Src:             'bgzf.c:1853,5'
          Dst:             pthread_mutex_destroy
        - Src:             'bgzf.c:1854,5'
          Dst:             pthread_cond_destroy
        - Src:             'bgzf.c:1856,9'
          Dst:             pool_free
        - Src:             'bgzf.c:1859,9'
          Dst:             hts_tpool_destroy
        - Src:             'bgzf.c:1861,5'
          Dst:             pool_destroy
        - Src:             'bgzf.c:1867,5'
          Dst:             fflush
    - functionName:    bgzf_index_add_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2394
      functionLinenumberEnd: 2401
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          73
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_index_grow
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2395,9'
          Dst:             bgzf_index_grow
    - functionName:    bgzf_htell
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1010
      functionLinenumberEnd: 1019
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          55
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - htell
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1012,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1014,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1017,16'
          Dst:             htell
    - functionName:    inflate_gzip_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 847
      functionLinenumberEnd: 910
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         48
      ICount:          314
      EdgeCount:       64
      CyclomaticComplexity: 18
      functionsReached:
        - bgzf_zerr
        - hpeek
        - hread
        - hts_log
        - inflate
        - inflateReset
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:861,23'
          Dst:             hread
        - Src:             'bgzf.c:875,19'
          Dst:             inflate
        - Src:             'bgzf.c:879,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:879,13'
          Dst:             hts_log
        - Src:             'bgzf.c:887,48'
          Dst:             hpeek
        - Src:             'bgzf.c:889,33'
          Dst:             inflateReset
        - Src:             'bgzf.c:891,21'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:891,21'
          Dst:             hts_log
        - Src:             'bgzf.c:902,13'
          Dst:             hts_log
    - functionName:    load_block_from_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 936
      functionLinenumberEnd: 955
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          114
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - exit
        - hseek
        - hts_log
        - kh_get_bgzf_cache
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:941,9'
          Dst:             kh_get_bgzf_cache
        - Src:             'bgzf.c:948,10'
          Dst:             hseek
        - Src:             'bgzf.c:951,9'
          Dst:             hts_log
        - Src:             'bgzf.c:952,9'
          Dst:             exit
    - functionName:    check_header
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 914
      functionLinenumberEnd: 920
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          108
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - unpackInt16
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:917,16'
          Dst:             unpackInt16
        - Src:             'bgzf.c:919,16'
          Dst:             unpackInt16
    - functionName:    unpackInt16
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 321
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inflate_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 826
      functionLinenumberEnd: 841
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          86
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_uncompress
        - le_to_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:828,20'
          Dst:             le_to_u32
        - Src:             'bgzf.c:829,15'
          Dst:             bgzf_uncompress
    - functionName:    cache_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 958
      functionLinenumberEnd: 1002
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          270
      EdgeCount:       48
      CyclomaticComplexity: 14
      functionsReached:
        - kh_del_bgzf_cache
        - kh_put_bgzf_cache
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:986,13'
          Dst:             kh_del_bgzf_cache
        - Src:             'bgzf.c:992,9'
          Dst:             kh_put_bgzf_cache
    - functionName:    bgzf_index_load
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2541
      functionLinenumberEnd: 2576
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          127
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - bgzf_index_load_hfile
        - get_name_suffix
        - hclose
        - hclose_abruptly
        - hopen
        - hts_log
        - strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2547,15'
          Dst:             get_name_suffix
        - Src:             'bgzf.c:2552,11'
          Dst:             hopen
        - Src:             'bgzf.c:2558,9'
          Dst:             bgzf_index_load_hfile
        - Src:             'bgzf.c:2560,9'
          Dst:             hclose
        - Src:             'bgzf.c:2571,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2571,9'
          Dst:             strerror
        - Src:             'bgzf.c:2571,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2573,14'
          Dst:             hclose_abruptly
    - functionName:    get_name_suffix
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2411
      functionLinenumberEnd: 2417
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - snprintf
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2412,18'
          Dst:             strlen
        - Src:             'bgzf.c:2412,34'
          Dst:             strlen
        - Src:             'bgzf.c:2415,5'
          Dst:             snprintf
    - functionName:    bgzf_index_load_hfile
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2507
      functionLinenumberEnd: 2538
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          205
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - calloc
        - hread_uint64
        - hts_log
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2508,27'
          Dst:             calloc
        - Src:             'bgzf.c:2511,9'
          Dst:             hread_uint64
        - Src:             'bgzf.c:2524,13'
          Dst:             hread_uint64
        - Src:             'bgzf.c:2525,13'
          Dst:             hread_uint64
        - Src:             'bgzf.c:2531,5'
          Dst:             __errno_location
        - Src:             'bgzf.c:2531,5'
          Dst:             strerror
        - Src:             'bgzf.c:2531,5'
          Dst:             hts_log
    - functionName:    hread_uint64
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2500
      functionLinenumberEnd: 2504
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ed_is_big
        - ed_swap_8p
        - hread
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2501,9'
          Dst:             hread
        - Src:             'bgzf.c:2502,9'
          Dst:             ed_is_big
        - Src:             'bgzf.c:2502,22'
          Dst:             ed_swap_8p
    - functionName:    bgzf_index_dump
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2454
      functionLinenumberEnd: 2497
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          140
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - bgzf_index_dump_hfile
        - get_name_suffix
        - hclose
        - hclose_abruptly
        - hopen
        - hts_log
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2460,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2461,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2467,15'
          Dst:             get_name_suffix
        - Src:             'bgzf.c:2472,11'
          Dst:             hopen
        - Src:             'bgzf.c:2478,9'
          Dst:             bgzf_index_dump_hfile
        - Src:             'bgzf.c:2480,9'
          Dst:             hclose
        - Src:             'bgzf.c:2492,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2492,9'
          Dst:             strerror
        - Src:             'bgzf.c:2492,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2494,14'
          Dst:             hclose_abruptly
    - functionName:    bgzf_index_dump_hfile
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2420
      functionLinenumberEnd: 2451
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          195
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - bgzf_flush
        - hts_log
        - hwrite_uint64
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2428,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2429,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2433,9'
          Dst:             bgzf_flush
        - Src:             'bgzf.c:2439,9'
          Dst:             hwrite_uint64
        - Src:             'bgzf.c:2443,13'
          Dst:             hwrite_uint64
        - Src:             'bgzf.c:2444,13'
          Dst:             hwrite_uint64
        - Src:             'bgzf.c:2449,5'
          Dst:             __errno_location
        - Src:             'bgzf.c:2449,5'
          Dst:             strerror
        - Src:             'bgzf.c:2449,5'
          Dst:             hts_log
    - functionName:    bgzf_flush
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1970
      functionLinenumberEnd: 2015
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         28
      ICount:          208
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - bgzf_index_add_block
        - bgzf_zerr
        - deflate_block
        - hflush
        - hts_log
        - hwrite
        - mt_flush_queue
        - mt_queue
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1975,37'
          Dst:             mt_queue
        - Src:             'bgzf.c:1976,25'
          Dst:             mt_flush_queue
        - Src:             'bgzf.c:1982,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1984,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1991,16'
          Dst:             hflush
        - Src:             'bgzf.c:1998,17'
          Dst:             bgzf_index_add_block
        - Src:             'bgzf.c:2002,24'
          Dst:             deflate_block
        - Src:             'bgzf.c:2004,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:2004,13'
          Dst:             hts_log
        - Src:             'bgzf.c:2007,13'
          Dst:             hwrite
        - Src:             'bgzf.c:2008,13'
          Dst:             hts_log
    - functionName:    hwrite_uint64
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2404
      functionLinenumberEnd: 2408
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          47
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ed_is_big
        - ed_swap_8
        - hwrite
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2405,9'
          Dst:             ed_is_big
        - Src:             'bgzf.c:2405,26'
          Dst:             ed_swap_8
        - Src:             'bgzf.c:2406,9'
          Dst:             hwrite
    - functionName:    hwrite
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          166
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - hfile_set_blksize
        - hwrite2
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:303,13'
          Dst:             hfile_set_blksize
        - Src:             './htslib/hfile.h:312,16'
          Dst:             hwrite2
        - Src:             './htslib/hfile.h:318,39'
          Dst:             hwrite2
    - functionName:    mt_queue
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1873
      functionLinenumberEnd: 1915
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          162
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - bgzf_encode_func
        - bgzf_encode_level0_func
        - hts_tpool_dispatch3
        - job_cleanup
        - pool_alloc
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1879,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1880,19'
          Dst:             pool_alloc
        - Src:             'bgzf.c:1882,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1891,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1891,13'
          Dst:             bgzf_encode_level0_func
        - Src:             'bgzf.c:1891,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1891,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1900,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1900,13'
          Dst:             bgzf_encode_func
        - Src:             'bgzf.c:1900,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1900,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1910,5'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1911,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1913,5'
          Dst:             pthread_mutex_unlock
    - functionName:    mt_flush_queue
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1918
      functionLinenumberEnd: 1945
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          94
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - hts_tpool_process_flush
        - hts_tpool_process_is_shutdown
        - hts_usleep
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1926,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1929,25'
          Dst:             hts_tpool_process_is_shutdown
        - Src:             'bgzf.c:1931,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1932,9'
          Dst:             hts_usleep
        - Src:             'bgzf.c:1933,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1935,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1941,9'
          Dst:             hts_tpool_process_flush
    - functionName:    deflate_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 727
      functionLinenumberEnd: 743
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          93
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_compress
        - bgzf_gzip_compress
        - hts_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:731,15'
          Dst:             bgzf_compress
        - Src:             'bgzf.c:733,15'
          Dst:             bgzf_gzip_compress
        - Src:             'bgzf.c:737,9'
          Dst:             hts_log
    - functionName:    bgzf_index_build_init
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2385
      functionLinenumberEnd: 2391
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_index_destroy
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2386,5'
          Dst:             bgzf_index_destroy
        - Src:             'bgzf.c:2387,27'
          Dst:             calloc
    - functionName:    bgzf_index_destroy
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2376
      functionLinenumberEnd: 2382
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ks_expand
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:183,28'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:184,12'
          Dst:             ks_resize
    - functionName:    bgzf_getline
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2339
      functionLinenumberEnd: 2373
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          331
      EdgeCount:       59
      CyclomaticComplexity: 17
      functionsReached:
        - bgzf_htell
        - bgzf_read_block
        - ks_expand
        - memchr
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2344,17'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2351,19'
          Dst:             memchr
        - Src:             'bgzf.c:2357,13'
          Dst:             ks_expand
        - Src:             'bgzf.c:2362,33'
          Dst:             bgzf_htell
    - functionName:    bgzf_getc
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2317
      functionLinenumberEnd: 2336
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          135
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - bgzf_htell
        - bgzf_read_block
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2325,13'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2330,29'
          Dst:             bgzf_htell
    - functionName:    bgzf_compression
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2312
      functionLinenumberEnd: 2313
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          29
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_is_bgzf
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2300
      functionLinenumberEnd: 2309
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          63
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - check_header
        - hclose
        - hopen
        - hread
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2304,15'
          Dst:             hopen
        - Src:             'bgzf.c:2305,9'
          Dst:             hread
        - Src:             'bgzf.c:2306,9'
          Dst:             hclose
        - Src:             'bgzf.c:2308,12'
          Dst:             check_header
    - functionName:    bgzf_ptell
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2290
      functionLinenumberEnd: 2296
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          34
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_pseek
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2283
      functionLinenumberEnd: 2285
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bgzf_seek
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2285,12'
          Dst:             bgzf_seek
    - functionName:    bgzf_seek
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2263
      functionLinenumberEnd: 2279
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          76
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - bgzf_seek_common
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2278,12'
          Dst:             bgzf_seek_common
    - functionName:    bgzf_check_EOF
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2153
      functionLinenumberEnd: 2194
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          169
      EdgeCount:       23
      CyclomaticComplexity: 4
      functionsReached:
        - abort
        - bgzf_check_EOF_common
        - hts_tpool_wake_dispatch
        - pthread_cond_signal
        - pthread_cond_wait
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    2
      BranchProfiles:
        - Branch String:   'bgzf.c:2172,13'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:2157,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:2163,9'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2164,9'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'bgzf.c:2168,17'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2171,13'
          Dst:             pthread_cond_wait
        - Src:             'bgzf.c:2176,17'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2181,17'
          Dst:             abort
        - Src:             'bgzf.c:2186,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2188,19'
          Dst:             bgzf_check_EOF_common
    - functionName:    bgzf_set_cache_size
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2148
      functionLinenumberEnd: 2151
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          52
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    free_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 923
      functionLinenumberEnd: 933
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          94
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - bgzf_clear_private_data
        - kh_destroy_bgzf_cache
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:929,9'
          Dst:             kh_destroy_bgzf_cache
        - Src:             'bgzf.c:931,5'
          Dst:             bgzf_clear_private_data
    - functionName:    bgzf_close_mt
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2092
      functionLinenumberEnd: 2099
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          61
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - mt_destroy
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2096,13'
          Dst:             mt_destroy
    - functionName:    bgzf_close
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2102
      functionLinenumberEnd: 2145
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         34
      ICount:          230
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - bgzf_close_mt
        - bgzf_flush
        - bgzf_index_destroy
        - bgzf_zerr
        - deflateEnd
        - deflate_block
        - free_cache
        - hclose
        - hflush
        - hts_log
        - hwrite
        - inflateEnd
      functionUses:    29
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2106,13'
          Dst:             bgzf_flush
        - Src:             'bgzf.c:2107,13'
          Dst:             bgzf_close_mt
        - Src:             'bgzf.c:2111,24'
          Dst:             deflate_block
        - Src:             'bgzf.c:2113,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:2113,13'
          Dst:             hts_log
        - Src:             'bgzf.c:2114,13'
          Dst:             bgzf_close_mt
        - Src:             'bgzf.c:2117,13'
          Dst:             hwrite
        - Src:             'bgzf.c:2118,16'
          Dst:             hflush
        - Src:             'bgzf.c:2119,13'
          Dst:             hts_log
        - Src:             'bgzf.c:2125,5'
          Dst:             bgzf_close_mt
        - Src:             'bgzf.c:2130,39'
          Dst:             inflateEnd
        - Src:             'bgzf.c:2131,20'
          Dst:             deflateEnd
        - Src:             'bgzf.c:2133,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:2133,13'
          Dst:             hts_log
        - Src:             'bgzf.c:2137,11'
          Dst:             hclose
        - Src:             'bgzf.c:2139,5'
          Dst:             bgzf_index_destroy
        - Src:             'bgzf.c:2141,5'
          Dst:             free_cache
    - functionName:    bgzf_raw_write
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2085
      functionLinenumberEnd: 2088
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hwrite
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2086,19'
          Dst:             hwrite
    - functionName:    bgzf_block_write
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2051
      functionLinenumberEnd: 2081
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          252
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - __assert_fail
        - hwrite
        - lazy_flush
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2056,16'
          Dst:             hwrite
        - Src:             'bgzf.c:2061,5'
          Dst:             __assert_fail
        - Src:             'bgzf.c:2075,17'
          Dst:             lazy_flush
    - functionName:    lazy_flush
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1948
      functionLinenumberEnd: 1953
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          46
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_flush
        - mt_queue
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1950,35'
          Dst:             mt_queue
        - Src:             'bgzf.c:1952,16'
          Dst:             bgzf_flush
    - functionName:    bgzf_write
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2024
      functionLinenumberEnd: 2048
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          173
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached:
        - __assert_fail
        - hwrite
        - lazy_flush
      functionUses:    40
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2029,16'
          Dst:             hwrite
        - Src:             'bgzf.c:2034,5'
          Dst:             __assert_fail
        - Src:             'bgzf.c:2044,17'
          Dst:             lazy_flush
    - functionName:    bgzf_flush_try
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2018
      functionLinenumberEnd: 2021
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - lazy_flush
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2019,59'
          Dst:             lazy_flush
    - functionName:    bgzf_mt
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1804
      functionLinenumberEnd: 1823
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          90
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - bgzf_thread_pool
        - hts_tpool_destroy
        - hts_tpool_init
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1810,20'
          Dst:             hts_tpool_init
        - Src:             'bgzf.c:1815,16'
          Dst:             bgzf_thread_pool
        - Src:             'bgzf.c:1816,9'
          Dst:             hts_tpool_destroy
    - functionName:    bgzf_thread_pool
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1760
      functionLinenumberEnd: 1801
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          167
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - calloc
        - hts_tpool_process_init
        - hts_tpool_process_ref_incr
        - hts_tpool_size
        - pool_create
        - pthread_cond_init
        - pthread_create
        - pthread_mutex_init
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1768,20'
          Dst:             calloc
        - Src:             'bgzf.c:1773,21'
          Dst:             hts_tpool_size
        - Src:             'bgzf.c:1776,27'
          Dst:             hts_tpool_process_init
        - Src:             'bgzf.c:1778,5'
          Dst:             hts_tpool_process_ref_incr
        - Src:             'bgzf.c:1780,20'
          Dst:             pool_create
        - Src:             'bgzf.c:1784,5'
          Dst:             pthread_mutex_init
        - Src:             'bgzf.c:1785,5'
          Dst:             pthread_mutex_init
        - Src:             'bgzf.c:1786,5'
          Dst:             pthread_mutex_init
        - Src:             'bgzf.c:1787,5'
          Dst:             pthread_cond_init
        - Src:             'bgzf.c:1792,5'
          Dst:             pthread_create
    - functionName:    bgzf_mt_writer
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1422
      functionLinenumberEnd: 1493
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         32
      ICount:          307
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - __assert_fail
        - bgzf_idx_flush
        - bgzf_index_grow
        - calloc
        - hflush
        - hts_tpool_delete_result
        - hts_tpool_next_result_wait
        - hts_tpool_process_destroy
        - hts_tpool_result_data
        - hwrite
        - pool_free
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1429,38'
          Dst:             calloc
        - Src:             'bgzf.c:1434,17'
          Dst:             hts_tpool_next_result_wait
        - Src:             'bgzf.c:1435,35'
          Dst:             hts_tpool_result_data
        - Src:             'bgzf.c:1436,9'
          Dst:             __assert_fail
        - Src:             'bgzf.c:1439,17'
          Dst:             bgzf_index_grow
        - Src:             'bgzf.c:1448,13'
          Dst:             bgzf_idx_flush
        - Src:             'bgzf.c:1451,13'
          Dst:             hwrite
        - Src:             'bgzf.c:1456,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1458,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1470,17'
          Dst:             hflush
        - Src:             'bgzf.c:1474,9'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1477,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1478,9'
          Dst:             pool_free
        - Src:             'bgzf.c:1480,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1483,9'
          Dst:             hflush
        - Src:             'bgzf.c:1486,5'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1491,5'
          Dst:             hts_tpool_process_destroy
    - functionName:    bgzf_mt_reader
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1618
      functionLinenumberEnd: 1758
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         43
      ICount:          368
      EdgeCount:       50
      CyclomaticComplexity: 9
      functionsReached:
        - bgzf_decode_func
        - bgzf_mt_eof
        - bgzf_mt_read_block
        - bgzf_mt_seek
        - bgzf_nul_func
        - hts_tpool_dispatch3
        - hts_tpool_process_destroy
        - hts_tpool_process_ref_decr
        - job_cleanup
        - pool_alloc
        - pthread_cond_signal
        - pthread_cond_wait
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:
        - Branch String:   'bgzf.c:1643,9'
          Branch Sides:    []
        - Branch String:   'bgzf.c:1722,9'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:1623,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1624,19'
          Dst:             pool_alloc
        - Src:             'bgzf.c:1625,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1633,12'
          Dst:             bgzf_mt_read_block
        - Src:             'bgzf.c:1635,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1635,13'
          Dst:             bgzf_decode_func
        - Src:             'bgzf.c:1635,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1635,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1637,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1642,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1645,13'
          Dst:             bgzf_mt_seek
        - Src:             'bgzf.c:1646,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1650,13'
          Dst:             bgzf_mt_eof
        - Src:             'bgzf.c:1655,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1659,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1660,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1661,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1667,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1670,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1671,13'
          Dst:             pool_alloc
        - Src:             'bgzf.c:1672,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1674,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1687,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1687,13'
          Dst:             bgzf_nul_func
        - Src:             'bgzf.c:1687,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1687,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1689,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1690,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1693,9'
          Dst:             hts_tpool_process_ref_decr
        - Src:             'bgzf.c:1702,9'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1702,9'
          Dst:             bgzf_nul_func
        - Src:             'bgzf.c:1702,9'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1702,9'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1704,9'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1705,9'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1709,9'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1719,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1721,13'
          Dst:             pthread_cond_wait
        - Src:             'bgzf.c:1724,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1728,13'
          Dst:             bgzf_mt_seek
        - Src:             'bgzf.c:1729,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1733,13'
          Dst:             bgzf_mt_eof
        - Src:             'bgzf.c:1734,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1739,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1740,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1744,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1745,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1746,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1752,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1754,5'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1755,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1756,5'
          Dst:             hts_tpool_process_destroy
    - functionName:    bgzf_mt_read_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1506
      functionLinenumberEnd: 1559
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          208
      EdgeCount:       33
      CyclomaticComplexity: 11
      functionsReached:
        - check_header
        - hpeek
        - hread
        - htell
        - load_block_from_cache
        - unpackInt16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1516,21'
          Dst:             htell
        - Src:             'bgzf.c:1520,27'
          Dst:             load_block_from_cache
        - Src:             'bgzf.c:1521,13'
          Dst:             hpeek
        - Src:             'bgzf.c:1525,42'
          Dst:             check_header
        - Src:             'bgzf.c:1535,13'
          Dst:             hread
        - Src:             'bgzf.c:1539,20'
          Dst:             unpackInt16
        - Src:             'bgzf.c:1547,13'
          Dst:             hread
    - functionName:    bgzf_raw_read
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1335
      functionLinenumberEnd: 1338
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hread
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1336,19'
          Dst:             hread
    - functionName:    bgzf_peek
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1318
      functionLinenumberEnd: 1332
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - bgzf_read_block
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1321,13'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:1322,13'
          Dst:             hts_log
    - functionName:    bgzf_read
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1266
      functionLinenumberEnd: 1315
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          261
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - __assert_fail
        - bgzf_htell
        - bgzf_read_block
        - hts_log
      functionUses:    33
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:1270,5'
          Dst:             __assert_fail
        - Src:             'bgzf.c:1275,23'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:1277,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1287,37'
          Dst:             bgzf_htell
        - Src:             'bgzf.c:1292,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1307,33'
          Dst:             bgzf_htell
    - functionName:    bgzf_hopen
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 557
      functionLinenumberEnd: 571
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          92
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - bgzf_read_init
        - bgzf_write_init
        - ed_is_big
        - strchr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:559,9'
          Dst:             strchr
        - Src:             'bgzf.c:560,14'
          Dst:             bgzf_read_init
        - Src:             'bgzf.c:562,16'
          Dst:             strchr
        - Src:             'bgzf.c:562,37'
          Dst:             strchr
        - Src:             'bgzf.c:563,14'
          Dst:             bgzf_write_init
        - Src:             'bgzf.c:566,12'
          Dst:             __errno_location
        - Src:             'bgzf.c:569,17'
          Dst:             ed_is_big
    - functionName:    bgzf_read_init
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 401
      functionLinenumberEnd: 440
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          258
      EdgeCount:       44
      CyclomaticComplexity: 14
      functionsReached:
        - __errno_location
        - calloc
        - hpeek
        - hts_log
        - hts_malloc_p
        - kh_init_bgzf_cache
        - memcmp
        - razf_info
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:404,17'
          Dst:             hpeek
        - Src:             'bgzf.c:407,17'
          Dst:             calloc
        - Src:             'bgzf.c:411,30'
          Dst:             hts_malloc_p
        - Src:             'bgzf.c:415,60'
          Dst:             memcmp
        - Src:             'bgzf.c:416,46'
          Dst:             memcmp
        - Src:             'bgzf.c:417,9'
          Dst:             hts_log
        - Src:             'bgzf.c:418,9'
          Dst:             razf_info
        - Src:             'bgzf.c:421,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:430,26'
          Dst:             kh_init_bgzf_cache
    - functionName:    bgzf_write_init
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 453
      functionLinenumberEnd: 510
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          254
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - __errno_location
        - bgzf_zerr
        - calloc
        - deflateInit2_
        - hts_log
        - hts_malloc_p
        - mode2level
        - strchr
        - strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:455,17'
          Dst:             calloc
        - Src:             'bgzf.c:467,26'
          Dst:             mode2level
        - Src:             'bgzf.c:475,30'
          Dst:             hts_malloc_p
        - Src:             'bgzf.c:481,10'
          Dst:             strchr
        - Src:             'bgzf.c:485,36'
          Dst:             calloc
        - Src:             'bgzf.c:491,19'
          Dst:             deflateInit2_
        - Src:             'bgzf.c:493,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:493,13'
          Dst:             hts_log
        - Src:             'bgzf.c:500,5'
          Dst:             __errno_location
        - Src:             'bgzf.c:500,5'
          Dst:             strerror
        - Src:             'bgzf.c:500,5'
          Dst:             hts_log
    - functionName:    bgzf_dopen
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 535
      functionLinenumberEnd: 554
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          122
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - bgzf_read_init
        - bgzf_write_init
        - ed_is_big
        - hclose_abruptly
        - hdopen
        - strchr
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:537,9'
          Dst:             strchr
        - Src:             'bgzf.c:539,20'
          Dst:             hdopen
        - Src:             'bgzf.c:540,14'
          Dst:             bgzf_read_init
        - Src:             'bgzf.c:541,24'
          Dst:             hclose_abruptly
        - Src:             'bgzf.c:543,16'
          Dst:             strchr
        - Src:             'bgzf.c:543,37'
          Dst:             strchr
        - Src:             'bgzf.c:545,20'
          Dst:             hdopen
        - Src:             'bgzf.c:546,14'
          Dst:             bgzf_write_init
        - Src:             'bgzf.c:550,12'
          Dst:             __errno_location
        - Src:             'bgzf.c:552,17'
          Dst:             ed_is_big
    - functionName:    bgzf_open
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 513
      functionLinenumberEnd: 532
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          123
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - bgzf_read_init
        - bgzf_write_init
        - ed_is_big
        - hclose_abruptly
        - hopen
        - strchr
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:515,9'
          Dst:             strchr
        - Src:             'bgzf.c:517,20'
          Dst:             hopen
        - Src:             'bgzf.c:518,14'
          Dst:             bgzf_read_init
        - Src:             'bgzf.c:519,24'
          Dst:             hclose_abruptly
        - Src:             'bgzf.c:521,16'
          Dst:             strchr
        - Src:             'bgzf.c:521,37'
          Dst:             strchr
        - Src:             'bgzf.c:523,20'
          Dst:             hopen
        - Src:             'bgzf.c:524,14'
          Dst:             bgzf_write_init
        - Src:             'bgzf.c:528,12'
          Dst:             __errno_location
        - Src:             'bgzf.c:530,17'
          Dst:             ed_is_big
    - functionName:    bgzf_idx_push
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 227
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - size_t
        - size_t
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          178
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - hts_idx_check_range
        - hts_idx_push
        - hts_realloc_p
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:195,16'
          Dst:             hts_idx_push
        - Src:             'bgzf.c:198,9'
          Dst:             hts_idx_check_range
        - Src:             'bgzf.c:201,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:208,19'
          Dst:             hts_realloc_p
        - Src:             'bgzf.c:209,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:224,5'
          Dst:             pthread_mutex_unlock
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bgzf_read_small
      functionSourceFile: '/src/htslib/./htslib/bgzf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          93
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_read
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/bgzf.h:168,16'
          Dst:             bgzf_read
    - functionName:    hts_add_sat3
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:55,25'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:55,12'
          Dst:             hts_add_sat2
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    isspace_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:176,46'
          Dst:             __ctype_b_loc
    - functionName:    hgetln
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 198
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hgetdelim
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:198,12'
          Dst:             hgetdelim
    - functionName:    fai_read
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 414
      functionLinenumberEnd: 480
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          243
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - __isoc99_sscanf
        - calloc
        - fai_destroy
        - fai_insert_index
        - hgetln
        - hts_log
        - isspace_c
        - kh_init_s
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:419,21'
          Dst:             calloc
        - Src:             'faidx.c:422,17'
          Dst:             kh_init_s
        - Src:             'faidx.c:425,18'
          Dst:             calloc
        - Src:             'faidx.c:428,17'
          Dst:             hgetln
        - Src:             'faidx.c:435,30'
          Dst:             isspace_c
        - Src:             'faidx.c:442,17'
          Dst:             __isoc99_sscanf
        - Src:             'faidx.c:445,17'
          Dst:             hts_log
        - Src:             'faidx.c:449,17'
          Dst:             __isoc99_sscanf
        - Src:             'faidx.c:453,21'
          Dst:             hts_log
        - Src:             'faidx.c:455,21'
          Dst:             hts_log
        - Src:             'faidx.c:462,13'
          Dst:             fai_insert_index
        - Src:             'faidx.c:470,9'
          Dst:             __errno_location
        - Src:             'faidx.c:470,9'
          Dst:             strerror
        - Src:             'faidx.c:470,9'
          Dst:             hts_log
        - Src:             'faidx.c:478,5'
          Dst:             fai_destroy
    - functionName:    kh_init_s
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:80,1'
          Dst:             calloc
    - functionName:    fai_insert_index
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 98
      functionLinenumberEnd: 159
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          265
      EdgeCount:       44
      CyclomaticComplexity: 14
      functionsReached:
        - __errno_location
        - hts_log
        - hts_realloc_p
        - kh_put_s
        - strdup
        - strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:100,9'
          Dst:             hts_log
        - Src:             'faidx.c:104,9'
          Dst:             hts_log
        - Src:             'faidx.c:108,9'
          Dst:             hts_log
        - Src:             'faidx.c:113,9'
          Dst:             hts_log
        - Src:             'faidx.c:122,24'
          Dst:             hts_realloc_p
        - Src:             'faidx.c:123,13'
          Dst:             hts_log
        - Src:             'faidx.c:130,22'
          Dst:             strdup
        - Src:             'faidx.c:132,9'
          Dst:             __errno_location
        - Src:             'faidx.c:132,9'
          Dst:             strerror
        - Src:             'faidx.c:132,9'
          Dst:             hts_log
        - Src:             'faidx.c:137,17'
          Dst:             kh_put_s
        - Src:             'faidx.c:139,9'
          Dst:             __errno_location
        - Src:             'faidx.c:139,9'
          Dst:             strerror
        - Src:             'faidx.c:139,9'
          Dst:             hts_log
        - Src:             'faidx.c:144,9'
          Dst:             hts_log
    - functionName:    fai_destroy
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 483
      functionLinenumberEnd: 491
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          74
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - bgzf_close
        - kh_destroy_s
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:488,5'
          Dst:             kh_destroy_s
        - Src:             'faidx.c:489,20'
          Dst:             bgzf_close
    - functionName:    kh_destroy_s
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    kh_put_s
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          425
      EdgeCount:       62
      CyclomaticComplexity: 17
      functionsReached:
        - __ac_FNV1a_hash_string
        - kh_resize_s
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:80,1'
          Dst:             kh_resize_s
        - Src:             'faidx.c:80,1'
          Dst:             kh_resize_s
        - Src:             'faidx.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'faidx.c:80,1'
          Dst:             strcmp
    - functionName:    kh_resize_s
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          581
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __ac_FNV1a_hash_string
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:80,1'
          Dst:             __errno_location
        - Src:             'faidx.c:80,1'
          Dst:             realloc
        - Src:             'faidx.c:80,1'
          Dst:             realloc
        - Src:             'faidx.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'faidx.c:80,1'
          Dst:             realloc
        - Src:             'faidx.c:80,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          37
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             './htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hputs
      functionSourceFile: '/src/htslib/./htslib/hfile.h'
      linkageType:     InternalLinkage
      functionLinenumber: 276
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          76
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - hputs2
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hfile.h:280,21'
          Dst:             strlen
        - Src:             './htslib/hfile.h:284,31'
          Dst:             hputs2
    - functionName:    ks_resize
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:169,19'
          Dst:             realloc
    - functionName:    isgraph_
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 49
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          25
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kputsn
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:245,24'
          Dst:             __errno_location
        - Src:             './htslib/kstring.h:246,6'
          Dst:             ks_resize
    - functionName:    kputc_
      functionSourceFile: '/src/htslib/./htslib/kstring.h'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ks_resize
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:270,6'
          Dst:             ks_resize
    - functionName:    bgzf_getc_
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 67
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          57
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bgzf_getc
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:66,12'
          Dst:             bgzf_getc
    - functionName:    fai_save
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 384
      functionLinenumberEnd: 410
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          151
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - __assert_fail
        - hputs
        - kh_get_s
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:391,13'
          Dst:             kh_get_s
        - Src:             'faidx.c:392,9'
          Dst:             __assert_fail
        - Src:             'faidx.c:396,13'
          Dst:             snprintf
        - Src:             'faidx.c:400,13'
          Dst:             snprintf
        - Src:             'faidx.c:406,13'
          Dst:             hputs
        - Src:             'faidx.c:407,13'
          Dst:             hputs
    - functionName:    kh_get_s
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          164
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ac_FNV1a_hash_string
        - strcmp
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:80,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'faidx.c:80,1'
          Dst:             strcmp
    - functionName:    fai_build_core
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 162
      functionLinenumberEnd: 381
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         158
      ICount:          813
      EdgeCount:       206
      CyclomaticComplexity: 50
      functionsReached:
        - __ctype_b_loc
        - bgzf_getc_
        - bgzf_utell
        - calloc
        - fai_destroy
        - fai_insert_index
        - hts_log
        - isgraph_
        - kh_init_s
        - kputc_
        - kputsn
      functionUses:    1
      BranchProfiles:
        - Branch String:   'faidx.c:179,9'
          Branch Sides:    []
        - Branch String:   'faidx.c:181,17'
          Branch Sides:    []
      Callsites:
        - Src:             'faidx.c:171,21'
          Dst:             calloc
        - Src:             'faidx.c:172,17'
          Dst:             kh_init_s
        - Src:             'faidx.c:178,17'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:184,29'
          Dst:             hts_log
        - Src:             'faidx.c:194,29'
          Dst:             hts_log
        - Src:             'faidx.c:204,34'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:207,29'
          Dst:             hts_log
        - Src:             'faidx.c:219,25'
          Dst:             __ctype_b_loc
        - Src:             'faidx.c:219,25'
          Dst:             hts_log
        - Src:             'faidx.c:227,25'
          Dst:             fai_insert_index
        - Src:             'faidx.c:236,26'
          Dst:             __ctype_b_loc
        - Src:             'faidx.c:237,29'
          Dst:             kputc_
        - Src:             'faidx.c:242,31'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:244,21'
          Dst:             kputsn
        - Src:             'faidx.c:248,21'
          Dst:             hts_log
        - Src:             'faidx.c:253,44'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:256,30'
          Dst:             bgzf_utell
        - Src:             'faidx.c:273,52'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:274,39'
          Dst:             bgzf_utell
        - Src:             'faidx.c:278,25'
          Dst:             hts_log
        - Src:             'faidx.c:289,25'
          Dst:             isgraph_
        - Src:             'faidx.c:290,31'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:305,21'
          Dst:             hts_log
        - Src:             'faidx.c:315,33'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:316,35'
          Dst:             bgzf_utell
        - Src:             'faidx.c:319,21'
          Dst:             hts_log
        - Src:             'faidx.c:327,25'
          Dst:             hts_log
        - Src:             'faidx.c:343,25'
          Dst:             isgraph_
        - Src:             'faidx.c:344,31'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:349,21'
          Dst:             hts_log
        - Src:             'faidx.c:354,21'
          Dst:             hts_log
        - Src:             'faidx.c:357,21'
          Dst:             hts_log
        - Src:             'faidx.c:367,13'
          Dst:             fai_insert_index
        - Src:             'faidx.c:370,9'
          Dst:             hts_log
        - Src:             'faidx.c:379,5'
          Dst:             fai_destroy
    - functionName:    fai_path
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1076
      functionLinenumberEnd: 1104
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          111
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - fai_build3
        - hisremote
        - hts_idx_check_local
        - hts_idx_locatefn
        - hts_log
        - strdup
        - strstr
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1079,9'
          Dst:             hts_log
        - Src:             'faidx.c:1081,31'
          Dst:             strstr
        - Src:             'faidx.c:1084,19'
          Dst:             strdup
        - Src:             'faidx.c:1086,17'
          Dst:             hts_log
        - Src:             'faidx.c:1088,17'
          Dst:             hisremote
        - Src:             'faidx.c:1089,23'
          Dst:             hts_idx_locatefn
        - Src:             'faidx.c:1091,21'
          Dst:             hts_log
        - Src:             'faidx.c:1093,21'
          Dst:             hts_idx_check_local
        - Src:             'faidx.c:1094,25'
          Dst:             fai_build3
        - Src:             'faidx.c:1095,25'
          Dst:             hts_log
    - functionName:    fai_build3
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 591
      functionLinenumberEnd: 592
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fai_build3_core
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:592,12'
          Dst:             fai_build3_core
    - functionName:    fai_build3_core
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 495
      functionLinenumberEnd: 588
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          289
      EdgeCount:       62
      CyclomaticComplexity: 19
      functionsReached:
        - __errno_location
        - bgzf_close
        - bgzf_index_build_init
        - bgzf_index_dump
        - bgzf_open
        - fai_build_core
        - fai_destroy
        - fai_save
        - hclose
        - hopen
        - hts_log
        - ksprintf
        - strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:504,12'
          Dst:             bgzf_open
        - Src:             'faidx.c:507,9'
          Dst:             __errno_location
        - Src:             'faidx.c:507,9'
          Dst:             strerror
        - Src:             'faidx.c:507,9'
          Dst:             hts_log
        - Src:             'faidx.c:512,13'
          Dst:             bgzf_index_build_init
        - Src:             'faidx.c:513,13'
          Dst:             hts_log
        - Src:             'faidx.c:518,11'
          Dst:             fai_build_core
        - Src:             'faidx.c:522,13'
          Dst:             hts_log
        - Src:             'faidx.c:534,13'
          Dst:             ksprintf
        - Src:             'faidx.c:539,13'
          Dst:             ksprintf
        - Src:             'faidx.c:544,13'
          Dst:             bgzf_index_dump
        - Src:             'faidx.c:545,13'
          Dst:             hts_log
        - Src:             'faidx.c:550,11'
          Dst:             bgzf_close
        - Src:             'faidx.c:554,9'
          Dst:             __errno_location
        - Src:             'faidx.c:554,9'
          Dst:             strerror
        - Src:             'faidx.c:554,9'
          Dst:             hts_log
        - Src:             'faidx.c:558,10'
          Dst:             hopen
        - Src:             'faidx.c:561,9'
          Dst:             __errno_location
        - Src:             'faidx.c:561,9'
          Dst:             strerror
        - Src:             'faidx.c:561,9'
          Dst:             hts_log
        - Src:             'faidx.c:565,9'
          Dst:             fai_save
        - Src:             'faidx.c:566,9'
          Dst:             __errno_location
        - Src:             'faidx.c:566,9'
          Dst:             strerror
        - Src:             'faidx.c:566,9'
          Dst:             hts_log
        - Src:             'faidx.c:570,9'
          Dst:             hclose
        - Src:             'faidx.c:571,9'
          Dst:             __errno_location
        - Src:             'faidx.c:571,9'
          Dst:             strerror
        - Src:             'faidx.c:571,9'
          Dst:             hts_log
        - Src:             'faidx.c:577,5'
          Dst:             fai_destroy
        - Src:             'faidx.c:581,18'
          Dst:             __errno_location
        - Src:             'faidx.c:584,5'
          Dst:             bgzf_close
        - Src:             'faidx.c:585,5'
          Dst:             fai_destroy
        - Src:             'faidx.c:586,5'
          Dst:             __errno_location
    - functionName:    fai_thread_pool
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1072
      functionLinenumberEnd: 1073
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bgzf_thread_pool
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1073,12'
          Dst:             bgzf_thread_pool
    - functionName:    fai_set_cache_size
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1067
      functionLinenumberEnd: 1069
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bgzf_set_cache_size
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1068,5'
          Dst:             bgzf_set_cache_size
    - functionName:    fai_name2id
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 91
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          53
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_get_s
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:93,17'
          Dst:             kh_get_s
    - functionName:    fai_parse_region
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1063
      functionLinenumberEnd: 1064
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fai_name2id
        - hts_parse_region
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1064,12'
          Dst:             hts_parse_region
        - Src:             'faidx.c:1064,12'
          Dst:             fai_name2id
    - functionName:    faidx_has_seq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1054
      functionLinenumberEnd: 1058
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_get_s
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1055,21'
          Dst:             kh_get_s
    - functionName:    faidx_fetch_qual
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1046
      functionLinenumberEnd: 1050
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - faidx_fetch_qual64
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1048,17'
          Dst:             faidx_fetch_qual64
    - functionName:    faidx_fetch_qual64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1033
      functionLinenumberEnd: 1043
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - fai_retrieve
        - faidx_adjust_position
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1037,9'
          Dst:             faidx_adjust_position
        - Src:             'faidx.c:1042,12'
          Dst:             fai_retrieve
    - functionName:    faidx_adjust_position
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 956
      functionLinenumberEnd: 989
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          174
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - hts_log
        - kh_get_s
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:961,12'
          Dst:             kh_get_s
        - Src:             'faidx.c:966,9'
          Dst:             hts_log
    - functionName:    fai_retrieve
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 751
      functionLinenumberEnd: 832
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          297
      EdgeCount:       40
      CyclomaticComplexity: 13
      functionsReached:
        - bgzf_read_small
        - bgzf_useek
        - hts_add_sat3
        - hts_log
        - hts_malloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:757,9'
          Dst:             hts_log
        - Src:             'faidx.c:763,9'
          Dst:             hts_log
        - Src:             'faidx.c:770,11'
          Dst:             bgzf_useek
        - Src:             'faidx.c:777,9'
          Dst:             hts_log
        - Src:             'faidx.c:782,25'
          Dst:             hts_add_sat3
        - Src:             'faidx.c:782,14'
          Dst:             hts_malloc
        - Src:             'faidx.c:793,17'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:804,13'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:811,17'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:818,17'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:827,5'
          Dst:             hts_log
    - functionName:    faidx_fetch_seq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1025
      functionLinenumberEnd: 1029
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - faidx_fetch_seq64
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1027,17'
          Dst:             faidx_fetch_seq64
    - functionName:    faidx_fetch_seq64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1012
      functionLinenumberEnd: 1022
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - fai_retrieve
        - faidx_adjust_position
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1016,9'
          Dst:             faidx_adjust_position
        - Src:             'faidx.c:1021,12'
          Dst:             fai_retrieve
    - functionName:    fai_adjust_region
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 993
      functionLinenumberEnd: 1009
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          128
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - faidx_adjust_position
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:1001,9'
          Dst:             faidx_adjust_position
        - Src:             'faidx.c:1002,9'
          Dst:             hts_log
    - functionName:    faidx_seq_len
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 948
      functionLinenumberEnd: 950
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - faidx_seq_len64
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:949,21'
          Dst:             faidx_seq_len64
    - functionName:    faidx_seq_len64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 941
      functionLinenumberEnd: 945
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          53
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - kh_get_s
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:942,17'
          Dst:             kh_get_s
    - functionName:    faidx_iseq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 936
      functionLinenumberEnd: 937
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    faidx_nseq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 931
      functionLinenumberEnd: 932
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    faidx_fetch_nseq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 926
      functionLinenumberEnd: 927
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fai_fetchqual
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 918
      functionLinenumberEnd: 922
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - fai_fetchqual64
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:920,17'
          Dst:             fai_fetchqual64
    - functionName:    fai_fetchqual64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 906
      functionLinenumberEnd: 916
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - fai_get_val
        - fai_retrieve
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:910,9'
          Dst:             fai_get_val
        - Src:             'faidx.c:915,12'
          Dst:             fai_retrieve
    - functionName:    fai_get_val
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 835
      functionLinenumberEnd: 863
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          135
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - abort
        - fai_parse_region
        - faidx_iseq
        - hts_log
        - kh_get_s
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:841,10'
          Dst:             fai_parse_region
        - Src:             'faidx.c:842,9'
          Dst:             hts_log
        - Src:             'faidx.c:848,12'
          Dst:             faidx_iseq
        - Src:             'faidx.c:848,12'
          Dst:             kh_get_s
        - Src:             'faidx.c:851,9'
          Dst:             abort
    - functionName:    fai_fetch
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 899
      functionLinenumberEnd: 903
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - fai_fetch64
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:901,17'
          Dst:             fai_fetch64
    - functionName:    fai_fetch64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 886
      functionLinenumberEnd: 896
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - fai_get_val
        - fai_retrieve
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:890,9'
          Dst:             fai_get_val
        - Src:             'faidx.c:895,12'
          Dst:             fai_retrieve
    - functionName:    fai_line_length
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 872
      functionLinenumberEnd: 883
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fai_get_val
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:877,9'
          Dst:             fai_get_val
    - functionName:    fai_load_format
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 745
      functionLinenumberEnd: 746
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fai_load3_format
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:746,12'
          Dst:             fai_load3_format
    - functionName:    fai_load3_format
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 740
      functionLinenumberEnd: 741
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fai_load3_core
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:741,12'
          Dst:             fai_load3_core
    - functionName:    fai_load3_core
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 603
      functionLinenumberEnd: 724
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          418
      EdgeCount:       99
      CyclomaticComplexity: 29
      functionsReached:
        - __errno_location
        - bgzf_close
        - bgzf_compression
        - bgzf_index_load
        - bgzf_open
        - fai_build3_core
        - fai_destroy
        - fai_read
        - hclose
        - hclose_abruptly
        - hopen
        - hts_log
        - ksprintf
        - strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:621,13'
          Dst:             ksprintf
        - Src:             'faidx.c:625,13'
          Dst:             ksprintf
        - Src:             'faidx.c:629,10'
          Dst:             hopen
        - Src:             'faidx.c:634,22'
          Dst:             bgzf_open
        - Src:             'faidx.c:637,13'
          Dst:             hts_log
        - Src:             'faidx.c:641,13'
          Dst:             bgzf_compression
        - Src:             'faidx.c:642,23'
          Dst:             hopen
        - Src:             'faidx.c:644,46'
          Dst:             __errno_location
        - Src:             'faidx.c:645,21'
          Dst:             __errno_location
        - Src:             'faidx.c:645,21'
          Dst:             strerror
        - Src:             'faidx.c:645,21'
          Dst:             hts_log
        - Src:             'faidx.c:646,21'
          Dst:             bgzf_close
        - Src:             'faidx.c:651,23'
          Dst:             hclose
        - Src:             'faidx.c:654,21'
          Dst:             __errno_location
        - Src:             'faidx.c:654,21'
          Dst:             strerror
        - Src:             'faidx.c:654,21'
          Dst:             hts_log
        - Src:             'faidx.c:658,23'
          Dst:             hclose
        - Src:             'faidx.c:661,21'
          Dst:             __errno_location
        - Src:             'faidx.c:661,21'
          Dst:             strerror
        - Src:             'faidx.c:661,21'
          Dst:             hts_log
        - Src:             'faidx.c:667,9'
          Dst:             bgzf_close
        - Src:             'faidx.c:671,38'
          Dst:             __errno_location
        - Src:             'faidx.c:672,13'
          Dst:             __errno_location
        - Src:             'faidx.c:672,13'
          Dst:             strerror
        - Src:             'faidx.c:672,13'
          Dst:             hts_log
        - Src:             'faidx.c:676,9'
          Dst:             hts_log
        - Src:             'faidx.c:678,13'
          Dst:             fai_build3_core
        - Src:             'faidx.c:682,14'
          Dst:             hopen
        - Src:             'faidx.c:684,13'
          Dst:             __errno_location
        - Src:             'faidx.c:684,13'
          Dst:             strerror
        - Src:             'faidx.c:684,13'
          Dst:             hts_log
        - Src:             'faidx.c:689,11'
          Dst:             fai_read
        - Src:             'faidx.c:691,9'
          Dst:             hts_log
        - Src:             'faidx.c:695,11'
          Dst:             hclose
        - Src:             'faidx.c:698,9'
          Dst:             __errno_location
        - Src:             'faidx.c:698,9'
          Dst:             strerror
        - Src:             'faidx.c:698,9'
          Dst:             hts_log
        - Src:             'faidx.c:702,17'
          Dst:             bgzf_open
        - Src:             'faidx.c:704,9'
          Dst:             hts_log
        - Src:             'faidx.c:709,14'
          Dst:             bgzf_index_load
        - Src:             'faidx.c:710,13'
          Dst:             hts_log
        - Src:             'faidx.c:719,14'
          Dst:             fai_destroy
        - Src:             'faidx.c:720,13'
          Dst:             hclose_abruptly
    - functionName:    fai_load
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 734
      functionLinenumberEnd: 735
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fai_load3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:735,12'
          Dst:             fai_load3
    - functionName:    fai_load3
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 728
      functionLinenumberEnd: 729
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fai_load3_core
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:729,12'
          Dst:             fai_load3_core
    - functionName:    fai_build
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 596
      functionLinenumberEnd: 597
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fai_build3
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'faidx.c:597,12'
          Dst:             fai_build3
    - functionName:    hts_md5_hex
      functionSourceFile: '/src/htslib/md5.c'
      linkageType:     InternalLinkage
      functionLinenumber: 381
      functionLinenumberEnd: 388
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         5
      ICount:          64
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_md5_destroy
      functionSourceFile: '/src/htslib/md5.c'
      linkageType:     InternalLinkage
      functionLinenumber: 373
      functionLinenumberEnd: 378
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_md5_init
      functionSourceFile: '/src/htslib/md5.c'
      linkageType:     InternalLinkage
      functionLinenumber: 324
      functionLinenumberEnd: 331
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - hts_md5_reset
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'md5.c:329,5'
          Dst:             hts_md5_reset
    - functionName:    hts_md5_reset
      functionSourceFile: '/src/htslib/md5.c'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 235
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          24
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_md5_final
      functionSourceFile: '/src/htslib/md5.c'
      linkageType:     InternalLinkage
      functionLinenumber: 272
      functionLinenumberEnd: 320
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          271
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - body
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'md5.c:283,3'
          Dst:             body
        - Src:             'md5.c:300,2'
          Dst:             body
    - functionName:    body
      functionSourceFile: '/src/htslib/md5.c'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 223
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          1711
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_md5_update
      functionSourceFile: '/src/htslib/md5.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 269
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          142
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - body
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'md5.c:260,3'
          Dst:             body
        - Src:             'md5.c:264,10'
          Dst:             body
    - functionName:    le_to_u32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    le_to_i32
      functionSourceFile: '/src/htslib/./htslib/hts_endian.h'
      linkageType:     InternalLinkage
      functionLinenumber: 251
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - le_to_u32
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_endian.h:252,18'
          Dst:             le_to_u32
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ed_swap_4
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1600
      functionLinenumberEnd: 1602
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ed_is_big
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1586
      functionLinenumberEnd: 1588
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_malloc_ps
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:146,18'
          Dst:             hts_add_sat2
        - Src:             './htslib/hts_alloc.h:147,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:148,12'
          Dst:             hts_malloc
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/./htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    tbx_itr_regions
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 719
      functionLinenumberEnd: 721
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bgzf_pseek
        - bgzf_ptell
        - hts_itr_multi_bam
        - hts_itr_regions
        - tbx_multi_readrec
        - tbx_name2id_wrapper
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:720,12'
          Dst:             hts_itr_regions
        - Src:             'tbx.c:720,12'
          Dst:             tbx_name2id_wrapper
        - Src:             'tbx.c:720,12'
          Dst:             hts_itr_multi_bam
        - Src:             'tbx.c:720,12'
          Dst:             tbx_multi_readrec
        - Src:             'tbx.c:720,12'
          Dst:             bgzf_pseek
        - Src:             'tbx.c:720,12'
          Dst:             bgzf_ptell
    - functionName:    tbx_name2id_wrapper
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 686
      functionLinenumberEnd: 687
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tbx_name2id
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:687,12'
          Dst:             tbx_name2id
    - functionName:    tbx_multi_readrec
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 411
      functionLinenumberEnd: 413
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          37
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tbx_readrec
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:413,12'
          Dst:             tbx_readrec
    - functionName:    tbx_readrec
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 356
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          116
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - bgzf_getline
        - get_intv
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:363,15'
          Dst:             bgzf_getline
        - Src:             'tbx.c:369,13'
          Dst:             get_intv
    - functionName:    get_intv
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 318
      functionLinenumberEnd: 347
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          171
      EdgeCount:       27
      CyclomaticComplexity: 6
      functionsReached:
        - get_tid
        - hts_is_utf16_text
        - hts_log
        - tbx_parse1
      functionUses:    2
      BranchProfiles:
        - Branch String:   'tbx.c:332,9'
          Branch Sides:    []
      Callsites:
        - Src:             'tbx.c:319,9'
          Dst:             tbx_parse1
        - Src:             'tbx.c:325,25'
          Dst:             get_tid
        - Src:             'tbx.c:340,13'
          Dst:             hts_is_utf16_text
        - Src:             'tbx.c:341,13'
          Dst:             hts_log
        - Src:             'tbx.c:343,13'
          Dst:             hts_log
    - functionName:    tbx_parse1
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 99
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         244
      ICount:          1389
      EdgeCount:       326
      CyclomaticComplexity: 84
      functionsReached:
        - atoll
        - hts_log
        - strchr
        - strcmp
        - strstr
        - strtol
        - strtoll
        - svlen_on_ref_for_vcf_alt
        - toupper_c
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:118,34'
          Dst:             strtoll
        - Src:             'tbx.c:133,33'
          Dst:             strtoll
        - Src:             'tbx.c:146,25'
          Dst:             hts_log
        - Src:             'tbx.c:156,37'
          Dst:             strtoll
        - Src:             'tbx.c:164,38'
          Dst:             strtol
        - Src:             'tbx.c:165,39'
          Dst:             toupper_c
        - Src:             'tbx.c:183,33'
          Dst:             strchr
        - Src:             'tbx.c:192,33'
          Dst:             svlen_on_ref_for_vcf_alt
        - Src:             'tbx.c:196,41'
          Dst:             strcmp
        - Src:             'tbx.c:197,41'
          Dst:             strcmp
        - Src:             'tbx.c:209,29'
          Dst:             strstr
        - Src:             'tbx.c:212,33'
          Dst:             strstr
        - Src:             'tbx.c:216,45'
          Dst:             strtoll
        - Src:             'tbx.c:221,37'
          Dst:             hts_log
        - Src:             'tbx.c:233,29'
          Dst:             strstr
        - Src:             'tbx.c:236,33'
          Dst:             strstr
        - Src:             'tbx.c:240,33'
          Dst:             strchr
        - Src:             'tbx.c:243,39'
          Dst:             atoll
        - Src:             'tbx.c:259,39'
          Dst:             strchr
        - Src:             'tbx.c:260,38'
          Dst:             strcmp
        - Src:             'tbx.c:266,38'
          Dst:             strcmp
        - Src:             'tbx.c:286,39'
          Dst:             atoll
        - Src:             'tbx.c:289,38'
          Dst:             strchr
    - functionName:    get_tid
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 91
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          170
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - kh_del_s2i
        - kh_get_s2i
        - kh_init_s2i
        - kh_put_s2i
        - strdup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:71,37'
          Dst:             kh_init_s2i
        - Src:             'tbx.c:76,13'
          Dst:             kh_put_s2i
        - Src:             'tbx.c:80,28'
          Dst:             strdup
        - Src:             'tbx.c:85,17'
          Dst:             kh_del_s2i
        - Src:             'tbx.c:89,16'
          Dst:             kh_get_s2i
    - functionName:    toupper_c
      functionSourceFile: '/src/htslib/./textutils_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 180
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - toupper
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './textutils_internal.h:180,47'
          Dst:             toupper
    - functionName:    svlen_on_ref_for_vcf_alt
      functionSourceFile: '/src/htslib/./hts_internal.h'
      linkageType:     InternalLinkage
      functionLinenumber: 182
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          136
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - memcmp
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             './hts_internal.h:186,38'
          Dst:             strlen
        - Src:             './hts_internal.h:191,9'
          Dst:             memcmp
        - Src:             './hts_internal.h:192,12'
          Dst:             memcmp
        - Src:             './hts_internal.h:193,12'
          Dst:             memcmp
        - Src:             './hts_internal.h:194,12'
          Dst:             memcmp
    - functionName:    atoll
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tbx_name2id
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 94
      functionLinenumberEnd: 95
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_tid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:95,12'
          Dst:             get_tid
    - functionName:    tbx_itr_regarray
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 697
      functionLinenumberEnd: 715
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          63
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - bgzf_pseek
        - bgzf_ptell
        - hts_itr_multi_bam
        - hts_itr_regions
        - hts_reglist_create
        - hts_reglist_free
        - tbx_multi_readrec
        - tbx_name2id_wrapper
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:702,14'
          Dst:             hts_reglist_create
        - Src:             'tbx.c:702,14'
          Dst:             tbx_name2id_wrapper
        - Src:             'tbx.c:707,11'
          Dst:             hts_itr_regions
        - Src:             'tbx.c:707,11'
          Dst:             tbx_name2id_wrapper
        - Src:             'tbx.c:707,11'
          Dst:             hts_itr_multi_bam
        - Src:             'tbx.c:707,11'
          Dst:             tbx_multi_readrec
        - Src:             'tbx.c:707,11'
          Dst:             bgzf_pseek
        - Src:             'tbx.c:707,11'
          Dst:             bgzf_ptell
        - Src:             'tbx.c:711,9'
          Dst:             hts_reglist_free
    - functionName:    tbx_itr_querys1
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 691
      functionLinenumberEnd: 692
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_itr_query
        - hts_itr_querys
        - tbx_name2id_wrapper
        - tbx_readrec
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:692,12'
          Dst:             hts_itr_querys
        - Src:             'tbx.c:692,12'
          Dst:             tbx_name2id_wrapper
        - Src:             'tbx.c:692,12'
          Dst:             hts_itr_query
        - Src:             'tbx.c:692,12'
          Dst:             tbx_readrec
    - functionName:    tbx_seqnames
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 656
      functionLinenumberEnd: 682
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          161
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - __assert_fail
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:661,16'
          Dst:             calloc
        - Src:             'tbx.c:664,41'
          Dst:             calloc
        - Src:             'tbx.c:674,9'
          Dst:             __assert_fail
        - Src:             'tbx.c:679,9'
          Dst:             __assert_fail
    - functionName:    tbx_index_load
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 651
      functionLinenumberEnd: 652
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - index_load
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:652,12'
          Dst:             index_load
    - functionName:    index_load
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 594
      functionLinenumberEnd: 638
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          197
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - calloc
        - get_tid
        - hts_idx_get_meta
        - hts_idx_load3
        - hts_log
        - le_to_i32
        - le_to_u32
        - strerror
        - strlen
        - tbx_destroy
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:599,19'
          Dst:             calloc
        - Src:             'tbx.c:602,16'
          Dst:             hts_idx_load3
        - Src:             'tbx.c:608,12'
          Dst:             hts_idx_get_meta
        - Src:             'tbx.c:611,24'
          Dst:             le_to_i32
        - Src:             'tbx.c:612,20'
          Dst:             le_to_i32
        - Src:             'tbx.c:613,20'
          Dst:             le_to_i32
        - Src:             'tbx.c:614,20'
          Dst:             le_to_i32
        - Src:             'tbx.c:615,27'
          Dst:             le_to_i32
        - Src:             'tbx.c:616,27'
          Dst:             le_to_i32
        - Src:             'tbx.c:617,12'
          Dst:             le_to_u32
        - Src:             'tbx.c:625,13'
          Dst:             get_tid
        - Src:             'tbx.c:626,13'
          Dst:             __errno_location
        - Src:             'tbx.c:626,13'
          Dst:             strerror
        - Src:             'tbx.c:626,13'
          Dst:             hts_log
        - Src:             'tbx.c:624,32'
          Dst:             strlen
        - Src:             'tbx.c:633,5'
          Dst:             hts_log
        - Src:             'tbx.c:636,5'
          Dst:             tbx_destroy
    - functionName:    tbx_destroy
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 554
      functionLinenumberEnd: 565
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          87
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - hts_idx_destroy
        - kh_destroy_s2i
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:562,5'
          Dst:             hts_idx_destroy
        - Src:             'tbx.c:563,5'
          Dst:             kh_destroy_s2i
    - functionName:    tbx_index_load2
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 647
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - index_load
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:647,12'
          Dst:             index_load
    - functionName:    tbx_index_load3
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 641
      functionLinenumberEnd: 642
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - index_load
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:642,12'
          Dst:             index_load
    - functionName:    tbx_index_build
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 589
      functionLinenumberEnd: 590
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tbx_index_build3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:590,12'
          Dst:             tbx_index_build3
    - functionName:    tbx_index_build3
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 568
      functionLinenumberEnd: 581
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          98
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - bgzf_close
        - bgzf_compression
        - bgzf_mt
        - bgzf_open
        - hts_idx_save_as
        - tbx_destroy
        - tbx_index
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:572,15'
          Dst:             bgzf_open
        - Src:             'tbx.c:573,22'
          Dst:             bgzf_mt
        - Src:             'tbx.c:574,10'
          Dst:             bgzf_compression
        - Src:             'tbx.c:574,43'
          Dst:             bgzf_close
        - Src:             'tbx.c:575,11'
          Dst:             tbx_index
        - Src:             'tbx.c:576,5'
          Dst:             bgzf_close
        - Src:             'tbx.c:578,11'
          Dst:             hts_idx_save_as
        - Src:             'tbx.c:579,5'
          Dst:             tbx_destroy
    - functionName:    tbx_index
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 479
      functionLinenumberEnd: 551
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          406
      EdgeCount:       85
      CyclomaticComplexity: 23
      functionsReached:
        - adjust_max_ref_len_sam
        - adjust_max_ref_len_vcf
        - bgzf_getline
        - calloc
        - get_intv
        - hts_adjust_csi_settings
        - hts_idx_finish
        - hts_idx_init
        - hts_idx_push
        - kh_init_s2i
        - tbx_destroy
        - tbx_set_meta
      functionUses:    2
      BranchProfiles:
        - Branch String:   'tbx.c:497,13'
          Branch Sides:    []
      Callsites:
        - Src:             'tbx.c:489,19'
          Dst:             calloc
        - Src:             'tbx.c:494,19'
          Dst:             bgzf_getline
        - Src:             'tbx.c:499,21'
          Dst:             adjust_max_ref_len_sam
        - Src:             'tbx.c:501,21'
          Dst:             adjust_max_ref_len_vcf
        - Src:             'tbx.c:513,21'
          Dst:             hts_adjust_csi_settings
        - Src:             'tbx.c:526,24'
          Dst:             hts_idx_init
        - Src:             'tbx.c:530,15'
          Dst:             get_intv
        - Src:             'tbx.c:532,13'
          Dst:             hts_idx_push
        - Src:             'tbx.c:538,33'
          Dst:             hts_idx_init
        - Src:             'tbx.c:540,35'
          Dst:             kh_init_s2i
        - Src:             'tbx.c:542,9'
          Dst:             hts_idx_finish
        - Src:             'tbx.c:543,9'
          Dst:             tbx_set_meta
        - Src:             'tbx.c:549,5'
          Dst:             tbx_destroy
    - functionName:    adjust_max_ref_len_sam
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 467
      functionLinenumberEnd: 476
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          60
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - strncmp
        - strstr
        - strtoll
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:470,9'
          Dst:             strncmp
        - Src:             'tbx.c:471,11'
          Dst:             strstr
        - Src:             'tbx.c:474,11'
          Dst:             strtoll
    - functionName:    adjust_max_ref_len_vcf
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 454
      functionLinenumberEnd: 463
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          90
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - strncmp
        - strstr
        - strtoll
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:457,9'
          Dst:             strncmp
        - Src:             'tbx.c:458,11'
          Dst:             strstr
        - Src:             'tbx.c:461,11'
          Dst:             strtoll
    - functionName:    tbx_set_meta
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 417
      functionLinenumberEnd: 448
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         25
      ICount:          228
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - ed_is_big
        - ed_swap_4
        - hts_idx_set_meta
        - hts_malloc_p
        - hts_malloc_ps
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:426,12'
          Dst:             hts_malloc_p
        - Src:             'tbx.c:431,14'
          Dst:             strlen
        - Src:             'tbx.c:434,12'
          Dst:             hts_malloc_ps
        - Src:             'tbx.c:436,9'
          Dst:             ed_is_big
        - Src:             'tbx.c:438,20'
          Dst:             ed_swap_4
        - Src:             'tbx.c:441,17'
          Dst:             strlen
        - Src:             'tbx.c:446,5'
          Dst:             hts_idx_set_meta
    - functionName:    tbx_index_build2
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 584
      functionLinenumberEnd: 585
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - tbx_index_build3
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:585,12'
          Dst:             tbx_index_build3
    - functionName:    tbx_itr_next1
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 407
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          70
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - hts_itr_multi_next
        - hts_itr_next
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:396,9'
          Dst:             hts_log
        - Src:             'tbx.c:397,9'
          Dst:             __errno_location
        - Src:             'tbx.c:403,16'
          Dst:             hts_itr_multi_next
        - Src:             'tbx.c:405,16'
          Dst:             hts_itr_next
    - functionName:    block_resize_exact
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 223
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:217,26'
          Dst:             realloc
    - functionName:    block_resize
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 239
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_resize_exact
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:233,12'
          Dst:             block_resize_exact
    - functionName:    hts_malloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    hts_realloc
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:268,9'
          Dst:             __errno_location
        - Src:             'cram/../htslib/hts_alloc.h:271,12'
          Dst:             realloc
    - functionName:    hts_prod_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_add_sat2
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hts_realloc_ps
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_prod_sat2
        - hts_realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:320,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:321,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:322,12'
          Dst:             hts_realloc
    - functionName:    cram_codec_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2478
      functionLinenumberEnd: 2483
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ksprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2482,16'
          Dst:             ksprintf
    - functionName:    cram_codec_decoder2encoder
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2367
      functionLinenumberEnd: 2476
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         68
      ICount:          445
      EdgeCount:       87
      CyclomaticComplexity: 21
      functionsReached:
        - cram_codec_decoder2encoder
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:2370,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:2451,13'
          Dst:             cram_codec_decoder2encoder
        - Src:             'cram/cram_codecs.c:2452,13'
          Dst:             cram_codec_decoder2encoder
    - functionName:    cram_external_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 537
      functionLinenumberEnd: 541
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_external_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 544
      functionLinenumberEnd: 565
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          168
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - block_append
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:549,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:550,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:557,5'
          Dst:             block_append
    - functionName:    cram_external_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 349
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          99
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:354,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 505
      functionLinenumberEnd: 507
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          39
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_external_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 369
      functionLinenumberEnd: 386
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          98
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:374,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 517
      functionLinenumberEnd: 519
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          39
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_external_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 390
      functionLinenumberEnd: 406
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          78
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - cram_extract_block
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:395,9'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_codecs.c:399,10'
          Dst:             cram_extract_block
    - functionName:    cram_external_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 529
      functionLinenumberEnd: 535
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          42
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:530,5'
          Dst:             block_append
    - functionName:    cram_external_decode_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 410
      functionLinenumberEnd: 429
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          83
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - block_append
        - cram_extract_block
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:416,9'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_codecs.c:420,10'
          Dst:             cram_extract_block
        - Src:             'cram/cram_codecs.c:424,5'
          Dst:             block_append
    - functionName:    cram_huffman_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1504
      functionLinenumberEnd: 1511
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          42
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1518
      functionLinenumberEnd: 1571
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          375
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached:
        - block_append
        - hts_malloc_pse
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1530,17'
          Dst:             hts_malloc_pse
        - Src:             'cram/cram_codecs.c:1537,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:1538,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1561,5'
          Dst:             block_append
    - functionName:    cram_huffman_decode_char0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1057
      functionLinenumberEnd: 1068
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          62
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_encode_char0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1395
      functionLinenumberEnd: 1396
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1071
      functionLinenumberEnd: 1103
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          229
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - cram_not_enough_bits
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1081,17'
          Dst:             cram_not_enough_bits
    - functionName:    cram_huffman_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1400
      functionLinenumberEnd: 1428
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          206
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - __assert_fail
        - store_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1408,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:1424,14'
          Dst:             store_bits_MSB
    - functionName:    cram_huffman_decode_int0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1106
      functionLinenumberEnd: 1115
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          56
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_encode_int0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1431
      functionLinenumberEnd: 1432
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1119
      functionLinenumberEnd: 1153
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          221
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - cram_not_enough_bits
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1131,17'
          Dst:             cram_not_enough_bits
    - functionName:    cram_huffman_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1436
      functionLinenumberEnd: 1465
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          205
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - __assert_fail
        - store_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1445,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:1461,14'
          Dst:             store_bits_MSB
    - functionName:    cram_huffman_decode_long0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1156
      functionLinenumberEnd: 1165
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          55
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_encode_long0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1468
      functionLinenumberEnd: 1469
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1169
      functionLinenumberEnd: 1203
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          220
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - cram_not_enough_bits
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1181,17'
          Dst:             cram_not_enough_bits
    - functionName:    cram_huffman_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1473
      functionLinenumberEnd: 1502
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          206
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - __assert_fail
        - store_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1482,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:1498,14'
          Dst:             store_bits_MSB
    - functionName:    cram_beta_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 773
      functionLinenumberEnd: 775
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_beta_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 714
      functionLinenumberEnd: 735
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          180
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - block_append
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:718,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:719,9'
          Dst:             block_append
    - functionName:    cram_beta_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 620
      functionLinenumberEnd: 636
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          124
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - cram_not_enough_bits
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:625,13'
          Dst:             cram_not_enough_bits
        - Src:             'cram/cram_codecs.c:629,24'
          Dst:             get_bits_MSB
    - functionName:    cram_beta_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 750
      functionLinenumberEnd: 758
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          66
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - store_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:755,14'
          Dst:             store_bits_MSB
    - functionName:    cram_beta_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 602
      functionLinenumberEnd: 618
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          124
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - cram_not_enough_bits
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:607,13'
          Dst:             cram_not_enough_bits
        - Src:             'cram/cram_codecs.c:611,24'
          Dst:             get_bits_MSB
    - functionName:    cram_beta_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 738
      functionLinenumberEnd: 746
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          66
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - store_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:743,14'
          Dst:             store_bits_MSB
    - functionName:    cram_beta_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 638
      functionLinenumberEnd: 659
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          159
      EdgeCount:       34
      CyclomaticComplexity: 9
      functionsReached:
        - cram_not_enough_bits
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:643,13'
          Dst:             cram_not_enough_bits
        - Src:             'cram/cram_codecs.c:648,26'
          Dst:             get_bits_MSB
        - Src:             'cram/cram_codecs.c:651,17'
          Dst:             get_bits_MSB
    - functionName:    cram_beta_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 762
      functionLinenumberEnd: 770
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          67
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - store_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:767,14'
          Dst:             store_bits_MSB
    - functionName:    cram_byte_array_len_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1890
      functionLinenumberEnd: 1901
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          77
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_byte_array_len_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1904
      functionLinenumberEnd: 1942
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          249
      EdgeCount:       41
      CyclomaticComplexity: 13
      functionsReached:
        - block_append
        - cram_free_block
        - cram_new_block
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1910,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:1911,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1916,13'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:1922,13'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:1929,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1930,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1932,5'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:1933,5'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:1939,16'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:1940,16'
          Dst:             cram_free_block
    - functionName:    cram_byte_array_len_encode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1877
      functionLinenumberEnd: 1887
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          61
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_byte_array_stop_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2140
      functionLinenumberEnd: 2144
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_byte_array_stop_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2147
      functionLinenumberEnd: 2180
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          246
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - block_append
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2152,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:2153,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2173,5'
          Dst:             block_append
    - functionName:    cram_byte_array_stop_encode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2131
      functionLinenumberEnd: 2138
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          57
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_append
        - block_append_char
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2132,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2133,5'
          Dst:             block_append_char
    - functionName:    block_append
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          60
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - block_grow
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:249,9'
          Dst:             block_grow
    - functionName:    block_append_char
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 261
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - block_grow
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:262,9'
          Dst:             block_grow
    - functionName:    block_grow
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 244
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - block_resize
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:244,12'
          Dst:             block_resize
    - functionName:    store_bits_MSB
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          290
      EdgeCount:       38
      CyclomaticComplexity: 11
      functionsReached:
        - hts_realloc_ps
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:272,27'
          Dst:             hts_realloc_ps
        - Src:             'cram/cram_codecs.c:278,27'
          Dst:             hts_realloc_ps
    - functionName:    cram_not_enough_bits
      functionSourceFile: '/src/htslib/cram/cram_codecs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          82
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_bits_MSB
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 250
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          496
      EdgeCount:       29
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:222,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_malloc_pse
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - size_t
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_add_sat2
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:173,18'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:174,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:175,20'
          Dst:             hts_add_sat2
        - Src:             'cram/../htslib/hts_alloc.h:176,12'
          Dst:             hts_malloc
    - functionName:    cram_get_block_by_id
      functionSourceFile: '/src/htslib/cram/cram_io.h'
      linkageType:     InternalLinkage
      functionLinenumber: 183
      functionLinenumberEnd: 204
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          166
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_extract_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 322
      functionLinenumberEnd: 329
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          46
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_codec_to_id
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2311
      functionLinenumberEnd: 2352
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          122
      EdgeCount:       19
      CyclomaticComplexity: 2
      functionsReached:
        - cram_codec_to_id
        - hts_log
      functionUses:    9
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:2314,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:2333,17'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_codecs.c:2334,17'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_codecs.c:2346,9'
          Dst:             hts_log
    - functionName:    cram_encoding2str
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2208
      functionLinenumberEnd: 2224
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          72
      EdgeCount:       28
      CyclomaticComplexity: 15
      functionsReached: []
      functionUses:    3
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:2209,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_byte_array_stop_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2186
      functionLinenumberEnd: 2202
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          72
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_byte_array_stop_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1985
      functionLinenumberEnd: 2021
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          247
      EdgeCount:       41
      CyclomaticComplexity: 12
      functionsReached:
        - cram_get_block_by_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1989,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_byte_array_stop_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2083
      functionLinenumberEnd: 2128
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          191
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:2095,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:2103,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2125,5'
          Dst:             hts_log
    - functionName:    cram_byte_array_stop_decode_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2025
      functionLinenumberEnd: 2064
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          274
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - block_append
        - block_grow
        - cram_get_block_by_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2031,9'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_codecs.c:2053,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2054,9'
          Dst:             block_grow
    - functionName:    cram_byte_array_stop_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2066
      functionLinenumberEnd: 2070
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_byte_array_stop_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2072
      functionLinenumberEnd: 2076
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2073,12'
          Dst:             ksprintf
    - functionName:    cram_encoder_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2286
      functionLinenumberEnd: 2304
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          110
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - abort
        - cram_encoding2str
        - hts_log
      functionUses:    38
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2295,13'
          Dst:             cram_encoding2str
        - Src:             'cram/cram_codecs.c:2295,13'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2301,9'
          Dst:             cram_encoding2str
        - Src:             'cram/cram_codecs.c:2301,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2302,9'
          Dst:             abort
    - functionName:    cram_external_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 571
      functionLinenumberEnd: 596
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          110
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - abort
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:589,9'
          Dst:             abort
    - functionName:    cram_huffman_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1577
      functionLinenumberEnd: 1762
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         130
      ICount:          905
      EdgeCount:       170
      CyclomaticComplexity: 42
      functionsReached:
        - __assert_fail
        - calloc
        - code_sort
        - hts_log
        - hts_malloc_p
        - hts_realloc_p
        - qsort
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1596,25'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:1599,25'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:1605,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:1618,29'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:1621,29'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:1627,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:1634,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:1636,17'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:1639,12'
          Dst:             calloc
        - Src:             'cram/cram_codecs.c:1680,19'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_codecs.c:1686,5'
          Dst:             qsort
        - Src:             'cram/cram_codecs.c:1686,5'
          Dst:             code_sort
        - Src:             'cram/cram_codecs.c:1756,5'
          Dst:             hts_log
    - functionName:    cram_byte_array_len_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1948
      functionLinenumberEnd: 1977
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          111
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - cram_byte_array_len_encode_free
        - cram_encoder_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1961,39'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_codecs.c:1965,39'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_codecs.c:1972,9'
          Dst:             cram_byte_array_len_encode_free
    - functionName:    cram_beta_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 857
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          321
      EdgeCount:       68
      CyclomaticComplexity: 17
      functionsReached: []
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:835,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_realloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_prod_sat2
        - hts_realloc
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    hts_malloc_p
      functionSourceFile: '/src/htslib/cram/../htslib/hts_alloc.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - hts_malloc
        - hts_prod_sat2
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:121,19'
          Dst:             hts_prod_sat2
        - Src:             'cram/../htslib/hts_alloc.h:122,12'
          Dst:             hts_malloc
    - functionName:    code_sort
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1032
      functionLinenumberEnd: 1040
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          67
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_decoder_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2262
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          100
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - cram_encoding2str
        - hts_log
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2259,9'
          Dst:             cram_encoding2str
        - Src:             'cram/cram_codecs.c:2259,9'
          Dst:             hts_log
    - functionName:    cram_external_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 461
      functionLinenumberEnd: 502
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          160
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:499,5'
          Dst:             hts_log
    - functionName:    cram_huffman_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1228
      functionLinenumberEnd: 1392
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         102
      ICount:          688
      EdgeCount:       137
      CyclomaticComplexity: 37
      functionsReached:
        - __errno_location
        - calloc
        - code_sort
        - hts_log
        - qsort
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1239,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1245,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1249,9'
          Dst:             __errno_location
        - Src:             'cram/cram_codecs.c:1253,9'
          Dst:             calloc
        - Src:             'cram/cram_codecs.c:1302,13'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1313,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1319,5'
          Dst:             qsort
        - Src:             'cram/cram_codecs.c:1319,5'
          Dst:             code_sort
        - Src:             'cram/cram_codecs.c:1388,5'
          Dst:             hts_log
    - functionName:    cram_byte_array_len_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1829
      functionLinenumberEnd: 1874
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          229
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - cram_byte_array_len_decode_free
        - cram_decoder_init
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1848,37'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:1858,37'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:1870,5'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1872,5'
          Dst:             cram_byte_array_len_decode_free
    - functionName:    cram_beta_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 676
      functionLinenumberEnd: 711
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          201
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:691,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:705,9'
          Dst:             hts_log
    - functionName:    cram_subexp_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 922
      functionLinenumberEnd: 950
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          143
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:927,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:944,9'
          Dst:             hts_log
    - functionName:    cram_gamma_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 994
      functionLinenumberEnd: 1025
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          111
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:999,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1022,5'
          Dst:             hts_log
    - functionName:    cram_gamma_decode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 956
      functionLinenumberEnd: 978
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          131
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - cram_not_enough_bits
        - get_zero_bits_MSB
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:964,14'
          Dst:             get_zero_bits_MSB
        - Src:             'cram/cram_codecs.c:965,13'
          Dst:             cram_not_enough_bits
    - functionName:    cram_gamma_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 980
      functionLinenumberEnd: 983
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_gamma_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 985
      functionLinenumberEnd: 987
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:986,12'
          Dst:             ksprintf
    - functionName:    get_zero_bits_MSB
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          111
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_subexp_decode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 863
      functionLinenumberEnd: 904
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          253
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - cram_not_enough_bits
        - get_one_bits_MSB
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:873,13'
          Dst:             get_one_bits_MSB
        - Src:             'cram/cram_codecs.c:874,22'
          Dst:             cram_not_enough_bits
    - functionName:    cram_subexp_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 906
      functionLinenumberEnd: 909
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_subexp_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 911
      functionLinenumberEnd: 915
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:912,12'
          Dst:             ksprintf
    - functionName:    get_one_bits_MSB
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 96
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          109
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_beta_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 661
      functionLinenumberEnd: 664
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_beta_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 666
      functionLinenumberEnd: 669
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:667,12'
          Dst:             ksprintf
    - functionName:    cram_byte_array_len_decode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1770
      functionLinenumberEnd: 1795
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          135
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1782,9'
          Dst:             fprintf
    - functionName:    cram_byte_array_len_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1797
      functionLinenumberEnd: 1807
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          77
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_byte_array_len_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1809
      functionLinenumberEnd: 1822
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          118
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1811,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1815,12'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1816,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1819,12'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1820,10'
          Dst:             ksprintf
    - functionName:    cram_huffman_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1042
      functionLinenumberEnd: 1049
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          42
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_decode_null
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1052
      functionLinenumberEnd: 1053
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1205
      functionLinenumberEnd: 1218
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          120
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1207,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1209,14'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1212,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1214,14'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:1217,10'
          Dst:             ksprintf
    - functionName:    cram_external_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 431
      functionLinenumberEnd: 434
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          26
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_external_decode_size
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 437
      functionLinenumberEnd: 446
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_block_by_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:441,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_get_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 448
      functionLinenumberEnd: 449
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_get_block_by_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:449,12'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 452
      functionLinenumberEnd: 454
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:453,12'
          Dst:             ksprintf
    - functionName:    cram_external_encode_slong
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 523
      functionLinenumberEnd: 525
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          39
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_external_encode_sint
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 511
      functionLinenumberEnd: 513
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          39
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
...
